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_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxSVGFileDC swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_short (short value
)
2929 return SWIG_From_long (value
);
2934 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2937 int res
= SWIG_AsVal_long (obj
, &v
);
2938 if (SWIG_IsOK(res
)) {
2939 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2940 return SWIG_OverflowError
;
2942 if (val
) *val
= static_cast< short >(v
);
2949 #include <wx/rawbmp.h>
2952 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2953 // appears to me that the other platforms are already doing it, so I'll just
2954 // automatically do it for wxMSW here.
2956 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2957 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2959 #define wxPy_premultiply(p, a) (p)
2960 #define wxPy_unpremultiply(p, a) (p)
2964 #include <wx/image.h>
2966 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2967 char** cArray
= NULL
;
2970 if (!PyList_Check(listOfStrings
)) {
2971 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2974 count
= PyList_Size(listOfStrings
);
2975 cArray
= new char*[count
];
2977 for(int x
=0; x
<count
; x
++) {
2978 // TODO: Need some validation and error checking here
2979 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2985 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2986 char** cArray
= NULL
;
2989 cArray
= ConvertListOfStrings(listOfStrings
);
2992 bmp
= new wxBitmap(cArray
);
2996 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2999 PyString_AsStringAndSize(bits
, &buf
, &length
);
3000 return new wxBitmap(buf
, width
, height
, depth
);
3002 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3003 wxSize
size(self
->GetWidth(), self
->GetHeight());
3006 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3007 wxMask
*mask
= new wxMask(*self
, colour
);
3008 self
->SetMask(mask
);
3010 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3011 self
->SetWidth(size
.x
);
3012 self
->SetHeight(size
.y
);
3014 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3015 int height
=self
->GetHeight();
3016 int width
=self
->GetWidth();
3018 if (DATASIZE
!= width
* height
* 3) {
3019 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3042 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3043 int height
=self
->GetHeight();
3044 int width
=self
->GetWidth();
3046 if (DATASIZE
!= width
* height
* 4) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3049 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3051 // raise an exception...
3052 wxPyErr_SetString(PyExc_RuntimeError
,
3053 "Failed to gain raw access to bitmap data.");
3058 wxAlphaPixelData::Iterator
p(pixData
);
3059 for (int y
=0; y
<height
; y
++) {
3060 wxAlphaPixelData::Iterator rowStart
= p
;
3061 for (int x
=0; x
<width
; x
++) {
3063 p
.Red() = wxPy_premultiply(*(data
++), a
);
3064 p
.Green() = wxPy_premultiply(*(data
++), a
);
3065 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3066 p
.Alpha() = a
; data
++;
3070 p
.OffsetY(pixData
, 1);
3073 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3074 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3076 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3077 buffer data
, int DATASIZE
,
3078 buffer alpha
, int ALPHASIZE
)
3080 if (DATASIZE
!= width
*height
*3) {
3081 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3085 if (ALPHASIZE
!= width
*height
) {
3086 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3090 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3091 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3093 // raise an exception...
3094 wxPyErr_SetString(PyExc_RuntimeError
,
3095 "Failed to gain raw access to bitmap data.");
3100 wxAlphaPixelData::Iterator
p(pixData
);
3101 for (int y
=0; y
<height
; y
++) {
3102 wxAlphaPixelData::Iterator rowStart
= p
;
3103 for (int x
=0; x
<width
; x
++) {
3104 byte a
= *(alpha
++);
3105 p
.Red() = wxPy_premultiply(*(data
++), a
);
3106 p
.Green() = wxPy_premultiply(*(data
++), a
);
3107 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3112 p
.OffsetY(pixData
, 1);
3117 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3119 if (DATASIZE
!= width
*height
*3) {
3120 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3124 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3125 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3127 // raise an exception...
3128 wxPyErr_SetString(PyExc_RuntimeError
,
3129 "Failed to gain raw access to bitmap data.");
3133 wxNativePixelData::Iterator
p(pixData
);
3134 for (int y
=0; y
<height
; y
++) {
3135 wxNativePixelData::Iterator rowStart
= p
;
3136 for (int x
=0; x
<width
; x
++) {
3137 p
.Red() = *(data
++);
3138 p
.Green() = *(data
++);
3139 p
.Blue() = *(data
++);
3143 p
.OffsetY(pixData
, 1);
3149 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3151 if (DATASIZE
!= width
*height
*4) {
3152 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3156 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3157 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3159 // raise an exception...
3160 wxPyErr_SetString(PyExc_RuntimeError
,
3161 "Failed to gain raw access to bitmap data.");
3166 wxAlphaPixelData::Iterator
p(pixData
);
3167 for (int y
=0; y
<height
; y
++) {
3168 wxAlphaPixelData::Iterator rowStart
= p
;
3169 for (int x
=0; x
<width
; x
++) {
3171 p
.Red() = wxPy_premultiply(*(data
++), a
);
3172 p
.Green() = wxPy_premultiply(*(data
++), a
);
3173 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3174 p
.Alpha() = a
; data
++;
3178 p
.OffsetY(pixData
, 1);
3184 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3186 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3190 self
->Green() = green
;
3191 self
->Blue() = blue
;
3193 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3194 PyObject
* rv
= PyTuple_New(3);
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3201 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3203 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3206 self
->Red() = wxPy_premultiply(red
, alpha
);
3207 self
->Green() = wxPy_premultiply(green
, alpha
);
3208 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3209 self
->Alpha() = alpha
;
3211 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3212 PyObject
* rv
= PyTuple_New(4);
3213 int red
= self
->Red();
3214 int green
= self
->Green();
3215 int blue
= self
->Blue();
3216 int alpha
= self
->Alpha();
3218 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3219 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3220 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3221 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3224 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3225 if ( !colour
.IsOk() )
3226 return new wxMask(bitmap
, *wxBLACK
);
3228 return new wxMask(bitmap
, colour
);
3231 #include <wx/iconbndl.h>
3233 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3234 wxIcon
* icon
= new wxIcon();
3235 icon
->CopyFromBitmap(bmp
);
3238 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3239 char** cArray
= NULL
;
3242 cArray
= ConvertListOfStrings(listOfStrings
);
3245 icon
= new wxIcon(cArray
);
3249 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3253 return new wxIconLocation(*filename
);
3256 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3263 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3271 SWIGINTERNINLINE PyObject
*
3272 SWIG_From_size_t (size_t value
)
3274 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3278 SWIGINTERNINLINE
int
3279 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3282 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3283 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3287 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3289 wxImage
img(cursorName
, type
);
3290 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3291 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3292 return new wxCursor(img
);
3294 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3299 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3302 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3303 return self
->operator bool();
3306 #include <wx/fontutil.h>
3307 #include <wx/fontmap.h>
3308 #include <wx/fontenum.h>
3310 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3311 return self
->ToString();
3314 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3315 static wxNativeEncodingInfo info
;
3316 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3322 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3323 wxFontEncoding alt_enc
;
3324 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3325 return PyInt_FromLong(alt_enc
);
3331 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3332 wxNativeFontInfo nfi
;
3333 nfi
.FromString(info
);
3334 return new wxFont(nfi
);
3336 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3337 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3339 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3340 return wxFontBase::New(pixelSize
, family
,
3341 style
, weight
, underlined
,
3344 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3345 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3347 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3348 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3350 class wxPyFontEnumerator
: public wxFontEnumerator
{
3352 wxPyFontEnumerator() {}
3353 ~wxPyFontEnumerator() {}
3355 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3356 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3361 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3362 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3365 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3367 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3368 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3369 ret
= wxArrayString2PyList_helper(arr
);
3370 wxPyEndBlockThreads(blocked
);
3373 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3375 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3377 ret
= wxArrayString2PyList_helper(arr
);
3378 wxPyEndBlockThreads(blocked
);
3384 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3387 loc
= new wxLocale();
3389 loc
= new wxLocale(language
, flags
);
3390 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3391 // for the floating point conversions and such to work right.
3392 #if PY_VERSION_HEX < 0x02040000
3393 setlocale(LC_NUMERIC
, "C");
3397 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3398 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3399 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3400 // for the floating point conversions and such to work right.
3401 #if PY_VERSION_HEX < 0x02040000
3402 setlocale(LC_NUMERIC
, "C");
3406 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3407 bool rc
= self
->Init(language
, flags
);
3408 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3409 // for the floating point conversions and such to work right.
3410 #if PY_VERSION_HEX < 0x02040000
3411 setlocale(LC_NUMERIC
, "C");
3416 class wxPyLocale
: public wxLocale
3421 wxPyLocale(const wxString
& name
, // name (for messages)
3422 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3423 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3424 bool bLoadDefault
= true, // preload wxstd.mo?
3425 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3427 wxPyLocale(int language
, // wxLanguage id or custom language
3428 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3432 virtual const wxString
& GetString(const wxString
& origString
,
3433 const wxString
& domain
= wxPyEmptyString
) const;
3434 virtual const wxString
& GetString(const wxString
& origString
,
3435 const wxString
& origString2
,
3437 const wxString
& domain
= wxPyEmptyString
) const;
3439 virtual const wxString
& GetSingularString(const wxString
& origString
,
3440 const wxString
& domain
= wxPyEmptyString
) const;
3441 virtual const wxString
& GetPluralString(const wxString
& origString
,
3442 const wxString
& origString2
,
3444 const wxString
& domain
= wxPyEmptyString
) const;
3449 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3452 wxPyLocale::wxPyLocale() : wxLocale()
3456 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3457 const wxString
& shortName
, // dir prefix (for msg files)
3458 const wxString
& locale
, // locale (for setlocale)
3459 bool bLoadDefault
, // preload wxstd.mo?
3460 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3461 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3465 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3466 int flags
) : wxLocale(language
, flags
)
3470 wxPyLocale::~wxPyLocale()
3474 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3475 const wxString
& domain
) const
3477 return GetSingularString(origString
, domain
);
3480 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3481 const wxString
& origString2
,
3483 const wxString
& domain
) const
3485 return GetPluralString(origString
, origString2
, n
, domain
);
3488 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3489 const wxString
& domain
) const
3492 wxString
str( _T("error in translation"));
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3495 PyObject
* param1
= wx2PyString(origString
);
3496 PyObject
* param2
= wx2PyString(domain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? str
: wxLocale::GetString(origString
, domain
));
3509 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3510 const wxString
& origString2
, size_t n
,
3511 const wxString
& domain
) const
3514 wxString
str( _T("error in translation"));
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3517 PyObject
* param1
= wx2PyString(origString
);
3518 PyObject
* param2
= wx2PyString(origString2
);
3519 PyObject
* param4
= wx2PyString(domain
);
3520 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3521 Py_BuildValue("(OOiO)",
3528 str
= Py2wxString(ret
);
3532 wxPyEndBlockThreads(blocked
);
3533 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3536 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3539 loc
= new wxPyLocale();
3541 loc
= new wxPyLocale(language
, flags
);
3542 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3543 // for the floating point conversions and such to work right.
3544 #if PY_VERSION_HEX < 0x02040000
3545 setlocale(LC_NUMERIC
, "C");
3550 #include "wx/wxPython/pydrawxxx.h"
3552 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3554 self
->GetPixel(x
, y
, &col
);
3557 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3559 self
->GetPixel(pt
, &col
);
3564 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3566 if (PyNumber_Check(obj
)) {
3567 if (val
) *val
= PyFloat_AsDouble(obj
);
3570 return SWIG_TypeError
;
3573 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3575 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3578 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3580 self
->GetClippingBox(rect
);
3583 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3585 self
->GetPartialTextExtents(text
, widths
);
3589 #define SWIG_From_double PyFloat_FromDouble
3591 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3592 self
->SetLogicalOrigin(point
.x
, point
.y
);
3594 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3595 self
->SetDeviceOrigin(point
.x
, point
.y
);
3597 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3598 self
->CalcBoundingBox(point
.x
, point
.y
);
3600 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3601 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3603 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3604 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3606 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3607 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3609 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3610 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3612 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3613 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3615 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3616 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3619 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3627 #include <wx/dcbuffer.h>
3630 #include <wx/dcps.h>
3633 #include <wx/metafile.h>
3636 #include <wx/dcsvg.h>
3639 #include <wx/graphics.h>
3642 #if !wxUSE_GRAPHICS_CONTEXT
3643 // C++ stub classes for platforms or build configurations that don't have
3644 // wxGraphicsContext yet.
3646 class wxGraphicsRenderer
;
3647 class wxGraphicsMatrix
;
3650 class wxGraphicsObject
: public wxObject
3653 wxGraphicsObject() {}
3654 wxGraphicsObject( wxGraphicsRenderer
* ) {
3655 PyErr_SetString(PyExc_NotImplementedError
,
3656 "wx.GraphicsObject is not available on this platform.");
3658 wxGraphicsObject( const wxGraphicsObject
& ) {}
3659 virtual ~wxGraphicsObject() {}
3660 bool IsNull() const { return false; }
3661 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3666 class wxGraphicsPen
: public wxGraphicsObject
3670 virtual ~wxGraphicsPen() {}
3672 wxGraphicsPen wxNullGraphicsPen
;
3676 class wxGraphicsBrush
: public wxGraphicsObject
3679 wxGraphicsBrush() {}
3680 virtual ~wxGraphicsBrush() {}
3682 wxGraphicsBrush wxNullGraphicsBrush
;
3686 class wxGraphicsFont
: public wxGraphicsObject
3690 virtual ~wxGraphicsFont() {}
3692 wxGraphicsFont wxNullGraphicsFont
;
3696 class wxGraphicsPath
: public wxGraphicsObject
3699 wxGraphicsPath() { }
3700 wxGraphicsPath(wxGraphicsRenderer
* ) {
3701 PyErr_SetString(PyExc_NotImplementedError
,
3702 "wx.GraphicsPath is not available on this platform.");
3704 virtual ~wxGraphicsPath() {}
3706 void MoveToPoint( wxDouble
, wxDouble
) {}
3707 void MoveToPoint( const wxPoint2DDouble
& ) {}
3708 void AddLineToPoint( wxDouble
, wxDouble
) {}
3709 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3710 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3712 void AddPath( const wxGraphicsPath
& ) {}
3713 void CloseSubpath() {}
3714 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3715 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3716 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3717 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3719 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3721 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3722 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3724 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3725 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3726 void * GetNativePath() const { return NULL
; }
3727 void UnGetNativePath(void *) const {}
3728 void Transform( const wxGraphicsMatrix
& ) {}
3729 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3730 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3732 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3733 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3735 wxGraphicsPath wxNullGraphicsPath
;
3738 class wxGraphicsMatrix
: public wxGraphicsObject
3741 wxGraphicsMatrix() { }
3742 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3743 PyErr_SetString(PyExc_NotImplementedError
,
3744 "wx.GraphicsMatrix is not available on this platform.");
3746 virtual ~wxGraphicsMatrix() {}
3747 virtual void Concat( const wxGraphicsMatrix
& ) {}
3748 virtual void Copy( const wxGraphicsMatrix
& ) {}
3749 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3750 wxDouble
, wxDouble
) {}
3751 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3752 wxDouble
*, wxDouble
*, wxDouble
*) {}
3753 virtual void Invert() {}
3754 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3755 virtual bool IsIdentity() const { return false; }
3756 virtual void Translate( wxDouble
, wxDouble
) {}
3757 virtual void Scale( wxDouble
, wxDouble
) {}
3758 virtual void Rotate( wxDouble
) {}
3759 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3760 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3761 virtual void * GetNativeMatrix() const { return NULL
; }
3763 wxGraphicsMatrix wxNullGraphicsMatrix
;
3766 class wxGraphicsContext
: public wxGraphicsObject
3770 wxGraphicsContext(wxGraphicsRenderer
* ) {
3771 PyErr_SetString(PyExc_NotImplementedError
,
3772 "wx.GraphicsContext is not available on this platform.");
3775 virtual ~wxGraphicsContext() {}
3777 static wxGraphicsContext
* Create() {
3778 PyErr_SetString(PyExc_NotImplementedError
,
3779 "wx.GraphicsContext is not available on this platform.");
3782 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3783 PyErr_SetString(PyExc_NotImplementedError
,
3784 "wx.GraphicsContext is not available on this platform.");
3788 static wxGraphicsContext
* CreateFromNative( void * ) {
3789 PyErr_SetString(PyExc_NotImplementedError
,
3790 "wx.GraphicsContext is not available on this platform.");
3794 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3795 PyErr_SetString(PyExc_NotImplementedError
,
3796 "wx.GraphicsContext is not available on this platform.");
3800 static wxGraphicsContext
* Create( wxWindow
* ) {
3801 PyErr_SetString(PyExc_NotImplementedError
,
3802 "wx.GraphicsContext is not available on this platform.");
3806 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3808 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3810 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3812 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3813 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3815 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3816 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3817 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3819 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3821 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3822 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3824 virtual void PushState() {}
3825 virtual void PopState() {}
3826 virtual void Clip( const wxRegion
& ) {}
3827 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3828 virtual void ResetClip() {}
3829 virtual void * GetNativeContext() { return NULL
; }
3830 virtual int GetLogicalFunction() const { return 0; }
3831 virtual bool SetLogicalFunction(int ) {}
3832 virtual void Translate( wxDouble
, wxDouble
) {}
3833 virtual void Scale( wxDouble
, wxDouble
) {}
3834 virtual void Rotate( wxDouble
) {}
3835 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3836 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3837 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3839 virtual void SetPen( const wxGraphicsPen
& ) {}
3840 void SetPen( const wxPen
& ) {}
3842 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3843 void SetBrush( const wxBrush
& ) {}
3845 virtual void SetFont( const wxGraphicsFont
& ) {}
3846 void SetFont( const wxFont
&, const wxColour
& ) {}
3848 virtual void StrokePath( const wxGraphicsPath
& ) {}
3849 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3850 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3852 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3853 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3855 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3856 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3857 wxDouble
*, wxDouble
* ) const {}
3858 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3860 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3863 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3865 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3866 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3867 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3868 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3869 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3870 virtual bool ShouldOffset() const { return false; }
3874 class wxGraphicsRenderer
: public wxObject
3877 wxGraphicsRenderer() {
3878 PyErr_SetString(PyExc_NotImplementedError
,
3879 "wx.GraphicsRenderer is not available on this platform.");
3882 virtual ~wxGraphicsRenderer() {}
3884 static wxGraphicsRenderer
* GetDefaultRenderer() {
3885 PyErr_SetString(PyExc_NotImplementedError
,
3886 "wx.GraphicsRenderer is not available on this platform.");
3890 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3891 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3892 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3893 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3894 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3896 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3898 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3899 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3901 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3902 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3903 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3904 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3905 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3906 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3907 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3912 class wxGCDC
: public wxWindowDC
3915 wxGCDC(const wxWindowDC
&) {
3916 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3917 PyErr_SetString(PyExc_NotImplementedError
,
3918 "wxGCDC is not available on this platform.");
3919 wxPyEndBlockThreads(blocked
);
3922 wxGCDC(const wxWindow
*) {
3923 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3924 PyErr_SetString(PyExc_NotImplementedError
,
3925 "wxGCDC is not available on this platform.");
3926 wxPyEndBlockThreads(blocked
);
3930 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3931 PyErr_SetString(PyExc_NotImplementedError
,
3932 "wxGCDC is not available on this platform.");
3933 wxPyEndBlockThreads(blocked
);
3936 virtual ~wxGCDC() {}
3938 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3939 void SetGraphicsContext( wxGraphicsContext
* ) {}
3944 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3945 if ( !backgroundBrush
.IsNull() )
3946 self
->DrawText(str
, x
, y
, backgroundBrush
);
3948 self
->DrawText(str
, x
, y
);
3950 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3951 if ( !backgroundBrush
.IsNull() )
3952 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3954 self
->DrawText(str
, x
, y
, angle
);
3956 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3957 wxDouble width
= 0.0,
3959 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3960 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3961 PyObject
* rv
= PyTuple_New(2);
3962 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3963 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3966 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3967 wxArrayDouble widths
;
3968 self
->GetPartialTextExtents(text
, widths
);
3971 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3972 size_t c1
, c2
, count
;
3973 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3974 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3976 if ( beginP
!= NULL
&& endP
!= NULL
)
3978 count
= wxMin(c1
, c2
);
3979 self
->StrokeLines(count
, beginP
, endP
);
3985 #include "wx/dcgraph.h"
3988 #include <wx/overlay.h>
3992 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3993 self
->AddColour(name
, wxColour(red
, green
, blue
));
3996 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3997 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3998 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3999 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
4002 #include <wx/effects.h>
4005 #include "wx/renderer.h"
4008 SWIGINTERNINLINE PyObject
*
4009 SWIG_From_bool (bool value
)
4011 return PyBool_FromLong(value
? 1 : 0);
4015 #include "wx/wxPython/pseudodc.h"
4017 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4019 self
->GetIdBounds(id
, rect
);
4025 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 PyObject
*resultobj
= 0;
4027 wxGDIObject
*result
= 0 ;
4029 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4031 if (!wxPyCheckForApp()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxGDIObject
*)new wxGDIObject();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4044 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 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
, SWIG_POINTER_DISOWN
| 0 );
4054 if (!SWIG_IsOK(res1
)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4057 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_Py_Void();
4072 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4073 PyObject
*resultobj
= 0;
4074 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4078 PyObject
*swig_obj
[1] ;
4080 if (!args
) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4086 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)(arg1
)->IsNull();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4102 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4105 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4106 return SWIG_Py_Void();
4109 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4110 return SWIG_Python_InitShadowInstance(args
);
4113 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
*resultobj
= 0;
4115 byte arg1
= (byte
) 0 ;
4116 byte arg2
= (byte
) 0 ;
4117 byte arg3
= (byte
) 0 ;
4118 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4119 wxColour
*result
= 0 ;
4120 unsigned char val1
;
4122 unsigned char val2
;
4124 unsigned char val3
;
4126 unsigned char val4
;
4128 PyObject
* obj0
= 0 ;
4129 PyObject
* obj1
= 0 ;
4130 PyObject
* obj2
= 0 ;
4131 PyObject
* obj3
= 0 ;
4132 char * kwnames
[] = {
4133 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4138 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4139 if (!SWIG_IsOK(ecode1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4142 arg1
= static_cast< byte
>(val1
);
4145 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4146 if (!SWIG_IsOK(ecode2
)) {
4147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4149 arg2
= static_cast< byte
>(val2
);
4152 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4153 if (!SWIG_IsOK(ecode3
)) {
4154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4156 arg3
= static_cast< byte
>(val3
);
4159 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4160 if (!SWIG_IsOK(ecode4
)) {
4161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4163 arg4
= static_cast< byte
>(val4
);
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4178 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
= 0;
4180 wxString
*arg1
= 0 ;
4181 wxColour
*result
= 0 ;
4182 bool temp1
= false ;
4183 PyObject
* obj0
= 0 ;
4184 char * kwnames
[] = {
4185 (char *) "colorName", NULL
4188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4190 arg1
= wxString_in_helper(obj0
);
4191 if (arg1
== NULL
) SWIG_fail
;
4195 if (!wxPyCheckForApp()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4216 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
= 0;
4218 unsigned long arg1
;
4219 wxColour
*result
= 0 ;
4220 unsigned long val1
;
4222 PyObject
* obj0
= 0 ;
4223 char * kwnames
[] = {
4224 (char *) "colRGB", NULL
4227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4228 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4229 if (!SWIG_IsOK(ecode1
)) {
4230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4232 arg1
= static_cast< unsigned long >(val1
);
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (wxColour
*)new wxColour(arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4246 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4247 PyObject
*resultobj
= 0;
4248 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
, SWIG_POINTER_DISOWN
| 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4259 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_Py_Void();
4274 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4275 PyObject
*resultobj
= 0;
4276 wxColour
*arg1
= (wxColour
*) 0 ;
4280 PyObject
*swig_obj
[1] ;
4282 if (!args
) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4288 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (byte
)(arg1
)->Red();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4302 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4303 PyObject
*resultobj
= 0;
4304 wxColour
*arg1
= (wxColour
*) 0 ;
4308 PyObject
*swig_obj
[1] ;
4310 if (!args
) SWIG_fail
;
4312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4313 if (!SWIG_IsOK(res1
)) {
4314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4316 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 result
= (byte
)(arg1
)->Green();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4330 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 PyObject
*resultobj
= 0;
4332 wxColour
*arg1
= (wxColour
*) 0 ;
4336 PyObject
*swig_obj
[1] ;
4338 if (!args
) SWIG_fail
;
4340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4341 if (!SWIG_IsOK(res1
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4344 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (byte
)(arg1
)->Blue();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4358 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4359 PyObject
*resultobj
= 0;
4360 wxColour
*arg1
= (wxColour
*) 0 ;
4364 PyObject
*swig_obj
[1] ;
4366 if (!args
) SWIG_fail
;
4368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4369 if (!SWIG_IsOK(res1
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4372 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (byte
)(arg1
)->Alpha();
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4386 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4387 PyObject
*resultobj
= 0;
4388 wxColour
*arg1
= (wxColour
*) 0 ;
4392 PyObject
*swig_obj
[1] ;
4394 if (!args
) SWIG_fail
;
4396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4397 if (!SWIG_IsOK(res1
)) {
4398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4400 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (bool)(arg1
)->IsOk();
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4416 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
= 0;
4418 wxColour
*arg1
= (wxColour
*) 0 ;
4422 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4425 unsigned char val2
;
4427 unsigned char val3
;
4429 unsigned char val4
;
4431 unsigned char val5
;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4435 PyObject
* obj2
= 0 ;
4436 PyObject
* obj3
= 0 ;
4437 PyObject
* obj4
= 0 ;
4438 char * kwnames
[] = {
4439 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4447 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4448 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4449 if (!SWIG_IsOK(ecode2
)) {
4450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4452 arg2
= static_cast< byte
>(val2
);
4453 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4454 if (!SWIG_IsOK(ecode3
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4457 arg3
= static_cast< byte
>(val3
);
4458 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4459 if (!SWIG_IsOK(ecode4
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4462 arg4
= static_cast< byte
>(val4
);
4464 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4465 if (!SWIG_IsOK(ecode5
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4468 arg5
= static_cast< byte
>(val5
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_Py_Void();
4483 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4485 wxColour
*arg1
= (wxColour
*) 0 ;
4486 unsigned long arg2
;
4489 unsigned long val2
;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "colRGB", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4502 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4503 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4507 arg2
= static_cast< unsigned long >(val2
);
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_Py_Void();
4521 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxColour
*arg1
= (wxColour
*) 0 ;
4524 wxString
*arg2
= 0 ;
4527 bool temp2
= false ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4530 char * kwnames
[] = {
4531 (char *) "self",(char *) "colourName", NULL
4534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4536 if (!SWIG_IsOK(res1
)) {
4537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4539 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4541 arg2
= wxString_in_helper(obj1
);
4542 if (arg2
== NULL
) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 (arg1
)->Set((wxString
const &)*arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_Py_Void();
4566 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
= 0;
4568 wxColour
*arg1
= (wxColour
*) 0 ;
4569 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4577 char * kwnames
[] = {
4578 (char *) "self",(char *) "flags", NULL
4581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4583 if (!SWIG_IsOK(res1
)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4586 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4588 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4589 if (!SWIG_IsOK(ecode2
)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4592 arg2
= static_cast< long >(val2
);
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4613 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4614 PyObject
*resultobj
= 0;
4615 wxColour
*arg1
= (wxColour
*) 0 ;
4619 PyObject
*swig_obj
[1] ;
4621 if (!args
) SWIG_fail
;
4623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4624 if (!SWIG_IsOK(res1
)) {
4625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4627 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 resultobj
= SWIG_From_long(static_cast< long >(result
));
4641 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
= 0;
4643 wxColour
*arg1
= (wxColour
*) 0 ;
4644 PyObject
*arg2
= (PyObject
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 char * kwnames
[] = {
4651 (char *) "self",(char *) "other", NULL
4654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4656 if (!SWIG_IsOK(res1
)) {
4657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4659 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4662 result
= (bool)wxColour___eq__(arg1
,arg2
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4674 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxColour
*arg1
= (wxColour
*) 0 ;
4677 PyObject
*arg2
= (PyObject
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4683 char * kwnames
[] = {
4684 (char *) "self",(char *) "other", NULL
4687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4689 if (!SWIG_IsOK(res1
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4692 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4695 result
= (bool)wxColour___ne__(arg1
,arg2
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4707 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
= 0;
4709 wxColour
*arg1
= (wxColour
*) 0 ;
4710 bool arg2
= (bool) false ;
4711 PyObject
*result
= 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4718 char * kwnames
[] = {
4719 (char *) "self",(char *) "includeAlpha", NULL
4722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4727 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4729 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4730 if (!SWIG_IsOK(ecode2
)) {
4731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4733 arg2
= static_cast< bool >(val2
);
4736 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4746 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4747 PyObject
*resultobj
= 0;
4748 wxColour
*arg1
= (wxColour
*) 0 ;
4749 unsigned long result
;
4752 PyObject
*swig_obj
[1] ;
4754 if (!args
) SWIG_fail
;
4756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4757 if (!SWIG_IsOK(res1
)) {
4758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4760 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4762 result
= (unsigned long)wxColour_GetRGB(arg1
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4772 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4775 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4776 return SWIG_Py_Void();
4779 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4780 return SWIG_Python_InitShadowInstance(args
);
4783 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
= 0;
4786 unsigned char *arg2
= (unsigned char *) 0 ;
4787 unsigned char *arg3
= (unsigned char *) 0 ;
4788 unsigned char *arg4
= (unsigned char *) 0 ;
4789 wxPalette
*result
= 0 ;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 PyObject
* obj2
= 0 ;
4801 PyObject
* obj3
= 0 ;
4802 char * kwnames
[] = {
4803 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4808 if (!SWIG_IsOK(ecode1
)) {
4809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4811 arg1
= static_cast< int >(val1
);
4812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4813 if (!SWIG_IsOK(res2
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4816 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4817 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4818 if (!SWIG_IsOK(res3
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4821 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4822 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4823 if (!SWIG_IsOK(res4
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4826 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4828 if (!wxPyCheckForApp()) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4841 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4842 PyObject
*resultobj
= 0;
4843 wxPalette
*arg1
= (wxPalette
*) 0 ;
4846 PyObject
*swig_obj
[1] ;
4848 if (!args
) SWIG_fail
;
4850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4851 if (!SWIG_IsOK(res1
)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4854 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_Py_Void();
4869 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
*resultobj
= 0;
4871 wxPalette
*arg1
= (wxPalette
*) 0 ;
4878 unsigned char val2
;
4880 unsigned char val3
;
4882 unsigned char val4
;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4886 PyObject
* obj2
= 0 ;
4887 PyObject
* obj3
= 0 ;
4888 char * kwnames
[] = {
4889 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4897 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4898 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4899 if (!SWIG_IsOK(ecode2
)) {
4900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4902 arg2
= static_cast< byte
>(val2
);
4903 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4904 if (!SWIG_IsOK(ecode3
)) {
4905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4907 arg3
= static_cast< byte
>(val3
);
4908 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4909 if (!SWIG_IsOK(ecode4
)) {
4910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4912 arg4
= static_cast< byte
>(val4
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_From_int(static_cast< int >(result
));
4926 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
= 0;
4928 wxPalette
*arg1
= (wxPalette
*) 0 ;
4930 byte
*arg3
= (byte
*) 0 ;
4931 byte
*arg4
= (byte
*) 0 ;
4932 byte
*arg5
= (byte
*) 0 ;
4939 int res3
= SWIG_TMPOBJ
;
4941 int res4
= SWIG_TMPOBJ
;
4943 int res5
= SWIG_TMPOBJ
;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 char * kwnames
[] = {
4947 (char *) "self",(char *) "pixel", NULL
4953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4955 if (!SWIG_IsOK(res1
)) {
4956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4958 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4960 if (!SWIG_IsOK(ecode2
)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4963 arg2
= static_cast< int >(val2
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4973 if (SWIG_IsTmpObj(res3
)) {
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4979 if (SWIG_IsTmpObj(res4
)) {
4980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4982 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4985 if (SWIG_IsTmpObj(res5
)) {
4986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4988 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4997 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4998 PyObject
*resultobj
= 0;
4999 wxPalette
*arg1
= (wxPalette
*) 0 ;
5003 PyObject
*swig_obj
[1] ;
5005 if (!args
) SWIG_fail
;
5007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5008 if (!SWIG_IsOK(res1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5011 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_From_int(static_cast< int >(result
));
5025 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5026 PyObject
*resultobj
= 0;
5027 wxPalette
*arg1
= (wxPalette
*) 0 ;
5031 PyObject
*swig_obj
[1] ;
5033 if (!args
) SWIG_fail
;
5035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5036 if (!SWIG_IsOK(res1
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5039 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (bool)(arg1
)->IsOk();
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5055 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5058 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5059 return SWIG_Py_Void();
5062 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 return SWIG_Python_InitShadowInstance(args
);
5066 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
= 0;
5068 wxColour
*arg1
= 0 ;
5069 int arg2
= (int) 1 ;
5070 int arg3
= (int) wxSOLID
;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "colour",(char *) "width",(char *) "style", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5087 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5091 if (!SWIG_IsOK(ecode2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5094 arg2
= static_cast< int >(val2
);
5097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5098 if (!SWIG_IsOK(ecode3
)) {
5099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5101 arg3
= static_cast< int >(val3
);
5104 if (!wxPyCheckForApp()) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5117 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 PyObject
*resultobj
= 0;
5119 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
, SWIG_POINTER_DISOWN
| 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5130 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_Py_Void();
5145 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5146 PyObject
*resultobj
= 0;
5147 wxPen
*arg1
= (wxPen
*) 0 ;
5151 PyObject
*swig_obj
[1] ;
5153 if (!args
) SWIG_fail
;
5155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5156 if (!SWIG_IsOK(res1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5159 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (int)(arg1
)->GetCap();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_From_int(static_cast< int >(result
));
5173 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5174 PyObject
*resultobj
= 0;
5175 wxPen
*arg1
= (wxPen
*) 0 ;
5179 PyObject
*swig_obj
[1] ;
5181 if (!args
) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5187 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (arg1
)->GetColour();
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5201 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 PyObject
*resultobj
= 0;
5203 wxPen
*arg1
= (wxPen
*) 0 ;
5207 PyObject
*swig_obj
[1] ;
5209 if (!args
) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5215 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (int)(arg1
)->GetJoin();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_From_int(static_cast< int >(result
));
5229 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5230 PyObject
*resultobj
= 0;
5231 wxPen
*arg1
= (wxPen
*) 0 ;
5235 PyObject
*swig_obj
[1] ;
5237 if (!args
) SWIG_fail
;
5239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5240 if (!SWIG_IsOK(res1
)) {
5241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5243 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (int)(arg1
)->GetStyle();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_From_int(static_cast< int >(result
));
5257 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5258 PyObject
*resultobj
= 0;
5259 wxPen
*arg1
= (wxPen
*) 0 ;
5263 PyObject
*swig_obj
[1] ;
5265 if (!args
) SWIG_fail
;
5267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5268 if (!SWIG_IsOK(res1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5271 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (int)(arg1
)->GetWidth();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_From_int(static_cast< int >(result
));
5285 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5286 PyObject
*resultobj
= 0;
5287 wxPen
*arg1
= (wxPen
*) 0 ;
5291 PyObject
*swig_obj
[1] ;
5293 if (!args
) SWIG_fail
;
5295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5296 if (!SWIG_IsOK(res1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5299 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (bool)(arg1
)->IsOk();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5315 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
*resultobj
= 0;
5317 wxPen
*arg1
= (wxPen
*) 0 ;
5323 PyObject
* obj0
= 0 ;
5324 PyObject
* obj1
= 0 ;
5325 char * kwnames
[] = {
5326 (char *) "self",(char *) "cap_style", NULL
5329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5331 if (!SWIG_IsOK(res1
)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5334 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5336 if (!SWIG_IsOK(ecode2
)) {
5337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5339 arg2
= static_cast< int >(val2
);
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->SetCap(arg2
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_Py_Void();
5353 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
= 0;
5355 wxPen
*arg1
= (wxPen
*) 0 ;
5356 wxColour
*arg2
= 0 ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5362 char * kwnames
[] = {
5363 (char *) "self",(char *) "colour", NULL
5366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5368 if (!SWIG_IsOK(res1
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5371 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5374 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetColour(*arg2
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_Py_Void();
5389 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
= 0;
5391 wxPen
*arg1
= (wxPen
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5399 char * kwnames
[] = {
5400 (char *) "self",(char *) "join_style", NULL
5403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5405 if (!SWIG_IsOK(res1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5408 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5410 if (!SWIG_IsOK(ecode2
)) {
5411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5413 arg2
= static_cast< int >(val2
);
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 (arg1
)->SetJoin(arg2
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_Py_Void();
5427 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
= 0;
5429 wxPen
*arg1
= (wxPen
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 char * kwnames
[] = {
5438 (char *) "self",(char *) "style", NULL
5441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5443 if (!SWIG_IsOK(res1
)) {
5444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5446 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5448 if (!SWIG_IsOK(ecode2
)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5451 arg2
= static_cast< int >(val2
);
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->SetStyle(arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= SWIG_Py_Void();
5465 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
= 0;
5467 wxPen
*arg1
= (wxPen
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5475 char * kwnames
[] = {
5476 (char *) "self",(char *) "width", NULL
5479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5481 if (!SWIG_IsOK(res1
)) {
5482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5484 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5486 if (!SWIG_IsOK(ecode2
)) {
5487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5489 arg2
= static_cast< int >(val2
);
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->SetWidth(arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_Py_Void();
5503 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
= 0;
5505 wxPen
*arg1
= (wxPen
*) 0 ;
5507 wxDash
*arg3
= (wxDash
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5512 char * kwnames
[] = {
5513 (char *) "self",(char *) "dashes", NULL
5516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5518 if (!SWIG_IsOK(res1
)) {
5519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5521 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5523 arg2
= PyList_Size(obj1
);
5524 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5525 if (arg3
== NULL
) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 (arg1
)->SetDashes(arg2
,arg3
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_Py_Void();
5535 if (arg3
) delete [] arg3
;
5540 if (arg3
) delete [] arg3
;
5546 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5547 PyObject
*resultobj
= 0;
5548 wxPen
*arg1
= (wxPen
*) 0 ;
5549 PyObject
*result
= 0 ;
5552 PyObject
*swig_obj
[1] ;
5554 if (!args
) SWIG_fail
;
5556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5557 if (!SWIG_IsOK(res1
)) {
5558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5560 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5574 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5575 PyObject
*resultobj
= 0;
5576 wxPen
*arg1
= (wxPen
*) 0 ;
5577 PyObject
*arg2
= (PyObject
*) 0 ;
5578 PyObject
*arg3
= (PyObject
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 PyObject
* obj2
= 0 ;
5584 char * kwnames
[] = {
5585 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5593 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 wxPen__SetDashes(arg1
,arg2
,arg3
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= SWIG_Py_Void();
5609 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
= 0;
5611 wxPen
*arg1
= (wxPen
*) 0 ;
5612 wxPen
*arg2
= (wxPen
*) 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5620 char * kwnames
[] = {
5621 (char *) "self",(char *) "other", NULL
5624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5626 if (!SWIG_IsOK(res1
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5629 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5631 if (!SWIG_IsOK(res2
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5634 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5650 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
= 0;
5652 wxPen
*arg1
= (wxPen
*) 0 ;
5653 wxPen
*arg2
= (wxPen
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 char * kwnames
[] = {
5662 (char *) "self",(char *) "other", NULL
5665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5667 if (!SWIG_IsOK(res1
)) {
5668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5670 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5672 if (!SWIG_IsOK(res2
)) {
5673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5675 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5691 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5695 return SWIG_Py_Void();
5698 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5699 return SWIG_Python_InitShadowInstance(args
);
5702 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
= 0;
5704 wxColour
*arg1
= 0 ;
5705 int arg2
= (int) wxSOLID
;
5706 wxBrush
*result
= 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 char * kwnames
[] = {
5713 (char *) "colour",(char *) "style", NULL
5716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5719 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5723 if (!SWIG_IsOK(ecode2
)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5726 arg2
= static_cast< int >(val2
);
5729 if (!wxPyCheckForApp()) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5742 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
= 0;
5744 wxBitmap
*arg1
= 0 ;
5745 wxBrush
*result
= 0 ;
5748 PyObject
* obj0
= 0 ;
5749 char * kwnames
[] = {
5750 (char *) "stippleBitmap", NULL
5753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5754 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5755 if (!SWIG_IsOK(res1
)) {
5756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5763 if (!wxPyCheckForApp()) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5776 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5777 PyObject
*resultobj
= 0;
5778 wxBrush
*arg1
= (wxBrush
*) 0 ;
5781 PyObject
*swig_obj
[1] ;
5783 if (!args
) SWIG_fail
;
5785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5786 if (!SWIG_IsOK(res1
)) {
5787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5789 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= SWIG_Py_Void();
5804 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
= 0;
5806 wxBrush
*arg1
= (wxBrush
*) 0 ;
5807 wxColour
*arg2
= 0 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5813 char * kwnames
[] = {
5814 (char *) "self",(char *) "col", NULL
5817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5819 if (!SWIG_IsOK(res1
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5822 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 (arg1
)->SetColour((wxColour
const &)*arg2
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_Py_Void();
5840 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
= 0;
5842 wxBrush
*arg1
= (wxBrush
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5850 char * kwnames
[] = {
5851 (char *) "self",(char *) "style", NULL
5854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5856 if (!SWIG_IsOK(res1
)) {
5857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5859 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5861 if (!SWIG_IsOK(ecode2
)) {
5862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5864 arg2
= static_cast< int >(val2
);
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 (arg1
)->SetStyle(arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= SWIG_Py_Void();
5878 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
= 0;
5880 wxBrush
*arg1
= (wxBrush
*) 0 ;
5881 wxBitmap
*arg2
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "self",(char *) "stipple", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5897 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5899 if (!SWIG_IsOK(res2
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5905 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_Py_Void();
5919 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5920 PyObject
*resultobj
= 0;
5921 wxBrush
*arg1
= (wxBrush
*) 0 ;
5925 PyObject
*swig_obj
[1] ;
5927 if (!args
) SWIG_fail
;
5929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5930 if (!SWIG_IsOK(res1
)) {
5931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5933 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= ((wxBrush
const *)arg1
)->GetColour();
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5947 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5948 PyObject
*resultobj
= 0;
5949 wxBrush
*arg1
= (wxBrush
*) 0 ;
5953 PyObject
*swig_obj
[1] ;
5955 if (!args
) SWIG_fail
;
5957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5958 if (!SWIG_IsOK(res1
)) {
5959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5961 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_From_int(static_cast< int >(result
));
5975 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5976 PyObject
*resultobj
= 0;
5977 wxBrush
*arg1
= (wxBrush
*) 0 ;
5978 wxBitmap
*result
= 0 ;
5981 PyObject
*swig_obj
[1] ;
5983 if (!args
) SWIG_fail
;
5985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5986 if (!SWIG_IsOK(res1
)) {
5987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5989 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6003 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6004 PyObject
*resultobj
= 0;
6005 wxBrush
*arg1
= (wxBrush
*) 0 ;
6009 PyObject
*swig_obj
[1] ;
6011 if (!args
) SWIG_fail
;
6013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6014 if (!SWIG_IsOK(res1
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6017 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6034 PyObject
*resultobj
= 0;
6035 wxBrush
*arg1
= (wxBrush
*) 0 ;
6039 PyObject
*swig_obj
[1] ;
6041 if (!args
) SWIG_fail
;
6043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6044 if (!SWIG_IsOK(res1
)) {
6045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6047 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (bool)(arg1
)->IsOk();
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6064 PyObject
*resultobj
= 0;
6065 wxBrush
*arg1
= (wxBrush
*) 0 ;
6069 PyObject
*swig_obj
[1] ;
6071 if (!args
) SWIG_fail
;
6073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6074 if (!SWIG_IsOK(res1
)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6077 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (short)(arg1
)->MacGetTheme();
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_From_short(static_cast< short >(result
));
6091 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
= 0;
6093 wxBrush
*arg1
= (wxBrush
*) 0 ;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj1
= 0 ;
6101 char * kwnames
[] = {
6102 (char *) "self",(char *) "macThemeBrush", NULL
6105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6107 if (!SWIG_IsOK(res1
)) {
6108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6110 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6111 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6112 if (!SWIG_IsOK(ecode2
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6115 arg2
= static_cast< short >(val2
);
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->MacSetTheme(arg2
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_Py_Void();
6129 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6132 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6133 return SWIG_Py_Void();
6136 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 return SWIG_Python_InitShadowInstance(args
);
6140 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
= 0;
6142 wxString
*arg1
= 0 ;
6143 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6144 wxBitmap
*result
= 0 ;
6145 bool temp1
= false ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 char * kwnames
[] = {
6151 (char *) "name",(char *) "type", NULL
6154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6156 arg1
= wxString_in_helper(obj0
);
6157 if (arg1
== NULL
) SWIG_fail
;
6161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6162 if (!SWIG_IsOK(ecode2
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6165 arg2
= static_cast< wxBitmapType
>(val2
);
6168 if (!wxPyCheckForApp()) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6189 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6190 PyObject
*resultobj
= 0;
6191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6202 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= SWIG_Py_Void();
6215 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
= 0;
6219 int arg3
= (int) -1 ;
6220 wxBitmap
*result
= 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6229 PyObject
* obj2
= 0 ;
6230 char * kwnames
[] = {
6231 (char *) "width",(char *) "height",(char *) "depth", NULL
6234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6236 if (!SWIG_IsOK(ecode1
)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6239 arg1
= static_cast< int >(val1
);
6240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6241 if (!SWIG_IsOK(ecode2
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6244 arg2
= static_cast< int >(val2
);
6246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6247 if (!SWIG_IsOK(ecode3
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6250 arg3
= static_cast< int >(val3
);
6253 if (!wxPyCheckForApp()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6266 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
= 0;
6269 wxBitmap
*result
= 0 ;
6272 PyObject
* obj0
= 0 ;
6273 char * kwnames
[] = {
6274 (char *) "icon", NULL
6277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6278 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6279 if (!SWIG_IsOK(res1
)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6285 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6287 if (!wxPyCheckForApp()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6300 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
= 0;
6303 int arg2
= (int) -1 ;
6304 wxBitmap
*result
= 0 ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 char * kwnames
[] = {
6312 (char *) "image",(char *) "depth", NULL
6315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6316 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6317 if (!SWIG_IsOK(res1
)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6323 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6326 if (!SWIG_IsOK(ecode2
)) {
6327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6329 arg2
= static_cast< int >(val2
);
6332 if (!wxPyCheckForApp()) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6345 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 PyObject
*arg1
= (PyObject
*) 0 ;
6348 wxBitmap
*result
= 0 ;
6349 PyObject
* obj0
= 0 ;
6350 char * kwnames
[] = {
6351 (char *) "listOfStrings", NULL
6354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6357 if (!wxPyCheckForApp()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6370 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
= 0;
6372 PyObject
*arg1
= (PyObject
*) 0 ;
6375 int arg4
= (int) 1 ;
6376 wxBitmap
*result
= 0 ;
6383 PyObject
* obj0
= 0 ;
6384 PyObject
* obj1
= 0 ;
6385 PyObject
* obj2
= 0 ;
6386 PyObject
* obj3
= 0 ;
6387 char * kwnames
[] = {
6388 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6394 if (!SWIG_IsOK(ecode2
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6397 arg2
= static_cast< int >(val2
);
6398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6399 if (!SWIG_IsOK(ecode3
)) {
6400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6402 arg3
= static_cast< int >(val3
);
6404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6405 if (!SWIG_IsOK(ecode4
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6408 arg4
= static_cast< int >(val4
);
6411 if (!wxPyCheckForApp()) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6424 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6430 PyObject
*swig_obj
[1] ;
6432 if (!args
) SWIG_fail
;
6434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6435 if (!SWIG_IsOK(res1
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6438 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6440 result
= (bool)(arg1
)->IsOk();
6441 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6452 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6453 PyObject
*resultobj
= 0;
6454 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6458 PyObject
*swig_obj
[1] ;
6460 if (!args
) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6466 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6468 result
= (int)(arg1
)->GetWidth();
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_From_int(static_cast< int >(result
));
6478 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6484 PyObject
*swig_obj
[1] ;
6486 if (!args
) SWIG_fail
;
6488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6489 if (!SWIG_IsOK(res1
)) {
6490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6492 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6494 result
= (int)(arg1
)->GetHeight();
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_From_int(static_cast< int >(result
));
6504 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6510 PyObject
*swig_obj
[1] ;
6512 if (!args
) SWIG_fail
;
6514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6515 if (!SWIG_IsOK(res1
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6518 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6520 result
= (int)(arg1
)->GetDepth();
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_From_int(static_cast< int >(result
));
6530 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6546 result
= wxBitmap_GetSize(arg1
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6556 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6559 SwigValueWrapper
<wxImage
> result
;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6570 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6572 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6582 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6583 PyObject
*resultobj
= 0;
6584 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6585 wxMask
*result
= 0 ;
6588 PyObject
*swig_obj
[1] ;
6590 if (!args
) SWIG_fail
;
6592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6593 if (!SWIG_IsOK(res1
)) {
6594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6596 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6598 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6608 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6611 wxMask
*arg2
= (wxMask
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 char * kwnames
[] = {
6618 (char *) "self",(char *) "mask", NULL
6621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6623 if (!SWIG_IsOK(res1
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6626 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6627 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6628 if (!SWIG_IsOK(res2
)) {
6629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6632 (arg1
)->SetMask(arg2
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= SWIG_Py_Void();
6642 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6645 wxColour
*arg2
= 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 char * kwnames
[] = {
6652 (char *) "self",(char *) "colour", NULL
6655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6660 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6666 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_Py_Void();
6676 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6680 SwigValueWrapper
<wxBitmap
> result
;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "rect", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6695 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6701 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6711 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6714 wxString
*arg2
= 0 ;
6716 wxPalette
*arg4
= (wxPalette
*) NULL
;
6720 bool temp2
= false ;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6727 PyObject
* obj2
= 0 ;
6728 PyObject
* obj3
= 0 ;
6729 char * kwnames
[] = {
6730 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6735 if (!SWIG_IsOK(res1
)) {
6736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6738 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6740 arg2
= wxString_in_helper(obj1
);
6741 if (arg2
== NULL
) SWIG_fail
;
6744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6745 if (!SWIG_IsOK(ecode3
)) {
6746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6748 arg3
= static_cast< wxBitmapType
>(val3
);
6750 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6751 if (!SWIG_IsOK(res4
)) {
6752 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6754 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6757 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6777 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
= 0;
6779 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6780 wxString
*arg2
= 0 ;
6785 bool temp2
= false ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "name",(char *) "type", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6802 arg2
= wxString_in_helper(obj1
);
6803 if (arg2
== NULL
) SWIG_fail
;
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6810 arg3
= static_cast< wxBitmapType
>(val3
);
6812 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6832 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6833 PyObject
*resultobj
= 0;
6834 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6835 wxPalette
*result
= 0 ;
6838 PyObject
*swig_obj
[1] ;
6840 if (!args
) SWIG_fail
;
6842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6843 if (!SWIG_IsOK(res1
)) {
6844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6846 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6848 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6858 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
= 0;
6860 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6869 char * kwnames
[] = {
6870 (char *) "self",(char *) "icon", NULL
6873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6878 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6880 if (!SWIG_IsOK(res2
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6886 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6888 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6900 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
= 0;
6902 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 char * kwnames
[] = {
6911 (char *) "self",(char *) "height", NULL
6914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6916 if (!SWIG_IsOK(res1
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6919 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6921 if (!SWIG_IsOK(ecode2
)) {
6922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6924 arg2
= static_cast< int >(val2
);
6926 (arg1
)->SetHeight(arg2
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_Py_Void();
6936 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 char * kwnames
[] = {
6947 (char *) "self",(char *) "width", NULL
6950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6952 if (!SWIG_IsOK(res1
)) {
6953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6955 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6957 if (!SWIG_IsOK(ecode2
)) {
6958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6960 arg2
= static_cast< int >(val2
);
6962 (arg1
)->SetWidth(arg2
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_Py_Void();
6972 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 char * kwnames
[] = {
6983 (char *) "self",(char *) "depth", NULL
6986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6991 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6993 if (!SWIG_IsOK(ecode2
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6996 arg2
= static_cast< int >(val2
);
6998 (arg1
)->SetDepth(arg2
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7008 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
= 0;
7010 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7016 PyObject
* obj1
= 0 ;
7017 char * kwnames
[] = {
7018 (char *) "self",(char *) "size", NULL
7021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7023 if (!SWIG_IsOK(res1
)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7026 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7032 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_Py_Void();
7042 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "data", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7061 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7063 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7067 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_Py_Void();
7077 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
= 0;
7079 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "self",(char *) "data", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7096 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7098 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7102 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_Py_Void();
7112 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
= 0;
7114 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7115 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 char * kwnames
[] = {
7124 (char *) "self",(char *) "other", NULL
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7134 if (!SWIG_IsOK(res2
)) {
7135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7137 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7139 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7151 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
= 0;
7153 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7154 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7162 char * kwnames
[] = {
7163 (char *) "self",(char *) "other", NULL
7166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7168 if (!SWIG_IsOK(res1
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7171 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7173 if (!SWIG_IsOK(res2
)) {
7174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7176 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7178 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7190 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7193 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7194 return SWIG_Py_Void();
7197 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7198 return SWIG_Python_InitShadowInstance(args
);
7201 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
= 0;
7209 wxBitmap
*result
= 0 ;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 PyObject
* obj2
= 0 ;
7219 PyObject
* obj3
= 0 ;
7220 char * kwnames
[] = {
7221 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7225 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7226 if (!SWIG_IsOK(ecode1
)) {
7227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7229 arg1
= static_cast< int >(val1
);
7230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7231 if (!SWIG_IsOK(ecode2
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7234 arg2
= static_cast< int >(val2
);
7236 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7240 if (obj3
!= Py_None
) {
7241 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7246 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7256 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7262 wxBitmap
*result
= 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 PyObject
* obj2
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "width",(char *) "height",(char *) "data", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7276 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7277 if (!SWIG_IsOK(ecode1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7280 arg1
= static_cast< int >(val1
);
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7287 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7291 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7301 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
= 0;
7307 wxBitmap
*result
= 0 ;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7315 PyObject
* obj2
= 0 ;
7316 char * kwnames
[] = {
7317 (char *) "width",(char *) "height",(char *) "data", NULL
7320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7322 if (!SWIG_IsOK(ecode1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7325 arg1
= static_cast< int >(val1
);
7326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7327 if (!SWIG_IsOK(ecode2
)) {
7328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7330 arg2
= static_cast< int >(val2
);
7332 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7336 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7346 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7347 PyObject
*resultobj
= 0;
7348 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7352 PyObject
*swig_obj
[1] ;
7354 if (!args
) SWIG_fail
;
7356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7357 if (!SWIG_IsOK(res1
)) {
7358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7360 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7362 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7372 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 PyObject
*resultobj
= 0;
7374 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7378 PyObject
*swig_obj
[1] ;
7380 if (!args
) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7386 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7388 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= SWIG_From_int(static_cast< int >(result
));
7398 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7399 PyObject
*resultobj
= 0;
7400 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7404 PyObject
*swig_obj
[1] ;
7406 if (!args
) SWIG_fail
;
7408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7409 if (!SWIG_IsOK(res1
)) {
7410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7412 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7414 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_From_int(static_cast< int >(result
));
7424 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 PyObject
*resultobj
= 0;
7426 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7430 PyObject
*swig_obj
[1] ;
7432 if (!args
) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7438 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7440 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7450 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7451 PyObject
*resultobj
= 0;
7452 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7456 PyObject
*swig_obj
[1] ;
7458 if (!args
) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7464 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7466 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= SWIG_From_int(static_cast< int >(result
));
7476 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7480 return SWIG_Py_Void();
7483 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7484 PyObject
*resultobj
= 0;
7485 wxBitmap
*arg1
= 0 ;
7486 wxNativePixelData
*result
= 0 ;
7490 if ((nobjs
< 1) || (nobjs
> 1)) 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
);
7500 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7510 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7511 PyObject
*resultobj
= 0;
7512 wxBitmap
*arg1
= 0 ;
7514 wxNativePixelData
*result
= 0 ;
7519 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7521 if (!SWIG_IsOK(res1
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7527 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7530 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7533 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7543 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7544 PyObject
*resultobj
= 0;
7545 wxBitmap
*arg1
= 0 ;
7548 wxNativePixelData
*result
= 0 ;
7554 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7556 if (!SWIG_IsOK(res1
)) {
7557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7562 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7565 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7569 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7572 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7582 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7586 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7589 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7592 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7595 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7599 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7604 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7605 PyObject
*resultobj
= 0;
7606 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7609 PyObject
*swig_obj
[1] ;
7611 if (!args
) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7617 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_Py_Void();
7630 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7631 PyObject
*resultobj
= 0;
7632 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7633 wxNativePixelData_Accessor result
;
7636 PyObject
*swig_obj
[1] ;
7638 if (!args
) SWIG_fail
;
7640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7641 if (!SWIG_IsOK(res1
)) {
7642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7644 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7646 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7656 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7657 PyObject
*resultobj
= 0;
7658 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7661 PyObject
*swig_obj
[1] ;
7663 if (!args
) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7669 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_Py_Void();
7681 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7682 PyObject
*resultobj
= 0;
7683 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7687 PyObject
*swig_obj
[1] ;
7689 if (!args
) SWIG_fail
;
7691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7692 if (!SWIG_IsOK(res1
)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7695 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7697 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7712 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7713 return SWIG_Py_Void();
7716 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7717 return SWIG_Python_InitShadowInstance(args
);
7720 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7721 PyObject
*resultobj
= 0;
7722 wxNativePixelData
*arg1
= 0 ;
7723 wxNativePixelData_Accessor
*result
= 0 ;
7727 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7729 if (!SWIG_IsOK(res1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7735 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7737 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7747 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7748 PyObject
*resultobj
= 0;
7749 wxBitmap
*arg1
= 0 ;
7750 wxNativePixelData
*arg2
= 0 ;
7751 wxNativePixelData_Accessor
*result
= 0 ;
7757 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7765 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7766 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7767 if (!SWIG_IsOK(res2
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7773 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7775 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7785 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7786 PyObject
*resultobj
= 0;
7787 wxNativePixelData_Accessor
*result
= 0 ;
7789 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7791 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7801 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7805 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7808 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7811 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7814 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7818 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7823 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 PyObject
*resultobj
= 0;
7825 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7828 PyObject
*swig_obj
[1] ;
7830 if (!args
) SWIG_fail
;
7832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7833 if (!SWIG_IsOK(res1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7836 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_Py_Void();
7849 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
= 0;
7851 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7852 wxNativePixelData
*arg2
= 0 ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 char * kwnames
[] = {
7860 (char *) "self",(char *) "data", NULL
7863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7868 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7870 if (!SWIG_IsOK(res2
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7876 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7878 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_Py_Void();
7888 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7889 PyObject
*resultobj
= 0;
7890 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7894 PyObject
*swig_obj
[1] ;
7896 if (!args
) SWIG_fail
;
7898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7899 if (!SWIG_IsOK(res1
)) {
7900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7902 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7904 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7916 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7917 PyObject
*resultobj
= 0;
7918 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7921 PyObject
*swig_obj
[1] ;
7923 if (!args
) SWIG_fail
;
7925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7926 if (!SWIG_IsOK(res1
)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7929 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7931 wxNativePixelData_Accessor_nextPixel(arg1
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_Py_Void();
7941 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
= 0;
7943 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7944 wxNativePixelData
*arg2
= 0 ;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7957 PyObject
* obj2
= 0 ;
7958 PyObject
* obj3
= 0 ;
7959 char * kwnames
[] = {
7960 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7968 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7970 if (!SWIG_IsOK(res2
)) {
7971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7976 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7978 if (!SWIG_IsOK(ecode3
)) {
7979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7981 arg3
= static_cast< int >(val3
);
7982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7983 if (!SWIG_IsOK(ecode4
)) {
7984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7986 arg4
= static_cast< int >(val4
);
7988 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_Py_Void();
7998 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8001 wxNativePixelData
*arg2
= 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 PyObject
* obj2
= 0 ;
8012 char * kwnames
[] = {
8013 (char *) "self",(char *) "data",(char *) "x", NULL
8016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8018 if (!SWIG_IsOK(res1
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8021 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8023 if (!SWIG_IsOK(res2
)) {
8024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8031 if (!SWIG_IsOK(ecode3
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8034 arg3
= static_cast< int >(val3
);
8036 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_Py_Void();
8046 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
= 0;
8048 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8049 wxNativePixelData
*arg2
= 0 ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 PyObject
* obj2
= 0 ;
8060 char * kwnames
[] = {
8061 (char *) "self",(char *) "data",(char *) "y", NULL
8064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8066 if (!SWIG_IsOK(res1
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8069 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8071 if (!SWIG_IsOK(res2
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8077 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8079 if (!SWIG_IsOK(ecode3
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8082 arg3
= static_cast< int >(val3
);
8084 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_Py_Void();
8094 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
= 0;
8096 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8097 wxNativePixelData
*arg2
= 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8111 PyObject
* obj3
= 0 ;
8112 char * kwnames
[] = {
8113 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8118 if (!SWIG_IsOK(res1
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8121 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8123 if (!SWIG_IsOK(res2
)) {
8124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8129 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8131 if (!SWIG_IsOK(ecode3
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8134 arg3
= static_cast< int >(val3
);
8135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8136 if (!SWIG_IsOK(ecode4
)) {
8137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8139 arg4
= static_cast< int >(val4
);
8141 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= SWIG_Py_Void();
8151 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
= 0;
8153 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8159 unsigned char val2
;
8161 unsigned char val3
;
8163 unsigned char val4
;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8167 PyObject
* obj2
= 0 ;
8168 PyObject
* obj3
= 0 ;
8169 char * kwnames
[] = {
8170 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8175 if (!SWIG_IsOK(res1
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8178 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8179 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8180 if (!SWIG_IsOK(ecode2
)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8183 arg2
= static_cast< byte
>(val2
);
8184 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8185 if (!SWIG_IsOK(ecode3
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8188 arg3
= static_cast< byte
>(val3
);
8189 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8190 if (!SWIG_IsOK(ecode4
)) {
8191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8193 arg4
= static_cast< byte
>(val4
);
8195 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= SWIG_Py_Void();
8205 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8206 PyObject
*resultobj
= 0;
8207 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8208 PyObject
*result
= 0 ;
8211 PyObject
*swig_obj
[1] ;
8213 if (!args
) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8219 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8221 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8231 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8234 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8235 return SWIG_Py_Void();
8238 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8239 return SWIG_Python_InitShadowInstance(args
);
8242 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8243 PyObject
*resultobj
= 0;
8244 wxBitmap
*arg1
= 0 ;
8245 wxAlphaPixelData
*result
= 0 ;
8249 if ((nobjs
< 1) || (nobjs
> 1)) 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
);
8259 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8269 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8270 PyObject
*resultobj
= 0;
8271 wxBitmap
*arg1
= 0 ;
8273 wxAlphaPixelData
*result
= 0 ;
8278 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8280 if (!SWIG_IsOK(res1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8286 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8289 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8292 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8302 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8303 PyObject
*resultobj
= 0;
8304 wxBitmap
*arg1
= 0 ;
8307 wxAlphaPixelData
*result
= 0 ;
8313 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8315 if (!SWIG_IsOK(res1
)) {
8316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8321 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8324 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8328 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8331 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8341 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8345 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8348 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8351 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8354 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8358 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8363 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8364 PyObject
*resultobj
= 0;
8365 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8368 PyObject
*swig_obj
[1] ;
8370 if (!args
) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8376 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= SWIG_Py_Void();
8389 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8390 PyObject
*resultobj
= 0;
8391 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8392 wxAlphaPixelData_Accessor result
;
8395 PyObject
*swig_obj
[1] ;
8397 if (!args
) SWIG_fail
;
8399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8400 if (!SWIG_IsOK(res1
)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8403 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8405 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8415 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8416 PyObject
*resultobj
= 0;
8417 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8420 PyObject
*swig_obj
[1] ;
8422 if (!args
) SWIG_fail
;
8424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8425 if (!SWIG_IsOK(res1
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8428 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_Py_Void();
8440 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8441 PyObject
*resultobj
= 0;
8442 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8446 PyObject
*swig_obj
[1] ;
8448 if (!args
) SWIG_fail
;
8450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8451 if (!SWIG_IsOK(res1
)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8454 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8456 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8468 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8471 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8472 return SWIG_Py_Void();
8475 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8476 return SWIG_Python_InitShadowInstance(args
);
8479 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8480 PyObject
*resultobj
= 0;
8481 wxAlphaPixelData
*arg1
= 0 ;
8482 wxAlphaPixelData_Accessor
*result
= 0 ;
8486 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8488 if (!SWIG_IsOK(res1
)) {
8489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8494 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8496 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8506 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8507 PyObject
*resultobj
= 0;
8508 wxBitmap
*arg1
= 0 ;
8509 wxAlphaPixelData
*arg2
= 0 ;
8510 wxAlphaPixelData_Accessor
*result
= 0 ;
8516 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8525 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8526 if (!SWIG_IsOK(res2
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8532 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8534 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8544 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8545 PyObject
*resultobj
= 0;
8546 wxAlphaPixelData_Accessor
*result
= 0 ;
8548 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8550 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8560 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8564 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8567 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8570 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8573 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8577 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8582 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8583 PyObject
*resultobj
= 0;
8584 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8587 PyObject
*swig_obj
[1] ;
8589 if (!args
) SWIG_fail
;
8591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8592 if (!SWIG_IsOK(res1
)) {
8593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8595 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_Py_Void();
8608 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
= 0;
8610 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8611 wxAlphaPixelData
*arg2
= 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 char * kwnames
[] = {
8619 (char *) "self",(char *) "data", NULL
8622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8627 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8629 if (!SWIG_IsOK(res2
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8635 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8637 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= SWIG_Py_Void();
8647 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8648 PyObject
*resultobj
= 0;
8649 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8653 PyObject
*swig_obj
[1] ;
8655 if (!args
) SWIG_fail
;
8657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8658 if (!SWIG_IsOK(res1
)) {
8659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8661 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8663 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8664 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8675 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8676 PyObject
*resultobj
= 0;
8677 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8680 PyObject
*swig_obj
[1] ;
8682 if (!args
) SWIG_fail
;
8684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8685 if (!SWIG_IsOK(res1
)) {
8686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8688 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8690 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_Py_Void();
8700 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
= 0;
8702 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8703 wxAlphaPixelData
*arg2
= 0 ;
8714 PyObject
* obj0
= 0 ;
8715 PyObject
* obj1
= 0 ;
8716 PyObject
* obj2
= 0 ;
8717 PyObject
* obj3
= 0 ;
8718 char * kwnames
[] = {
8719 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8724 if (!SWIG_IsOK(res1
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8727 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8729 if (!SWIG_IsOK(res2
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8735 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8737 if (!SWIG_IsOK(ecode3
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8740 arg3
= static_cast< int >(val3
);
8741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8742 if (!SWIG_IsOK(ecode4
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8745 arg4
= static_cast< int >(val4
);
8747 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_Py_Void();
8757 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
= 0;
8759 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8760 wxAlphaPixelData
*arg2
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 PyObject
* obj2
= 0 ;
8771 char * kwnames
[] = {
8772 (char *) "self",(char *) "data",(char *) "x", NULL
8775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8777 if (!SWIG_IsOK(res1
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8780 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8782 if (!SWIG_IsOK(res2
)) {
8783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8790 if (!SWIG_IsOK(ecode3
)) {
8791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8793 arg3
= static_cast< int >(val3
);
8795 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= SWIG_Py_Void();
8805 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
= 0;
8807 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8808 wxAlphaPixelData
*arg2
= 0 ;
8816 PyObject
* obj0
= 0 ;
8817 PyObject
* obj1
= 0 ;
8818 PyObject
* obj2
= 0 ;
8819 char * kwnames
[] = {
8820 (char *) "self",(char *) "data",(char *) "y", NULL
8823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8825 if (!SWIG_IsOK(res1
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8828 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8830 if (!SWIG_IsOK(res2
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8836 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8838 if (!SWIG_IsOK(ecode3
)) {
8839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8841 arg3
= static_cast< int >(val3
);
8843 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= SWIG_Py_Void();
8853 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
= 0;
8855 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8856 wxAlphaPixelData
*arg2
= 0 ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8869 PyObject
* obj2
= 0 ;
8870 PyObject
* obj3
= 0 ;
8871 char * kwnames
[] = {
8872 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8877 if (!SWIG_IsOK(res1
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8880 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8882 if (!SWIG_IsOK(res2
)) {
8883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8888 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8890 if (!SWIG_IsOK(ecode3
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8893 arg3
= static_cast< int >(val3
);
8894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8895 if (!SWIG_IsOK(ecode4
)) {
8896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8898 arg4
= static_cast< int >(val4
);
8900 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= SWIG_Py_Void();
8910 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
= 0;
8912 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8919 unsigned char val2
;
8921 unsigned char val3
;
8923 unsigned char val4
;
8925 unsigned char val5
;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8929 PyObject
* obj2
= 0 ;
8930 PyObject
* obj3
= 0 ;
8931 PyObject
* obj4
= 0 ;
8932 char * kwnames
[] = {
8933 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8941 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8942 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8943 if (!SWIG_IsOK(ecode2
)) {
8944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8946 arg2
= static_cast< byte
>(val2
);
8947 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8948 if (!SWIG_IsOK(ecode3
)) {
8949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8951 arg3
= static_cast< byte
>(val3
);
8952 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8953 if (!SWIG_IsOK(ecode4
)) {
8954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8956 arg4
= static_cast< byte
>(val4
);
8957 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8958 if (!SWIG_IsOK(ecode5
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8961 arg5
= static_cast< byte
>(val5
);
8963 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_Py_Void();
8973 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8974 PyObject
*resultobj
= 0;
8975 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8976 PyObject
*result
= 0 ;
8979 PyObject
*swig_obj
[1] ;
8981 if (!args
) SWIG_fail
;
8983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8984 if (!SWIG_IsOK(res1
)) {
8985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8987 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8989 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8999 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9002 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9003 return SWIG_Py_Void();
9006 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9007 return SWIG_Python_InitShadowInstance(args
);
9010 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
= 0;
9012 wxBitmap
*arg1
= 0 ;
9013 wxColour
const &arg2_defvalue
= wxNullColour
;
9014 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9015 wxMask
*result
= 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 char * kwnames
[] = {
9022 (char *) "bitmap",(char *) "colour", NULL
9025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9026 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9027 if (!SWIG_IsOK(res1
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9033 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9037 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9041 if (!wxPyCheckForApp()) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9054 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9055 PyObject
*resultobj
= 0;
9056 wxMask
*arg1
= (wxMask
*) 0 ;
9059 PyObject
*swig_obj
[1] ;
9061 if (!args
) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9067 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_Py_Void();
9080 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9083 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9084 return SWIG_Py_Void();
9087 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9088 return SWIG_Python_InitShadowInstance(args
);
9091 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
= 0;
9093 wxString
*arg1
= 0 ;
9095 int arg3
= (int) -1 ;
9096 int arg4
= (int) -1 ;
9097 wxIcon
*result
= 0 ;
9098 bool temp1
= false ;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9107 PyObject
* obj2
= 0 ;
9108 PyObject
* obj3
= 0 ;
9109 char * kwnames
[] = {
9110 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9115 arg1
= wxString_in_helper(obj0
);
9116 if (arg1
== NULL
) SWIG_fail
;
9119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9120 if (!SWIG_IsOK(ecode2
)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9123 arg2
= static_cast< wxBitmapType
>(val2
);
9125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9126 if (!SWIG_IsOK(ecode3
)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9129 arg3
= static_cast< int >(val3
);
9132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9133 if (!SWIG_IsOK(ecode4
)) {
9134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9136 arg4
= static_cast< int >(val4
);
9139 if (!wxPyCheckForApp()) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9160 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9161 PyObject
*resultobj
= 0;
9162 wxIcon
*arg1
= (wxIcon
*) 0 ;
9165 PyObject
*swig_obj
[1] ;
9167 if (!args
) SWIG_fail
;
9169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9170 if (!SWIG_IsOK(res1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9173 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_Py_Void();
9188 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9189 PyObject
*resultobj
= 0;
9190 wxIcon
*result
= 0 ;
9192 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9194 if (!wxPyCheckForApp()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (wxIcon
*)new wxIcon();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9207 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
= 0;
9209 wxIconLocation
*arg1
= 0 ;
9210 wxIcon
*result
= 0 ;
9213 PyObject
* obj0
= 0 ;
9214 char * kwnames
[] = {
9215 (char *) "loc", NULL
9218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9219 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9220 if (!SWIG_IsOK(res1
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9226 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9228 if (!wxPyCheckForApp()) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9241 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
= 0;
9243 wxBitmap
*arg1
= 0 ;
9244 wxIcon
*result
= 0 ;
9247 PyObject
* obj0
= 0 ;
9248 char * kwnames
[] = {
9249 (char *) "bmp", NULL
9252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9260 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9262 if (!wxPyCheckForApp()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9275 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
= 0;
9277 PyObject
*arg1
= (PyObject
*) 0 ;
9278 wxIcon
*result
= 0 ;
9279 PyObject
* obj0
= 0 ;
9280 char * kwnames
[] = {
9281 (char *) "listOfStrings", NULL
9284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxIcon
*)new_wxIcon(arg1
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9300 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9301 PyObject
*resultobj
= 0;
9302 wxIcon
*arg1
= (wxIcon
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9314 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)(arg1
)->IsOk();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9331 PyObject
*resultobj
= 0;
9332 wxIcon
*arg1
= (wxIcon
*) 0 ;
9336 PyObject
*swig_obj
[1] ;
9338 if (!args
) SWIG_fail
;
9340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9341 if (!SWIG_IsOK(res1
)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9344 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (int)(arg1
)->GetWidth();
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_From_int(static_cast< int >(result
));
9358 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9359 PyObject
*resultobj
= 0;
9360 wxIcon
*arg1
= (wxIcon
*) 0 ;
9364 PyObject
*swig_obj
[1] ;
9366 if (!args
) SWIG_fail
;
9368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9369 if (!SWIG_IsOK(res1
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9372 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (int)(arg1
)->GetHeight();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_From_int(static_cast< int >(result
));
9386 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9387 PyObject
*resultobj
= 0;
9388 wxIcon
*arg1
= (wxIcon
*) 0 ;
9392 PyObject
*swig_obj
[1] ;
9394 if (!args
) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9400 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (int)(arg1
)->GetDepth();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= SWIG_From_int(static_cast< int >(result
));
9414 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
= 0;
9416 wxIcon
*arg1
= (wxIcon
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9424 char * kwnames
[] = {
9425 (char *) "self",(char *) "w", NULL
9428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9430 if (!SWIG_IsOK(res1
)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9433 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9435 if (!SWIG_IsOK(ecode2
)) {
9436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9438 arg2
= static_cast< int >(val2
);
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 (arg1
)->SetWidth(arg2
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_Py_Void();
9452 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= 0;
9454 wxIcon
*arg1
= (wxIcon
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "h", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9471 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9473 if (!SWIG_IsOK(ecode2
)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9476 arg2
= static_cast< int >(val2
);
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 (arg1
)->SetHeight(arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= SWIG_Py_Void();
9490 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxIcon
*arg1
= (wxIcon
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 char * kwnames
[] = {
9501 (char *) "self",(char *) "d", NULL
9504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9509 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9511 if (!SWIG_IsOK(ecode2
)) {
9512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9514 arg2
= static_cast< int >(val2
);
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetDepth(arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_Py_Void();
9528 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
= 0;
9530 wxIcon
*arg1
= (wxIcon
*) 0 ;
9531 wxBitmap
*arg2
= 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "self",(char *) "bmp", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9547 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9549 if (!SWIG_IsOK(res2
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9555 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_Py_Void();
9569 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9572 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9573 return SWIG_Py_Void();
9576 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9577 return SWIG_Python_InitShadowInstance(args
);
9580 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9583 int arg2
= (int) 0 ;
9584 wxIconLocation
*result
= 0 ;
9585 bool temp1
= false ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 char * kwnames
[] = {
9591 (char *) "filename",(char *) "num", NULL
9594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9597 arg1
= wxString_in_helper(obj0
);
9598 if (arg1
== NULL
) SWIG_fail
;
9603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9604 if (!SWIG_IsOK(ecode2
)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9607 arg2
= static_cast< int >(val2
);
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9630 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9631 PyObject
*resultobj
= 0;
9632 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
, SWIG_POINTER_DISOWN
| 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9643 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= SWIG_Py_Void();
9658 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9659 PyObject
*resultobj
= 0;
9660 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9664 PyObject
*swig_obj
[1] ;
9666 if (!args
) SWIG_fail
;
9668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9669 if (!SWIG_IsOK(res1
)) {
9670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9672 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9691 wxString
*arg2
= 0 ;
9694 bool temp2
= false ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9697 char * kwnames
[] = {
9698 (char *) "self",(char *) "filename", NULL
9701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9703 if (!SWIG_IsOK(res1
)) {
9704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9706 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9708 arg2
= wxString_in_helper(obj1
);
9709 if (arg2
== NULL
) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 (arg1
)->SetFileName((wxString
const &)*arg2
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_Py_Void();
9733 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9734 PyObject
*resultobj
= 0;
9735 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9736 wxString
*result
= 0 ;
9739 PyObject
*swig_obj
[1] ;
9741 if (!args
) SWIG_fail
;
9743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9744 if (!SWIG_IsOK(res1
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9747 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9752 result
= (wxString
*) &_result_ref
;
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9761 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9770 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
*resultobj
= 0;
9772 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 char * kwnames
[] = {
9781 (char *) "self",(char *) "num", NULL
9784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9789 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9791 if (!SWIG_IsOK(ecode2
)) {
9792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9794 arg2
= static_cast< int >(val2
);
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 wxIconLocation_SetIndex(arg1
,arg2
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_Py_Void();
9808 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9809 PyObject
*resultobj
= 0;
9810 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9814 PyObject
*swig_obj
[1] ;
9816 if (!args
) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9822 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (int)wxIconLocation_GetIndex(arg1
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_From_int(static_cast< int >(result
));
9836 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9839 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9840 return SWIG_Py_Void();
9843 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 return SWIG_Python_InitShadowInstance(args
);
9847 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9848 PyObject
*resultobj
= 0;
9849 wxIconBundle
*result
= 0 ;
9851 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (wxIconBundle
*)new wxIconBundle();
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9865 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxString
*arg1
= 0 ;
9869 wxIconBundle
*result
= 0 ;
9870 bool temp1
= false ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "file",(char *) "type", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9881 arg1
= wxString_in_helper(obj0
);
9882 if (arg1
== NULL
) SWIG_fail
;
9885 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9886 if (!SWIG_IsOK(ecode2
)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9889 arg2
= static_cast< long >(val2
);
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9911 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= 0;
9914 wxIconBundle
*result
= 0 ;
9917 PyObject
* obj0
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "icon", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9930 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9944 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9945 PyObject
*resultobj
= 0;
9946 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9949 PyObject
*swig_obj
[1] ;
9951 if (!args
) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9957 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_Py_Void();
9972 SWIGINTERN PyObject
*_wrap_IconBundle_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9973 PyObject
*resultobj
= 0;
9974 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9978 PyObject
*swig_obj
[1] ;
9980 if (!args
) SWIG_fail
;
9982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9983 if (!SWIG_IsOK(res1
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9986 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (bool)((wxIconBundle
const *)arg1
)->IsOk();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
= 0;
10004 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char * kwnames
[] = {
10013 (char *) "self",(char *) "icon", NULL
10016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10021 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10023 if (!SWIG_IsOK(res2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10029 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_Py_Void();
10043 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
= 0;
10045 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10046 wxString
*arg2
= 0 ;
10050 bool temp2
= false ;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 PyObject
* obj2
= 0 ;
10056 char * kwnames
[] = {
10057 (char *) "self",(char *) "file",(char *) "type", NULL
10060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10062 if (!SWIG_IsOK(res1
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10065 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10067 arg2
= wxString_in_helper(obj1
);
10068 if (arg2
== NULL
) SWIG_fail
;
10071 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10072 if (!SWIG_IsOK(ecode3
)) {
10073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10075 arg3
= static_cast< long >(val3
);
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_Py_Void();
10097 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
= 0;
10099 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10101 wxIcon
*result
= 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 char * kwnames
[] = {
10108 (char *) "self",(char *) "size", NULL
10111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10116 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10119 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10125 result
= (wxIcon
*) &_result_ref
;
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10131 wxIcon
* resultptr
= new wxIcon(*result
);
10132 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10140 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconOfExactSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= 0;
10142 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "self",(char *) "size", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10156 if (!SWIG_IsOK(res1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10159 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10162 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= ((wxIconBundle
const *)arg1
)->GetIconOfExactSize((wxSize
const &)*arg2
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10177 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10178 PyObject
*resultobj
= 0;
10179 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10183 PyObject
*swig_obj
[1] ;
10185 if (!args
) SWIG_fail
;
10186 swig_obj
[0] = args
;
10187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10188 if (!SWIG_IsOK(res1
)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10191 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (size_t)((wxIconBundle
const *)arg1
)->GetIconCount();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10205 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconByIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 char * kwnames
[] = {
10217 (char *) "self",(char *) "n", NULL
10220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconByIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10222 if (!SWIG_IsOK(res1
)) {
10223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10225 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10226 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10227 if (!SWIG_IsOK(ecode2
)) {
10228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'");
10230 arg2
= static_cast< size_t >(val2
);
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= ((wxIconBundle
const *)arg1
)->GetIconByIndex(arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10244 SWIGINTERN PyObject
*_wrap_IconBundle_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10245 PyObject
*resultobj
= 0;
10246 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10250 PyObject
*swig_obj
[1] ;
10252 if (!args
) SWIG_fail
;
10253 swig_obj
[0] = args
;
10254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10258 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (bool)((wxIconBundle
const *)arg1
)->IsEmpty();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10274 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10277 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10278 return SWIG_Py_Void();
10281 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10282 return SWIG_Python_InitShadowInstance(args
);
10285 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
= 0;
10287 wxString
*arg1
= 0 ;
10289 int arg3
= (int) 0 ;
10290 int arg4
= (int) 0 ;
10291 wxCursor
*result
= 0 ;
10292 bool temp1
= false ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 PyObject
* obj2
= 0 ;
10302 PyObject
* obj3
= 0 ;
10303 char * kwnames
[] = {
10304 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10309 arg1
= wxString_in_helper(obj0
);
10310 if (arg1
== NULL
) SWIG_fail
;
10313 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10317 arg2
= static_cast< long >(val2
);
10319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10320 if (!SWIG_IsOK(ecode3
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10323 arg3
= static_cast< int >(val3
);
10326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10327 if (!SWIG_IsOK(ecode4
)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10330 arg4
= static_cast< int >(val4
);
10333 if (!wxPyCheckForApp()) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10354 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10355 PyObject
*resultobj
= 0;
10356 wxCursor
*arg1
= (wxCursor
*) 0 ;
10359 PyObject
*swig_obj
[1] ;
10361 if (!args
) SWIG_fail
;
10362 swig_obj
[0] = args
;
10363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10367 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_Py_Void();
10382 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
= 0;
10385 wxCursor
*result
= 0 ;
10388 PyObject
* obj0
= 0 ;
10389 char * kwnames
[] = {
10390 (char *) "id", NULL
10393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10395 if (!SWIG_IsOK(ecode1
)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10398 arg1
= static_cast< int >(val1
);
10400 if (!wxPyCheckForApp()) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (wxCursor
*)new wxCursor(arg1
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10413 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
= 0;
10415 wxImage
*arg1
= 0 ;
10416 wxCursor
*result
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char * kwnames
[] = {
10421 (char *) "image", NULL
10424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10425 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10426 if (!SWIG_IsOK(res1
)) {
10427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10432 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10434 if (!wxPyCheckForApp()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10447 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10448 PyObject
*resultobj
= 0;
10449 wxCursor
*arg1
= (wxCursor
*) 0 ;
10453 PyObject
*swig_obj
[1] ;
10455 if (!args
) SWIG_fail
;
10456 swig_obj
[0] = args
;
10457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10461 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (bool)(arg1
)->IsOk();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10480 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10481 return SWIG_Py_Void();
10484 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 return SWIG_Python_InitShadowInstance(args
);
10488 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
= 0;
10490 int arg1
= (int) 0 ;
10491 int arg2
= (int) 0 ;
10492 int arg3
= (int) 0 ;
10493 int arg4
= (int) 0 ;
10494 wxRegion
*result
= 0 ;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 PyObject
* obj2
= 0 ;
10506 PyObject
* obj3
= 0 ;
10507 char * kwnames
[] = {
10508 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10514 if (!SWIG_IsOK(ecode1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10517 arg1
= static_cast< int >(val1
);
10520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10521 if (!SWIG_IsOK(ecode2
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10524 arg2
= static_cast< int >(val2
);
10527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10528 if (!SWIG_IsOK(ecode3
)) {
10529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10531 arg3
= static_cast< int >(val3
);
10534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10535 if (!SWIG_IsOK(ecode4
)) {
10536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10538 arg4
= static_cast< int >(val4
);
10541 if (!wxPyCheckForApp()) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10554 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
= 0;
10556 wxBitmap
*arg1
= 0 ;
10557 wxRegion
*result
= 0 ;
10560 PyObject
* obj0
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "bmp", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10573 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10575 if (!wxPyCheckForApp()) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10588 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxBitmap
*arg1
= 0 ;
10591 wxColour
*arg2
= 0 ;
10592 int arg3
= (int) 0 ;
10593 wxRegion
*result
= 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 char * kwnames
[] = {
10603 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10607 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10608 if (!SWIG_IsOK(res1
)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10614 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10621 if (!SWIG_IsOK(ecode3
)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10624 arg3
= static_cast< int >(val3
);
10627 if (!wxPyCheckForApp()) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10640 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
= 0;
10643 wxPoint
*arg2
= (wxPoint
*) 0 ;
10644 int arg3
= (int) wxWINDING_RULE
;
10645 wxRegion
*result
= 0 ;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 char * kwnames
[] = {
10651 (char *) "points",(char *) "fillStyle", NULL
10654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10656 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10657 if (arg2
== NULL
) SWIG_fail
;
10660 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10661 if (!SWIG_IsOK(ecode3
)) {
10662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10664 arg3
= static_cast< int >(val3
);
10667 if (!wxPyCheckForApp()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10675 if (arg2
) delete [] arg2
;
10680 if (arg2
) delete [] arg2
;
10686 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10687 PyObject
*resultobj
= 0;
10688 wxRegion
*arg1
= (wxRegion
*) 0 ;
10691 PyObject
*swig_obj
[1] ;
10693 if (!args
) SWIG_fail
;
10694 swig_obj
[0] = args
;
10695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10699 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= SWIG_Py_Void();
10714 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10715 PyObject
*resultobj
= 0;
10716 wxRegion
*arg1
= (wxRegion
*) 0 ;
10719 PyObject
*swig_obj
[1] ;
10721 if (!args
) SWIG_fail
;
10722 swig_obj
[0] = args
;
10723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10724 if (!SWIG_IsOK(res1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10727 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_Py_Void();
10741 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
= 0;
10743 wxRegion
*arg1
= (wxRegion
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 char * kwnames
[] = {
10757 (char *) "self",(char *) "x",(char *) "y", NULL
10760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10762 if (!SWIG_IsOK(res1
)) {
10763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10765 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10767 if (!SWIG_IsOK(ecode2
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10770 arg2
= static_cast< int >(val2
);
10771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10772 if (!SWIG_IsOK(ecode3
)) {
10773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10775 arg3
= static_cast< int >(val3
);
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10791 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
= 0;
10793 wxRegion
*arg1
= (wxRegion
*) 0 ;
10796 wxRegionContain result
;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 char * kwnames
[] = {
10807 (char *) "self",(char *) "x",(char *) "y", NULL
10810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10812 if (!SWIG_IsOK(res1
)) {
10813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10815 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10817 if (!SWIG_IsOK(ecode2
)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10820 arg2
= static_cast< int >(val2
);
10821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10822 if (!SWIG_IsOK(ecode3
)) {
10823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10825 arg3
= static_cast< int >(val3
);
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_From_int(static_cast< int >(result
));
10839 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
= 0;
10841 wxRegion
*arg1
= (wxRegion
*) 0 ;
10842 wxPoint
*arg2
= 0 ;
10843 wxRegionContain result
;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char * kwnames
[] = {
10850 (char *) "self",(char *) "pt", NULL
10853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10858 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_From_int(static_cast< int >(result
));
10876 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
= 0;
10878 wxRegion
*arg1
= (wxRegion
*) 0 ;
10880 wxRegionContain result
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 char * kwnames
[] = {
10887 (char *) "self",(char *) "rect", NULL
10890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10895 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= SWIG_From_int(static_cast< int >(result
));
10913 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
= 0;
10915 wxRegion
*arg1
= (wxRegion
*) 0 ;
10920 wxRegionContain result
;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 PyObject
* obj3
= 0 ;
10935 PyObject
* obj4
= 0 ;
10936 char * kwnames
[] = {
10937 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10942 if (!SWIG_IsOK(res1
)) {
10943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10945 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10947 if (!SWIG_IsOK(ecode2
)) {
10948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10950 arg2
= static_cast< int >(val2
);
10951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10952 if (!SWIG_IsOK(ecode3
)) {
10953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10955 arg3
= static_cast< int >(val3
);
10956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10957 if (!SWIG_IsOK(ecode4
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10960 arg4
= static_cast< int >(val4
);
10961 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10962 if (!SWIG_IsOK(ecode5
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10965 arg5
= static_cast< int >(val5
);
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= SWIG_From_int(static_cast< int >(result
));
10979 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10980 PyObject
*resultobj
= 0;
10981 wxRegion
*arg1
= (wxRegion
*) 0 ;
10985 PyObject
*swig_obj
[1] ;
10987 if (!args
) SWIG_fail
;
10988 swig_obj
[0] = args
;
10989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10990 if (!SWIG_IsOK(res1
)) {
10991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10993 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (arg1
)->GetBox();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11007 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
= 0;
11009 wxRegion
*arg1
= (wxRegion
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 PyObject
* obj2
= 0 ;
11028 PyObject
* obj3
= 0 ;
11029 PyObject
* obj4
= 0 ;
11030 char * kwnames
[] = {
11031 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11036 if (!SWIG_IsOK(res1
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11039 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11041 if (!SWIG_IsOK(ecode2
)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11044 arg2
= static_cast< int >(val2
);
11045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11046 if (!SWIG_IsOK(ecode3
)) {
11047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11049 arg3
= static_cast< int >(val3
);
11050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11051 if (!SWIG_IsOK(ecode4
)) {
11052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11054 arg4
= static_cast< int >(val4
);
11055 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11056 if (!SWIG_IsOK(ecode5
)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11059 arg5
= static_cast< int >(val5
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= 0;
11077 wxRegion
*arg1
= (wxRegion
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char * kwnames
[] = {
11086 (char *) "self",(char *) "rect", NULL
11089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11094 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11097 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11114 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
= 0;
11116 wxRegion
*arg1
= (wxRegion
*) 0 ;
11117 wxRegion
*arg2
= 0 ;
11123 PyObject
* obj0
= 0 ;
11124 PyObject
* obj1
= 0 ;
11125 char * kwnames
[] = {
11126 (char *) "self",(char *) "region", NULL
11129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11134 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11136 if (!SWIG_IsOK(res2
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11142 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11158 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11159 PyObject
*resultobj
= 0;
11160 wxRegion
*arg1
= (wxRegion
*) 0 ;
11164 PyObject
*swig_obj
[1] ;
11166 if (!args
) SWIG_fail
;
11167 swig_obj
[0] = args
;
11168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11169 if (!SWIG_IsOK(res1
)) {
11170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11172 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)(arg1
)->IsEmpty();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
= 0;
11190 wxRegion
*arg1
= (wxRegion
*) 0 ;
11191 wxRegion
*arg2
= 0 ;
11197 PyObject
* obj0
= 0 ;
11198 PyObject
* obj1
= 0 ;
11199 char * kwnames
[] = {
11200 (char *) "self",(char *) "region", NULL
11203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11205 if (!SWIG_IsOK(res1
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11208 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11210 if (!SWIG_IsOK(res2
)) {
11211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11216 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxRegion
*arg1
= (wxRegion
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 PyObject
* obj2
= 0 ;
11253 PyObject
* obj3
= 0 ;
11254 PyObject
* obj4
= 0 ;
11255 char * kwnames
[] = {
11256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11261 if (!SWIG_IsOK(res1
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11264 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11266 if (!SWIG_IsOK(ecode2
)) {
11267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11269 arg2
= static_cast< int >(val2
);
11270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11271 if (!SWIG_IsOK(ecode3
)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11274 arg3
= static_cast< int >(val3
);
11275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11276 if (!SWIG_IsOK(ecode4
)) {
11277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11279 arg4
= static_cast< int >(val4
);
11280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11281 if (!SWIG_IsOK(ecode5
)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11284 arg5
= static_cast< int >(val5
);
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11300 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
= 0;
11302 wxRegion
*arg1
= (wxRegion
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 char * kwnames
[] = {
11311 (char *) "self",(char *) "rect", NULL
11314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11316 if (!SWIG_IsOK(res1
)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11319 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11322 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= 0;
11341 wxRegion
*arg1
= (wxRegion
*) 0 ;
11342 wxRegion
*arg2
= 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "self",(char *) "region", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11359 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11361 if (!SWIG_IsOK(res2
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11367 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11383 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
= 0;
11385 wxRegion
*arg1
= (wxRegion
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 PyObject
* obj2
= 0 ;
11404 PyObject
* obj3
= 0 ;
11405 PyObject
* obj4
= 0 ;
11406 char * kwnames
[] = {
11407 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11415 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11417 if (!SWIG_IsOK(ecode2
)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11420 arg2
= static_cast< int >(val2
);
11421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11422 if (!SWIG_IsOK(ecode3
)) {
11423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11425 arg3
= static_cast< int >(val3
);
11426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11427 if (!SWIG_IsOK(ecode4
)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11430 arg4
= static_cast< int >(val4
);
11431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11432 if (!SWIG_IsOK(ecode5
)) {
11433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11435 arg5
= static_cast< int >(val5
);
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11451 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
= 0;
11453 wxRegion
*arg1
= (wxRegion
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char * kwnames
[] = {
11462 (char *) "self",(char *) "rect", NULL
11465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11470 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxRegion
*arg1
= (wxRegion
*) 0 ;
11493 wxRegion
*arg2
= 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char * kwnames
[] = {
11502 (char *) "self",(char *) "region", NULL
11505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11507 if (!SWIG_IsOK(res1
)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11510 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11512 if (!SWIG_IsOK(res2
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11518 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11534 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
= 0;
11536 wxRegion
*arg1
= (wxRegion
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 PyObject
* obj2
= 0 ;
11555 PyObject
* obj3
= 0 ;
11556 PyObject
* obj4
= 0 ;
11557 char * kwnames
[] = {
11558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11563 if (!SWIG_IsOK(res1
)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11566 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11568 if (!SWIG_IsOK(ecode2
)) {
11569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11571 arg2
= static_cast< int >(val2
);
11572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11573 if (!SWIG_IsOK(ecode3
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11576 arg3
= static_cast< int >(val3
);
11577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11578 if (!SWIG_IsOK(ecode4
)) {
11579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11581 arg4
= static_cast< int >(val4
);
11582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11583 if (!SWIG_IsOK(ecode5
)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11586 arg5
= static_cast< int >(val5
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11602 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
= 0;
11604 wxRegion
*arg1
= (wxRegion
*) 0 ;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 char * kwnames
[] = {
11613 (char *) "self",(char *) "rect", NULL
11616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11618 if (!SWIG_IsOK(res1
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11624 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11641 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
= 0;
11643 wxRegion
*arg1
= (wxRegion
*) 0 ;
11644 wxRegion
*arg2
= 0 ;
11650 PyObject
* obj0
= 0 ;
11651 PyObject
* obj1
= 0 ;
11652 char * kwnames
[] = {
11653 (char *) "self",(char *) "region", NULL
11656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11658 if (!SWIG_IsOK(res1
)) {
11659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11663 if (!SWIG_IsOK(res2
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11669 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11685 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11686 PyObject
*resultobj
= 0;
11687 wxRegion
*arg1
= (wxRegion
*) 0 ;
11688 SwigValueWrapper
<wxBitmap
> result
;
11691 PyObject
*swig_obj
[1] ;
11693 if (!args
) SWIG_fail
;
11694 swig_obj
[0] = args
;
11695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11699 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (arg1
)->ConvertToBitmap();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11713 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
= 0;
11715 wxRegion
*arg1
= (wxRegion
*) 0 ;
11716 wxBitmap
*arg2
= 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char * kwnames
[] = {
11725 (char *) "self",(char *) "bmp", NULL
11728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11733 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11735 if (!SWIG_IsOK(res2
)) {
11736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11741 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11757 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
= 0;
11759 wxRegion
*arg1
= (wxRegion
*) 0 ;
11760 wxBitmap
*arg2
= 0 ;
11761 wxColour
*arg3
= 0 ;
11762 int arg4
= (int) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 PyObject
* obj2
= 0 ;
11774 PyObject
* obj3
= 0 ;
11775 char * kwnames
[] = {
11776 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11784 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11786 if (!SWIG_IsOK(res2
)) {
11787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11792 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11795 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11799 if (!SWIG_IsOK(ecode4
)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11802 arg4
= static_cast< int >(val4
);
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11819 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11822 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11823 return SWIG_Py_Void();
11826 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11827 return SWIG_Python_InitShadowInstance(args
);
11830 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
= 0;
11832 wxRegion
*arg1
= 0 ;
11833 wxRegionIterator
*result
= 0 ;
11836 PyObject
* obj0
= 0 ;
11837 char * kwnames
[] = {
11838 (char *) "region", NULL
11841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11842 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11849 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11851 if (!wxPyCheckForApp()) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11864 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11877 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_Py_Void();
11892 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11893 PyObject
*resultobj
= 0;
11894 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11898 PyObject
*swig_obj
[1] ;
11900 if (!args
) SWIG_fail
;
11901 swig_obj
[0] = args
;
11902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11906 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (int)(arg1
)->GetX();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_From_int(static_cast< int >(result
));
11920 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11921 PyObject
*resultobj
= 0;
11922 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11926 PyObject
*swig_obj
[1] ;
11928 if (!args
) SWIG_fail
;
11929 swig_obj
[0] = args
;
11930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11934 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (int)(arg1
)->GetY();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_From_int(static_cast< int >(result
));
11948 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11949 PyObject
*resultobj
= 0;
11950 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11954 PyObject
*swig_obj
[1] ;
11956 if (!args
) SWIG_fail
;
11957 swig_obj
[0] = args
;
11958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11962 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (int)(arg1
)->GetW();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_From_int(static_cast< int >(result
));
11976 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11990 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (int)(arg1
)->GetWidth();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_From_int(static_cast< int >(result
));
12004 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12010 PyObject
*swig_obj
[1] ;
12012 if (!args
) SWIG_fail
;
12013 swig_obj
[0] = args
;
12014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12015 if (!SWIG_IsOK(res1
)) {
12016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12018 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (int)(arg1
)->GetH();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_From_int(static_cast< int >(result
));
12032 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 PyObject
*resultobj
= 0;
12034 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12038 PyObject
*swig_obj
[1] ;
12040 if (!args
) SWIG_fail
;
12041 swig_obj
[0] = args
;
12042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12043 if (!SWIG_IsOK(res1
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12046 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (int)(arg1
)->GetHeight();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 resultobj
= SWIG_From_int(static_cast< int >(result
));
12060 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12061 PyObject
*resultobj
= 0;
12062 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12066 PyObject
*swig_obj
[1] ;
12068 if (!args
) SWIG_fail
;
12069 swig_obj
[0] = args
;
12070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12074 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (arg1
)->GetRect();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12088 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12089 PyObject
*resultobj
= 0;
12090 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12094 PyObject
*swig_obj
[1] ;
12096 if (!args
) SWIG_fail
;
12097 swig_obj
[0] = args
;
12098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12102 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (bool)(arg1
)->HaveRects();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12118 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12119 PyObject
*resultobj
= 0;
12120 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12123 PyObject
*swig_obj
[1] ;
12125 if (!args
) SWIG_fail
;
12126 swig_obj
[0] = args
;
12127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12131 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_Py_Void();
12145 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12150 PyObject
*swig_obj
[1] ;
12152 if (!args
) SWIG_fail
;
12153 swig_obj
[0] = args
;
12154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12155 if (!SWIG_IsOK(res1
)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12158 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 wxRegionIterator_Next(arg1
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 PyObject
*resultobj
= 0;
12174 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12178 PyObject
*swig_obj
[1] ;
12180 if (!args
) SWIG_fail
;
12181 swig_obj
[0] = args
;
12182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12186 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12202 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12205 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12206 return SWIG_Py_Void();
12209 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 return SWIG_Python_InitShadowInstance(args
);
12213 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12214 PyObject
*resultobj
= 0;
12215 wxNativeFontInfo
*result
= 0 ;
12217 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12231 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12244 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_Py_Void();
12259 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12260 PyObject
*resultobj
= 0;
12261 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12264 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12272 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_Py_Void();
12286 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= 0;
12288 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 char * kwnames
[] = {
12297 (char *) "self",(char *) "font", NULL
12300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12302 if (!SWIG_IsOK(res1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12305 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12307 if (!SWIG_IsOK(res2
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12313 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_Py_Void();
12327 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12328 PyObject
*resultobj
= 0;
12329 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12333 PyObject
*swig_obj
[1] ;
12335 if (!args
) SWIG_fail
;
12336 swig_obj
[0] = args
;
12337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12341 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_From_int(static_cast< int >(result
));
12355 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12356 PyObject
*resultobj
= 0;
12357 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12358 wxFontStyle result
;
12361 PyObject
*swig_obj
[1] ;
12363 if (!args
) SWIG_fail
;
12364 swig_obj
[0] = args
;
12365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12369 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_From_int(static_cast< int >(result
));
12383 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12384 PyObject
*resultobj
= 0;
12385 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12386 wxFontWeight result
;
12389 PyObject
*swig_obj
[1] ;
12391 if (!args
) SWIG_fail
;
12392 swig_obj
[0] = args
;
12393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12394 if (!SWIG_IsOK(res1
)) {
12395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12397 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= SWIG_From_int(static_cast< int >(result
));
12411 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12412 PyObject
*resultobj
= 0;
12413 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12417 PyObject
*swig_obj
[1] ;
12419 if (!args
) SWIG_fail
;
12420 swig_obj
[0] = args
;
12421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12422 if (!SWIG_IsOK(res1
)) {
12423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12425 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12441 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12442 PyObject
*resultobj
= 0;
12443 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12447 PyObject
*swig_obj
[1] ;
12449 if (!args
) SWIG_fail
;
12450 swig_obj
[0] = args
;
12451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12455 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12475 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12478 wxFontFamily result
;
12481 PyObject
*swig_obj
[1] ;
12483 if (!args
) SWIG_fail
;
12484 swig_obj
[0] = args
;
12485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12489 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_int(static_cast< int >(result
));
12503 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12506 wxFontEncoding result
;
12509 PyObject
*swig_obj
[1] ;
12511 if (!args
) SWIG_fail
;
12512 swig_obj
[0] = args
;
12513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12517 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_From_int(static_cast< int >(result
));
12531 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
= 0;
12533 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 PyObject
* obj1
= 0 ;
12541 char * kwnames
[] = {
12542 (char *) "self",(char *) "pointsize", NULL
12545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12547 if (!SWIG_IsOK(res1
)) {
12548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12550 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12552 if (!SWIG_IsOK(ecode2
)) {
12553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12555 arg2
= static_cast< int >(val2
);
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 (arg1
)->SetPointSize(arg2
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_Py_Void();
12569 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
= 0;
12571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char * kwnames
[] = {
12580 (char *) "self",(char *) "style", NULL
12583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12588 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12590 if (!SWIG_IsOK(ecode2
)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12593 arg2
= static_cast< wxFontStyle
>(val2
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->SetStyle(arg2
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12610 wxFontWeight arg2
;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "weight", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12626 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12628 if (!SWIG_IsOK(ecode2
)) {
12629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12631 arg2
= static_cast< wxFontWeight
>(val2
);
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetWeight(arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12645 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= 0;
12647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "underlined", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12664 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12665 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12666 if (!SWIG_IsOK(ecode2
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12669 arg2
= static_cast< bool >(val2
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->SetUnderlined(arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
= 0;
12685 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 PyObject
* obj1
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "self",(char *) "facename", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12701 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12703 wxString
* sptr
= wxString_in_helper(obj1
);
12704 if (sptr
== NULL
) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)(arg1
)->SetFaceName(arg2
);
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12726 wxFontFamily arg2
;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 char * kwnames
[] = {
12734 (char *) "self",(char *) "family", NULL
12737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12742 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12744 if (!SWIG_IsOK(ecode2
)) {
12745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12747 arg2
= static_cast< wxFontFamily
>(val2
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->SetFamily(arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_Py_Void();
12761 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= 0;
12763 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12764 wxFontEncoding arg2
;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 char * kwnames
[] = {
12772 (char *) "self",(char *) "encoding", NULL
12775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12780 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12782 if (!SWIG_IsOK(ecode2
)) {
12783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12785 arg2
= static_cast< wxFontEncoding
>(val2
);
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 (arg1
)->SetEncoding(arg2
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= SWIG_Py_Void();
12799 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
= 0;
12801 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12802 wxString
*arg2
= 0 ;
12806 bool temp2
= false ;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 char * kwnames
[] = {
12810 (char *) "self",(char *) "s", NULL
12813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12815 if (!SWIG_IsOK(res1
)) {
12816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12818 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12820 arg2
= wxString_in_helper(obj1
);
12821 if (arg2
== NULL
) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12847 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12848 PyObject
*resultobj
= 0;
12849 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12853 PyObject
*swig_obj
[1] ;
12855 if (!args
) SWIG_fail
;
12856 swig_obj
[0] = args
;
12857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12858 if (!SWIG_IsOK(res1
)) {
12859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12861 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12881 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12887 PyObject
*swig_obj
[1] ;
12889 if (!args
) SWIG_fail
;
12890 swig_obj
[0] = args
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12895 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= wxNativeFontInfo___str__(arg1
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12915 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
= 0;
12917 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12918 wxString
*arg2
= 0 ;
12922 bool temp2
= false ;
12923 PyObject
* obj0
= 0 ;
12924 PyObject
* obj1
= 0 ;
12925 char * kwnames
[] = {
12926 (char *) "self",(char *) "s", NULL
12929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12931 if (!SWIG_IsOK(res1
)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12934 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12936 arg2
= wxString_in_helper(obj1
);
12937 if (arg2
== NULL
) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12963 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 PyObject
*resultobj
= 0;
12965 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12969 PyObject
*swig_obj
[1] ;
12971 if (!args
) SWIG_fail
;
12972 swig_obj
[0] = args
;
12973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12977 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12997 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13000 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13001 return SWIG_Py_Void();
13004 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13005 return SWIG_Python_InitShadowInstance(args
);
13008 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13009 PyObject
*resultobj
= 0;
13010 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13011 wxString
*arg2
= (wxString
*) 0 ;
13014 bool temp2
= false ;
13015 PyObject
*swig_obj
[2] ;
13017 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13022 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13024 arg2
= wxString_in_helper(swig_obj
[1]);
13025 if (arg2
== NULL
) SWIG_fail
;
13028 if (arg1
) (arg1
)->facename
= *arg2
;
13030 resultobj
= SWIG_Py_Void();
13045 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13046 PyObject
*resultobj
= 0;
13047 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13048 wxString
*result
= 0 ;
13051 PyObject
*swig_obj
[1] ;
13053 if (!args
) SWIG_fail
;
13054 swig_obj
[0] = args
;
13055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13056 if (!SWIG_IsOK(res1
)) {
13057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13059 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13060 result
= (wxString
*)& ((arg1
)->facename
);
13063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13074 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13075 PyObject
*resultobj
= 0;
13076 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13077 wxFontEncoding arg2
;
13082 PyObject
*swig_obj
[2] ;
13084 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13089 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13090 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13091 if (!SWIG_IsOK(ecode2
)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13094 arg2
= static_cast< wxFontEncoding
>(val2
);
13095 if (arg1
) (arg1
)->encoding
= arg2
;
13097 resultobj
= SWIG_Py_Void();
13104 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13105 PyObject
*resultobj
= 0;
13106 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13107 wxFontEncoding result
;
13110 PyObject
*swig_obj
[1] ;
13112 if (!args
) SWIG_fail
;
13113 swig_obj
[0] = args
;
13114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13118 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13119 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13120 resultobj
= SWIG_From_int(static_cast< int >(result
));
13127 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13128 PyObject
*resultobj
= 0;
13129 wxNativeEncodingInfo
*result
= 0 ;
13131 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13145 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13146 PyObject
*resultobj
= 0;
13147 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13150 PyObject
*swig_obj
[1] ;
13152 if (!args
) SWIG_fail
;
13153 swig_obj
[0] = args
;
13154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13155 if (!SWIG_IsOK(res1
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13158 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= 0;
13175 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13176 wxString
*arg2
= 0 ;
13180 bool temp2
= false ;
13181 PyObject
* obj0
= 0 ;
13182 PyObject
* obj1
= 0 ;
13183 char * kwnames
[] = {
13184 (char *) "self",(char *) "s", NULL
13187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13189 if (!SWIG_IsOK(res1
)) {
13190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13192 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13194 arg2
= wxString_in_helper(obj1
);
13195 if (arg2
== NULL
) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13221 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 PyObject
*resultobj
= 0;
13223 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13227 PyObject
*swig_obj
[1] ;
13229 if (!args
) SWIG_fail
;
13230 swig_obj
[0] = args
;
13231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13232 if (!SWIG_IsOK(res1
)) {
13233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13235 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13255 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13258 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13259 return SWIG_Py_Void();
13262 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13263 return SWIG_Python_InitShadowInstance(args
);
13266 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxFontEncoding arg1
;
13269 wxNativeEncodingInfo
*result
= 0 ;
13272 PyObject
* obj0
= 0 ;
13273 char * kwnames
[] = {
13274 (char *) "encoding", NULL
13277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13278 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13279 if (!SWIG_IsOK(ecode1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13282 arg1
= static_cast< wxFontEncoding
>(val1
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13296 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
= 0;
13298 wxNativeEncodingInfo
*arg1
= 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char * kwnames
[] = {
13304 (char *) "info", NULL
13307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13308 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13315 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13331 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13332 PyObject
*resultobj
= 0;
13333 wxFontMapper
*result
= 0 ;
13335 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (wxFontMapper
*)new wxFontMapper();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13349 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13350 PyObject
*resultobj
= 0;
13351 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13354 PyObject
*swig_obj
[1] ;
13356 if (!args
) SWIG_fail
;
13357 swig_obj
[0] = args
;
13358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13362 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_Py_Void();
13377 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 PyObject
*resultobj
= 0;
13379 wxFontMapper
*result
= 0 ;
13381 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (wxFontMapper
*)wxFontMapper::Get();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13395 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
= 0;
13397 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13398 wxFontMapper
*result
= 0 ;
13401 PyObject
* obj0
= 0 ;
13402 char * kwnames
[] = {
13403 (char *) "mapper", NULL
13406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13408 if (!SWIG_IsOK(res1
)) {
13409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13411 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13425 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
= 0;
13427 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13428 wxString
*arg2
= 0 ;
13429 bool arg3
= (bool) true ;
13430 wxFontEncoding result
;
13433 bool temp2
= false ;
13436 PyObject
* obj0
= 0 ;
13437 PyObject
* obj1
= 0 ;
13438 PyObject
* obj2
= 0 ;
13439 char * kwnames
[] = {
13440 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13445 if (!SWIG_IsOK(res1
)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13448 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13450 arg2
= wxString_in_helper(obj1
);
13451 if (arg2
== NULL
) SWIG_fail
;
13455 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13456 if (!SWIG_IsOK(ecode3
)) {
13457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13459 arg3
= static_cast< bool >(val3
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_From_int(static_cast< int >(result
));
13482 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13483 PyObject
*resultobj
= 0;
13486 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13500 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
= 0;
13503 wxFontEncoding result
;
13506 PyObject
* obj0
= 0 ;
13507 char * kwnames
[] = {
13511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13512 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13513 if (!SWIG_IsOK(ecode1
)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13516 arg1
= static_cast< size_t >(val1
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_From_int(static_cast< int >(result
));
13530 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
= 0;
13532 wxFontEncoding arg1
;
13536 PyObject
* obj0
= 0 ;
13537 char * kwnames
[] = {
13538 (char *) "encoding", NULL
13541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13542 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13543 if (!SWIG_IsOK(ecode1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13546 arg1
= static_cast< wxFontEncoding
>(val1
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= wxFontMapper::GetEncodingName(arg1
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13566 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
= 0;
13568 wxFontEncoding arg1
;
13572 PyObject
* obj0
= 0 ;
13573 char * kwnames
[] = {
13574 (char *) "encoding", NULL
13577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13578 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13579 if (!SWIG_IsOK(ecode1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13582 arg1
= static_cast< wxFontEncoding
>(val1
);
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= wxFontMapper::GetEncodingDescription(arg1
);
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13602 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxString
*arg1
= 0 ;
13605 wxFontEncoding result
;
13606 bool temp1
= false ;
13607 PyObject
* obj0
= 0 ;
13608 char * kwnames
[] = {
13609 (char *) "name", NULL
13612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13614 arg1
= wxString_in_helper(obj0
);
13615 if (arg1
== NULL
) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_From_int(static_cast< int >(result
));
13639 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
= 0;
13641 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13642 wxString
*arg2
= 0 ;
13645 bool temp2
= false ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char * kwnames
[] = {
13649 (char *) "self",(char *) "prefix", NULL
13652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13654 if (!SWIG_IsOK(res1
)) {
13655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13657 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13659 arg2
= wxString_in_helper(obj1
);
13660 if (arg2
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_Py_Void();
13684 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13685 PyObject
*resultobj
= 0;
13688 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= wxFontMapper::GetDefaultConfigPath();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13708 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
= 0;
13710 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13711 wxFontEncoding arg2
;
13712 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13713 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13714 bool arg4
= (bool) true ;
13715 PyObject
*result
= 0 ;
13720 bool temp3
= false ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 PyObject
* obj2
= 0 ;
13726 PyObject
* obj3
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13736 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13738 if (!SWIG_IsOK(ecode2
)) {
13739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13741 arg2
= static_cast< wxFontEncoding
>(val2
);
13744 arg3
= wxString_in_helper(obj2
);
13745 if (arg3
== NULL
) SWIG_fail
;
13750 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13751 if (!SWIG_IsOK(ecode4
)) {
13752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13754 arg4
= static_cast< bool >(val4
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= result
;
13777 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13779 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13780 wxFontEncoding arg2
;
13781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13788 bool temp3
= false ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 PyObject
* obj2
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13798 if (!SWIG_IsOK(res1
)) {
13799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13801 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13803 if (!SWIG_IsOK(ecode2
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13806 arg2
= static_cast< wxFontEncoding
>(val2
);
13809 arg3
= wxString_in_helper(obj2
);
13810 if (arg3
== NULL
) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13837 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
= 0;
13839 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13840 wxWindow
*arg2
= (wxWindow
*) 0 ;
13845 PyObject
* obj0
= 0 ;
13846 PyObject
* obj1
= 0 ;
13847 char * kwnames
[] = {
13848 (char *) "self",(char *) "parent", NULL
13851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13853 if (!SWIG_IsOK(res1
)) {
13854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13856 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13858 if (!SWIG_IsOK(res2
)) {
13859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13861 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 (arg1
)->SetDialogParent(arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= SWIG_Py_Void();
13875 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
= 0;
13877 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13878 wxString
*arg2
= 0 ;
13881 bool temp2
= false ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char * kwnames
[] = {
13885 (char *) "self",(char *) "title", NULL
13888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13893 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13895 arg2
= wxString_in_helper(obj1
);
13896 if (arg2
== NULL
) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_Py_Void();
13920 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13923 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13924 return SWIG_Py_Void();
13927 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13928 return SWIG_Python_InitShadowInstance(args
);
13931 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= 0;
13937 bool arg5
= (bool) false ;
13938 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13939 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13940 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13941 wxFont
*result
= 0 ;
13952 bool temp6
= false ;
13955 PyObject
* obj0
= 0 ;
13956 PyObject
* obj1
= 0 ;
13957 PyObject
* obj2
= 0 ;
13958 PyObject
* obj3
= 0 ;
13959 PyObject
* obj4
= 0 ;
13960 PyObject
* obj5
= 0 ;
13961 PyObject
* obj6
= 0 ;
13962 char * kwnames
[] = {
13963 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13968 if (!SWIG_IsOK(ecode1
)) {
13969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13971 arg1
= static_cast< int >(val1
);
13972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13973 if (!SWIG_IsOK(ecode2
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13976 arg2
= static_cast< int >(val2
);
13977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13978 if (!SWIG_IsOK(ecode3
)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13981 arg3
= static_cast< int >(val3
);
13982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13983 if (!SWIG_IsOK(ecode4
)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13986 arg4
= static_cast< int >(val4
);
13988 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13989 if (!SWIG_IsOK(ecode5
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13992 arg5
= static_cast< bool >(val5
);
13996 arg6
= wxString_in_helper(obj5
);
13997 if (arg6
== NULL
) SWIG_fail
;
14002 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14003 if (!SWIG_IsOK(ecode7
)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14006 arg7
= static_cast< wxFontEncoding
>(val7
);
14009 if (!wxPyCheckForApp()) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14012 wxPyEndAllowThreads(__tstate
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14030 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14031 PyObject
*resultobj
= 0;
14032 wxFont
*arg1
= (wxFont
*) 0 ;
14035 PyObject
*swig_obj
[1] ;
14037 if (!args
) SWIG_fail
;
14038 swig_obj
[0] = args
;
14039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14043 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= SWIG_Py_Void();
14058 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
= 0;
14060 wxNativeFontInfo
*arg1
= 0 ;
14061 wxFont
*result
= 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char * kwnames
[] = {
14066 (char *) "info", NULL
14069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14070 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14071 if (!SWIG_IsOK(res1
)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14077 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14079 if (!wxPyCheckForApp()) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14092 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
= 0;
14094 wxString
*arg1
= 0 ;
14095 wxFont
*result
= 0 ;
14096 bool temp1
= false ;
14097 PyObject
* obj0
= 0 ;
14098 char * kwnames
[] = {
14099 (char *) "info", NULL
14102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14104 arg1
= wxString_in_helper(obj0
);
14105 if (arg1
== NULL
) SWIG_fail
;
14109 if (!wxPyCheckForApp()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14130 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
= 0;
14133 wxFontFamily arg2
;
14134 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14135 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14136 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14137 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14138 wxFont
*result
= 0 ;
14145 bool temp4
= false ;
14148 PyObject
* obj0
= 0 ;
14149 PyObject
* obj1
= 0 ;
14150 PyObject
* obj2
= 0 ;
14151 PyObject
* obj3
= 0 ;
14152 PyObject
* obj4
= 0 ;
14153 char * kwnames
[] = {
14154 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14158 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14159 if (!SWIG_IsOK(ecode1
)) {
14160 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14162 arg1
= static_cast< int >(val1
);
14163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14164 if (!SWIG_IsOK(ecode2
)) {
14165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14167 arg2
= static_cast< wxFontFamily
>(val2
);
14169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14170 if (!SWIG_IsOK(ecode3
)) {
14171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14173 arg3
= static_cast< int >(val3
);
14177 arg4
= wxString_in_helper(obj3
);
14178 if (arg4
== NULL
) SWIG_fail
;
14183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14184 if (!SWIG_IsOK(ecode5
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14187 arg5
= static_cast< wxFontEncoding
>(val5
);
14190 if (!wxPyCheckForApp()) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14211 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
= 0;
14217 bool arg5
= (bool) false ;
14218 wxString
const &arg6_defvalue
= wxEmptyString
;
14219 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14220 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14221 wxFont
*result
= 0 ;
14231 bool temp6
= false ;
14234 PyObject
* obj0
= 0 ;
14235 PyObject
* obj1
= 0 ;
14236 PyObject
* obj2
= 0 ;
14237 PyObject
* obj3
= 0 ;
14238 PyObject
* obj4
= 0 ;
14239 PyObject
* obj5
= 0 ;
14240 PyObject
* obj6
= 0 ;
14241 char * kwnames
[] = {
14242 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14248 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14251 if (!SWIG_IsOK(ecode2
)) {
14252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14254 arg2
= static_cast< int >(val2
);
14255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14256 if (!SWIG_IsOK(ecode3
)) {
14257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14259 arg3
= static_cast< int >(val3
);
14260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14261 if (!SWIG_IsOK(ecode4
)) {
14262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14264 arg4
= static_cast< int >(val4
);
14266 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14267 if (!SWIG_IsOK(ecode5
)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14270 arg5
= static_cast< bool >(val5
);
14274 arg6
= wxString_in_helper(obj5
);
14275 if (arg6
== NULL
) SWIG_fail
;
14280 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14281 if (!SWIG_IsOK(ecode7
)) {
14282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14284 arg7
= static_cast< wxFontEncoding
>(val7
);
14287 if (!wxPyCheckForApp()) SWIG_fail
;
14288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14289 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14308 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
= 0;
14311 wxFontFamily arg2
;
14312 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14313 wxString
const &arg4_defvalue
= wxEmptyString
;
14314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14315 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14316 wxFont
*result
= 0 ;
14322 bool temp4
= false ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 PyObject
* obj3
= 0 ;
14329 PyObject
* obj4
= 0 ;
14330 char * kwnames
[] = {
14331 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14337 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14340 if (!SWIG_IsOK(ecode2
)) {
14341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14343 arg2
= static_cast< wxFontFamily
>(val2
);
14345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14346 if (!SWIG_IsOK(ecode3
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14349 arg3
= static_cast< int >(val3
);
14353 arg4
= wxString_in_helper(obj3
);
14354 if (arg4
== NULL
) SWIG_fail
;
14359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14360 if (!SWIG_IsOK(ecode5
)) {
14361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14363 arg5
= static_cast< wxFontEncoding
>(val5
);
14366 if (!wxPyCheckForApp()) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14387 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14388 PyObject
*resultobj
= 0;
14389 wxFont
*arg1
= (wxFont
*) 0 ;
14393 PyObject
*swig_obj
[1] ;
14395 if (!args
) SWIG_fail
;
14396 swig_obj
[0] = args
;
14397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14398 if (!SWIG_IsOK(res1
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14401 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14417 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
= 0;
14419 wxFont
*arg1
= (wxFont
*) 0 ;
14420 wxFont
*arg2
= (wxFont
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char * kwnames
[] = {
14429 (char *) "self",(char *) "other", NULL
14432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14434 if (!SWIG_IsOK(res1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14437 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14439 if (!SWIG_IsOK(res2
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14442 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14458 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
= 0;
14460 wxFont
*arg1
= (wxFont
*) 0 ;
14461 wxFont
*arg2
= (wxFont
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "self",(char *) "other", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14475 if (!SWIG_IsOK(res1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14478 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14480 if (!SWIG_IsOK(res2
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14483 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14499 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14500 PyObject
*resultobj
= 0;
14501 wxFont
*arg1
= (wxFont
*) 0 ;
14505 PyObject
*swig_obj
[1] ;
14507 if (!args
) SWIG_fail
;
14508 swig_obj
[0] = args
;
14509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14510 if (!SWIG_IsOK(res1
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14513 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_From_int(static_cast< int >(result
));
14527 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14528 PyObject
*resultobj
= 0;
14529 wxFont
*arg1
= (wxFont
*) 0 ;
14533 PyObject
*swig_obj
[1] ;
14535 if (!args
) SWIG_fail
;
14536 swig_obj
[0] = args
;
14537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14538 if (!SWIG_IsOK(res1
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14541 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14555 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14556 PyObject
*resultobj
= 0;
14557 wxFont
*arg1
= (wxFont
*) 0 ;
14561 PyObject
*swig_obj
[1] ;
14563 if (!args
) SWIG_fail
;
14564 swig_obj
[0] = args
;
14565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14566 if (!SWIG_IsOK(res1
)) {
14567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14569 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14585 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14586 PyObject
*resultobj
= 0;
14587 wxFont
*arg1
= (wxFont
*) 0 ;
14591 PyObject
*swig_obj
[1] ;
14593 if (!args
) SWIG_fail
;
14594 swig_obj
[0] = args
;
14595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14596 if (!SWIG_IsOK(res1
)) {
14597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14599 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 resultobj
= SWIG_From_int(static_cast< int >(result
));
14613 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14614 PyObject
*resultobj
= 0;
14615 wxFont
*arg1
= (wxFont
*) 0 ;
14619 PyObject
*swig_obj
[1] ;
14621 if (!args
) SWIG_fail
;
14622 swig_obj
[0] = args
;
14623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14624 if (!SWIG_IsOK(res1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14627 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_From_int(static_cast< int >(result
));
14641 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14642 PyObject
*resultobj
= 0;
14643 wxFont
*arg1
= (wxFont
*) 0 ;
14647 PyObject
*swig_obj
[1] ;
14649 if (!args
) SWIG_fail
;
14650 swig_obj
[0] = args
;
14651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_From_int(static_cast< int >(result
));
14669 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14670 PyObject
*resultobj
= 0;
14671 wxFont
*arg1
= (wxFont
*) 0 ;
14675 PyObject
*swig_obj
[1] ;
14677 if (!args
) SWIG_fail
;
14678 swig_obj
[0] = args
;
14679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14683 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxFont
*arg1
= (wxFont
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14713 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= ((wxFont
const *)arg1
)->GetFaceName();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14733 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14734 PyObject
*resultobj
= 0;
14735 wxFont
*arg1
= (wxFont
*) 0 ;
14736 wxFontEncoding result
;
14739 PyObject
*swig_obj
[1] ;
14741 if (!args
) SWIG_fail
;
14742 swig_obj
[0] = args
;
14743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14744 if (!SWIG_IsOK(res1
)) {
14745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14747 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_From_int(static_cast< int >(result
));
14761 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14762 PyObject
*resultobj
= 0;
14763 wxFont
*arg1
= (wxFont
*) 0 ;
14764 wxNativeFontInfo
*result
= 0 ;
14767 PyObject
*swig_obj
[1] ;
14769 if (!args
) SWIG_fail
;
14770 swig_obj
[0] = args
;
14771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14775 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14789 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14790 PyObject
*resultobj
= 0;
14791 wxFont
*arg1
= (wxFont
*) 0 ;
14795 PyObject
*swig_obj
[1] ;
14797 if (!args
) SWIG_fail
;
14798 swig_obj
[0] = args
;
14799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14803 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 PyObject
*resultobj
= 0;
14821 wxFont
*arg1
= (wxFont
*) 0 ;
14825 PyObject
*swig_obj
[1] ;
14827 if (!args
) SWIG_fail
;
14828 swig_obj
[0] = args
;
14829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14833 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14853 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14854 PyObject
*resultobj
= 0;
14855 wxFont
*arg1
= (wxFont
*) 0 ;
14859 PyObject
*swig_obj
[1] ;
14861 if (!args
) SWIG_fail
;
14862 swig_obj
[0] = args
;
14863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14864 if (!SWIG_IsOK(res1
)) {
14865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14867 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14887 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
= 0;
14889 wxFont
*arg1
= (wxFont
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char * kwnames
[] = {
14898 (char *) "self",(char *) "pointSize", NULL
14901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14903 if (!SWIG_IsOK(res1
)) {
14904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14906 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14908 if (!SWIG_IsOK(ecode2
)) {
14909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14911 arg2
= static_cast< int >(val2
);
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 (arg1
)->SetPointSize(arg2
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_Py_Void();
14925 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
= 0;
14927 wxFont
*arg1
= (wxFont
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "pixelSize", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14943 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_Py_Void();
14961 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= 0;
14963 wxFont
*arg1
= (wxFont
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char * kwnames
[] = {
14972 (char *) "self",(char *) "family", NULL
14975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14980 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14982 if (!SWIG_IsOK(ecode2
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14985 arg2
= static_cast< int >(val2
);
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetFamily(arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxFont
*arg1
= (wxFont
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char * kwnames
[] = {
15010 (char *) "self",(char *) "style", NULL
15013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15018 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15020 if (!SWIG_IsOK(ecode2
)) {
15021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15023 arg2
= static_cast< int >(val2
);
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 (arg1
)->SetStyle(arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_Py_Void();
15037 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
= 0;
15039 wxFont
*arg1
= (wxFont
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 char * kwnames
[] = {
15048 (char *) "self",(char *) "weight", NULL
15051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15056 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15058 if (!SWIG_IsOK(ecode2
)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15061 arg2
= static_cast< int >(val2
);
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->SetWeight(arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= SWIG_Py_Void();
15075 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxFont
*arg1
= (wxFont
*) 0 ;
15078 wxString
*arg2
= 0 ;
15082 bool temp2
= false ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 char * kwnames
[] = {
15086 (char *) "self",(char *) "faceName", NULL
15089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15094 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15096 arg2
= wxString_in_helper(obj1
);
15097 if (arg2
== NULL
) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15123 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
= 0;
15125 wxFont
*arg1
= (wxFont
*) 0 ;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 char * kwnames
[] = {
15134 (char *) "self",(char *) "underlined", NULL
15137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15139 if (!SWIG_IsOK(res1
)) {
15140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15142 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15143 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15144 if (!SWIG_IsOK(ecode2
)) {
15145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15147 arg2
= static_cast< bool >(val2
);
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->SetUnderlined(arg2
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_Py_Void();
15161 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
= 0;
15163 wxFont
*arg1
= (wxFont
*) 0 ;
15164 wxFontEncoding arg2
;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 char * kwnames
[] = {
15172 (char *) "self",(char *) "encoding", NULL
15175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15177 if (!SWIG_IsOK(res1
)) {
15178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15180 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15182 if (!SWIG_IsOK(ecode2
)) {
15183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15185 arg2
= static_cast< wxFontEncoding
>(val2
);
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 (arg1
)->SetEncoding(arg2
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= SWIG_Py_Void();
15199 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
= 0;
15201 wxFont
*arg1
= (wxFont
*) 0 ;
15202 wxNativeFontInfo
*arg2
= 0 ;
15207 PyObject
* obj0
= 0 ;
15208 PyObject
* obj1
= 0 ;
15209 char * kwnames
[] = {
15210 (char *) "self",(char *) "info", NULL
15213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15218 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15220 if (!SWIG_IsOK(res2
)) {
15221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15226 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= SWIG_Py_Void();
15240 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
= 0;
15242 wxFont
*arg1
= (wxFont
*) 0 ;
15243 wxString
*arg2
= 0 ;
15247 bool temp2
= false ;
15248 PyObject
* obj0
= 0 ;
15249 PyObject
* obj1
= 0 ;
15250 char * kwnames
[] = {
15251 (char *) "self",(char *) "info", NULL
15254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15256 if (!SWIG_IsOK(res1
)) {
15257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15259 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15261 arg2
= wxString_in_helper(obj1
);
15262 if (arg2
== NULL
) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15288 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
= 0;
15290 wxFont
*arg1
= (wxFont
*) 0 ;
15291 wxString
*arg2
= 0 ;
15295 bool temp2
= false ;
15296 PyObject
* obj0
= 0 ;
15297 PyObject
* obj1
= 0 ;
15298 char * kwnames
[] = {
15299 (char *) "self",(char *) "info", NULL
15302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15304 if (!SWIG_IsOK(res1
)) {
15305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15307 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15309 arg2
= wxString_in_helper(obj1
);
15310 if (arg2
== NULL
) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15336 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15337 PyObject
*resultobj
= 0;
15338 wxFont
*arg1
= (wxFont
*) 0 ;
15342 PyObject
*swig_obj
[1] ;
15344 if (!args
) SWIG_fail
;
15345 swig_obj
[0] = args
;
15346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15347 if (!SWIG_IsOK(res1
)) {
15348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15350 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15370 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15371 PyObject
*resultobj
= 0;
15372 wxFont
*arg1
= (wxFont
*) 0 ;
15376 PyObject
*swig_obj
[1] ;
15378 if (!args
) SWIG_fail
;
15379 swig_obj
[0] = args
;
15380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15381 if (!SWIG_IsOK(res1
)) {
15382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= ((wxFont
const *)arg1
)->GetStyleString();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15404 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxFont
*arg1
= (wxFont
*) 0 ;
15410 PyObject
*swig_obj
[1] ;
15412 if (!args
) SWIG_fail
;
15413 swig_obj
[0] = args
;
15414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15418 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= ((wxFont
const *)arg1
)->GetWeightString();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15438 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
= 0;
15440 wxFont
*arg1
= (wxFont
*) 0 ;
15441 bool arg2
= (bool) true ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char * kwnames
[] = {
15449 (char *) "self",(char *) "no", NULL
15452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15454 if (!SWIG_IsOK(res1
)) {
15455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15457 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15459 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15460 if (!SWIG_IsOK(ecode2
)) {
15461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15463 arg2
= static_cast< bool >(val2
);
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetNoAntiAliasing(arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_Py_Void();
15478 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15479 PyObject
*resultobj
= 0;
15480 wxFont
*arg1
= (wxFont
*) 0 ;
15484 PyObject
*swig_obj
[1] ;
15486 if (!args
) SWIG_fail
;
15487 swig_obj
[0] = args
;
15488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15489 if (!SWIG_IsOK(res1
)) {
15490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15492 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15508 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15509 PyObject
*resultobj
= 0;
15510 wxFontEncoding result
;
15512 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15514 if (!wxPyCheckForApp()) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= SWIG_From_int(static_cast< int >(result
));
15527 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
= 0;
15529 wxFontEncoding arg1
;
15532 PyObject
* obj0
= 0 ;
15533 char * kwnames
[] = {
15534 (char *) "encoding", NULL
15537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15538 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15539 if (!SWIG_IsOK(ecode1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15542 arg1
= static_cast< wxFontEncoding
>(val1
);
15544 if (!wxPyCheckForApp()) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 wxFont::SetDefaultEncoding(arg1
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15557 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15560 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15561 return SWIG_Py_Void();
15564 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15565 return SWIG_Python_InitShadowInstance(args
);
15568 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15569 PyObject
*resultobj
= 0;
15570 wxPyFontEnumerator
*result
= 0 ;
15572 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15574 if (!wxPyCheckForApp()) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15587 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15588 PyObject
*resultobj
= 0;
15589 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15592 PyObject
*swig_obj
[1] ;
15594 if (!args
) SWIG_fail
;
15595 swig_obj
[0] = args
;
15596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15597 if (!SWIG_IsOK(res1
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15600 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_Py_Void();
15615 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
= 0;
15617 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15618 PyObject
*arg2
= (PyObject
*) 0 ;
15619 PyObject
*arg3
= (PyObject
*) 0 ;
15620 int arg4
= (int) 0 ;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 PyObject
* obj2
= 0 ;
15628 PyObject
* obj3
= 0 ;
15629 char * kwnames
[] = {
15630 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15635 if (!SWIG_IsOK(res1
)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15638 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15643 if (!SWIG_IsOK(ecode4
)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15646 arg4
= static_cast< int >(val4
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_Py_Void();
15661 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
= 0;
15663 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15664 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15665 bool arg3
= (bool) false ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 PyObject
* obj2
= 0 ;
15676 char * kwnames
[] = {
15677 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15685 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15688 if (!SWIG_IsOK(ecode2
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15691 arg2
= static_cast< wxFontEncoding
>(val2
);
15694 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15695 if (!SWIG_IsOK(ecode3
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15698 arg3
= static_cast< bool >(val3
);
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15715 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
= 0;
15717 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15718 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15719 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15723 bool temp2
= false ;
15724 PyObject
* obj0
= 0 ;
15725 PyObject
* obj1
= 0 ;
15726 char * kwnames
[] = {
15727 (char *) "self",(char *) "facename", NULL
15730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15732 if (!SWIG_IsOK(res1
)) {
15733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15735 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15738 arg2
= wxString_in_helper(obj1
);
15739 if (arg2
== NULL
) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15767 PyObject
*resultobj
= 0;
15768 PyObject
*result
= 0 ;
15770 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
;
15784 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15785 PyObject
*resultobj
= 0;
15786 PyObject
*result
= 0 ;
15788 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= result
;
15802 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
= 0;
15804 wxString
*arg1
= 0 ;
15806 bool temp1
= false ;
15807 PyObject
* obj0
= 0 ;
15808 char * kwnames
[] = {
15809 (char *) "str", NULL
15812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15814 arg1
= wxString_in_helper(obj0
);
15815 if (arg1
== NULL
) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15841 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15844 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15845 return SWIG_Py_Void();
15848 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15849 return SWIG_Python_InitShadowInstance(args
);
15852 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15853 PyObject
*resultobj
= 0;
15854 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15860 PyObject
*swig_obj
[2] ;
15862 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15864 if (!SWIG_IsOK(res1
)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15867 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15868 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15869 if (!SWIG_IsOK(ecode2
)) {
15870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15872 arg2
= static_cast< int >(val2
);
15873 if (arg1
) (arg1
)->Language
= arg2
;
15875 resultobj
= SWIG_Py_Void();
15882 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15883 PyObject
*resultobj
= 0;
15884 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15888 PyObject
*swig_obj
[1] ;
15890 if (!args
) SWIG_fail
;
15891 swig_obj
[0] = args
;
15892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15896 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15897 result
= (int) ((arg1
)->Language
);
15898 resultobj
= SWIG_From_int(static_cast< int >(result
));
15905 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15906 PyObject
*resultobj
= 0;
15907 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15908 wxString
*arg2
= (wxString
*) 0 ;
15911 bool temp2
= false ;
15912 PyObject
*swig_obj
[2] ;
15914 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15919 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15921 arg2
= wxString_in_helper(swig_obj
[1]);
15922 if (arg2
== NULL
) SWIG_fail
;
15925 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15927 resultobj
= SWIG_Py_Void();
15942 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15943 PyObject
*resultobj
= 0;
15944 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15945 wxString
*result
= 0 ;
15948 PyObject
*swig_obj
[1] ;
15950 if (!args
) SWIG_fail
;
15951 swig_obj
[0] = args
;
15952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15953 if (!SWIG_IsOK(res1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15956 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15957 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15971 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15972 PyObject
*resultobj
= 0;
15973 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15974 wxString
*arg2
= (wxString
*) 0 ;
15977 bool temp2
= false ;
15978 PyObject
*swig_obj
[2] ;
15980 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15982 if (!SWIG_IsOK(res1
)) {
15983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15985 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15987 arg2
= wxString_in_helper(swig_obj
[1]);
15988 if (arg2
== NULL
) SWIG_fail
;
15991 if (arg1
) (arg1
)->Description
= *arg2
;
15993 resultobj
= SWIG_Py_Void();
16008 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16009 PyObject
*resultobj
= 0;
16010 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16011 wxString
*result
= 0 ;
16014 PyObject
*swig_obj
[1] ;
16016 if (!args
) SWIG_fail
;
16017 swig_obj
[0] = args
;
16018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16019 if (!SWIG_IsOK(res1
)) {
16020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16022 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16023 result
= (wxString
*)& ((arg1
)->Description
);
16026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16037 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16040 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16041 return SWIG_Py_Void();
16044 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= 0;
16046 int arg1
= (int) -1 ;
16047 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16048 wxLocale
*result
= 0 ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "language",(char *) "flags", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16062 if (!SWIG_IsOK(ecode1
)) {
16063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16065 arg1
= static_cast< int >(val1
);
16068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16069 if (!SWIG_IsOK(ecode2
)) {
16070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16072 arg2
= static_cast< int >(val2
);
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16087 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16088 PyObject
*resultobj
= 0;
16089 wxLocale
*arg1
= (wxLocale
*) 0 ;
16092 PyObject
*swig_obj
[1] ;
16094 if (!args
) SWIG_fail
;
16095 swig_obj
[0] = args
;
16096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16097 if (!SWIG_IsOK(res1
)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16100 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= SWIG_Py_Void();
16115 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
= 0;
16117 wxLocale
*arg1
= (wxLocale
*) 0 ;
16118 wxString
*arg2
= 0 ;
16119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16121 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16122 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16123 bool arg5
= (bool) true ;
16124 bool arg6
= (bool) false ;
16128 bool temp2
= false ;
16129 bool temp3
= false ;
16130 bool temp4
= false ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 PyObject
* obj2
= 0 ;
16138 PyObject
* obj3
= 0 ;
16139 PyObject
* obj4
= 0 ;
16140 PyObject
* obj5
= 0 ;
16141 char * kwnames
[] = {
16142 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16147 if (!SWIG_IsOK(res1
)) {
16148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16150 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16152 arg2
= wxString_in_helper(obj1
);
16153 if (arg2
== NULL
) SWIG_fail
;
16158 arg3
= wxString_in_helper(obj2
);
16159 if (arg3
== NULL
) SWIG_fail
;
16165 arg4
= wxString_in_helper(obj3
);
16166 if (arg4
== NULL
) SWIG_fail
;
16171 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16172 if (!SWIG_IsOK(ecode5
)) {
16173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16175 arg5
= static_cast< bool >(val5
);
16178 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16179 if (!SWIG_IsOK(ecode6
)) {
16180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16182 arg6
= static_cast< bool >(val6
);
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16223 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
= 0;
16225 wxLocale
*arg1
= (wxLocale
*) 0 ;
16226 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16227 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 PyObject
* obj2
= 0 ;
16238 char * kwnames
[] = {
16239 (char *) "self",(char *) "language",(char *) "flags", NULL
16242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16247 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16250 if (!SWIG_IsOK(ecode2
)) {
16251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16253 arg2
= static_cast< int >(val2
);
16256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16257 if (!SWIG_IsOK(ecode3
)) {
16258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16260 arg3
= static_cast< int >(val3
);
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16277 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16278 PyObject
*resultobj
= 0;
16281 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (int)wxLocale::GetSystemLanguage();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_From_int(static_cast< int >(result
));
16295 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16296 PyObject
*resultobj
= 0;
16297 wxFontEncoding result
;
16299 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_From_int(static_cast< int >(result
));
16313 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 PyObject
*resultobj
= 0;
16317 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= wxLocale::GetSystemEncodingName();
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16337 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16338 PyObject
*resultobj
= 0;
16339 wxLocale
*arg1
= (wxLocale
*) 0 ;
16343 PyObject
*swig_obj
[1] ;
16345 if (!args
) SWIG_fail
;
16346 swig_obj
[0] = args
;
16347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16348 if (!SWIG_IsOK(res1
)) {
16349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16351 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16368 PyObject
*resultobj
= 0;
16369 wxLocale
*arg1
= (wxLocale
*) 0 ;
16373 PyObject
*swig_obj
[1] ;
16375 if (!args
) SWIG_fail
;
16376 swig_obj
[0] = args
;
16377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16378 if (!SWIG_IsOK(res1
)) {
16379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16381 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= ((wxLocale
const *)arg1
)->GetLocale();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16401 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16402 PyObject
*resultobj
= 0;
16403 wxLocale
*arg1
= (wxLocale
*) 0 ;
16407 PyObject
*swig_obj
[1] ;
16409 if (!args
) SWIG_fail
;
16410 swig_obj
[0] = args
;
16411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16415 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= SWIG_From_int(static_cast< int >(result
));
16429 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16430 PyObject
*resultobj
= 0;
16431 wxLocale
*arg1
= (wxLocale
*) 0 ;
16435 PyObject
*swig_obj
[1] ;
16437 if (!args
) SWIG_fail
;
16438 swig_obj
[0] = args
;
16439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16440 if (!SWIG_IsOK(res1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16443 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= ((wxLocale
const *)arg1
)->GetSysName();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16463 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16464 PyObject
*resultobj
= 0;
16465 wxLocale
*arg1
= (wxLocale
*) 0 ;
16469 PyObject
*swig_obj
[1] ;
16471 if (!args
) SWIG_fail
;
16472 swig_obj
[0] = args
;
16473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16477 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16497 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
= 0;
16499 wxString
*arg1
= 0 ;
16500 bool temp1
= false ;
16501 PyObject
* obj0
= 0 ;
16502 char * kwnames
[] = {
16503 (char *) "prefix", NULL
16506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16508 arg1
= wxString_in_helper(obj0
);
16509 if (arg1
== NULL
) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
= 0;
16535 wxLocale
*arg1
= (wxLocale
*) 0 ;
16536 wxString
*arg2
= 0 ;
16540 bool temp2
= false ;
16541 PyObject
* obj0
= 0 ;
16542 PyObject
* obj1
= 0 ;
16543 char * kwnames
[] = {
16544 (char *) "self",(char *) "domain", NULL
16547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16549 if (!SWIG_IsOK(res1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16552 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16554 arg2
= wxString_in_helper(obj1
);
16555 if (arg2
== NULL
) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16581 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
= 0;
16587 PyObject
* obj0
= 0 ;
16588 char * kwnames
[] = {
16589 (char *) "lang", NULL
16592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16594 if (!SWIG_IsOK(ecode1
)) {
16595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16597 arg1
= static_cast< int >(val1
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (bool)wxLocale::IsAvailable(arg1
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16613 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
= 0;
16615 wxLocale
*arg1
= (wxLocale
*) 0 ;
16616 wxString
*arg2
= 0 ;
16620 bool temp2
= false ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char * kwnames
[] = {
16624 (char *) "self",(char *) "domain", NULL
16627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16632 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16634 arg2
= wxString_in_helper(obj1
);
16635 if (arg2
== NULL
) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16661 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
= 0;
16664 wxLanguageInfo
*result
= 0 ;
16667 PyObject
* obj0
= 0 ;
16668 char * kwnames
[] = {
16669 (char *) "lang", NULL
16672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16674 if (!SWIG_IsOK(ecode1
)) {
16675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16677 arg1
= static_cast< int >(val1
);
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16691 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
= 0;
16697 PyObject
* obj0
= 0 ;
16698 char * kwnames
[] = {
16699 (char *) "lang", NULL
16702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16704 if (!SWIG_IsOK(ecode1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16707 arg1
= static_cast< int >(val1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= wxLocale::GetLanguageName(arg1
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16727 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
= 0;
16729 wxString
*arg1
= 0 ;
16730 wxLanguageInfo
*result
= 0 ;
16731 bool temp1
= false ;
16732 PyObject
* obj0
= 0 ;
16733 char * kwnames
[] = {
16734 (char *) "locale", NULL
16737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16739 arg1
= wxString_in_helper(obj0
);
16740 if (arg1
== NULL
) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16764 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
= 0;
16766 wxLanguageInfo
*arg1
= 0 ;
16769 PyObject
* obj0
= 0 ;
16770 char * kwnames
[] = {
16771 (char *) "info", NULL
16774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16775 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16776 if (!SWIG_IsOK(res1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16782 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= SWIG_Py_Void();
16796 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
= 0;
16798 wxLocale
*arg1
= (wxLocale
*) 0 ;
16799 wxString
*arg2
= 0 ;
16800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16805 bool temp2
= false ;
16806 bool temp3
= false ;
16807 PyObject
* obj0
= 0 ;
16808 PyObject
* obj1
= 0 ;
16809 PyObject
* obj2
= 0 ;
16810 char * kwnames
[] = {
16811 (char *) "self",(char *) "origString",(char *) "domain", NULL
16814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16816 if (!SWIG_IsOK(res1
)) {
16817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16819 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16821 arg2
= wxString_in_helper(obj1
);
16822 if (arg2
== NULL
) SWIG_fail
;
16827 arg3
= wxString_in_helper(obj2
);
16828 if (arg3
== NULL
) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16867 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16868 PyObject
*resultobj
= 0;
16869 wxLocale
*arg1
= (wxLocale
*) 0 ;
16870 wxString
*result
= 0 ;
16873 PyObject
*swig_obj
[1] ;
16875 if (!args
) SWIG_fail
;
16876 swig_obj
[0] = args
;
16877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16881 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16886 result
= (wxString
*) &_result_ref
;
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16895 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16904 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16907 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16908 return SWIG_Py_Void();
16911 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16912 return SWIG_Python_InitShadowInstance(args
);
16915 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 int arg1
= (int) -1 ;
16918 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16919 wxPyLocale
*result
= 0 ;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 char * kwnames
[] = {
16927 (char *) "language",(char *) "flags", NULL
16930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16933 if (!SWIG_IsOK(ecode1
)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16936 arg1
= static_cast< int >(val1
);
16939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16940 if (!SWIG_IsOK(ecode2
)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16943 arg2
= static_cast< int >(val2
);
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16958 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 PyObject
*resultobj
= 0;
16960 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16963 PyObject
*swig_obj
[1] ;
16965 if (!args
) SWIG_fail
;
16966 swig_obj
[0] = args
;
16967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16968 if (!SWIG_IsOK(res1
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16971 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_Py_Void();
16986 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
= 0;
16988 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16989 PyObject
*arg2
= (PyObject
*) 0 ;
16990 PyObject
*arg3
= (PyObject
*) 0 ;
16993 PyObject
* obj0
= 0 ;
16994 PyObject
* obj1
= 0 ;
16995 PyObject
* obj2
= 0 ;
16996 char * kwnames
[] = {
16997 (char *) "self",(char *) "self",(char *) "_class", NULL
17000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17002 if (!SWIG_IsOK(res1
)) {
17003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17005 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= SWIG_Py_Void();
17021 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
= 0;
17023 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17024 wxString
*arg2
= 0 ;
17025 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17026 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17027 wxString
*result
= 0 ;
17030 bool temp2
= false ;
17031 bool temp3
= false ;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 PyObject
* obj2
= 0 ;
17035 char * kwnames
[] = {
17036 (char *) "self",(char *) "origString",(char *) "domain", NULL
17039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17041 if (!SWIG_IsOK(res1
)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17044 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17046 arg2
= wxString_in_helper(obj1
);
17047 if (arg2
== NULL
) SWIG_fail
;
17052 arg3
= wxString_in_helper(obj2
);
17053 if (arg3
== NULL
) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17061 result
= (wxString
*) &_result_ref
;
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17095 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
= 0;
17097 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17098 wxString
*arg2
= 0 ;
17099 wxString
*arg3
= 0 ;
17101 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17102 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17103 wxString
*result
= 0 ;
17106 bool temp2
= false ;
17107 bool temp3
= false ;
17110 bool temp5
= false ;
17111 PyObject
* obj0
= 0 ;
17112 PyObject
* obj1
= 0 ;
17113 PyObject
* obj2
= 0 ;
17114 PyObject
* obj3
= 0 ;
17115 PyObject
* obj4
= 0 ;
17116 char * kwnames
[] = {
17117 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17122 if (!SWIG_IsOK(res1
)) {
17123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17125 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17127 arg2
= wxString_in_helper(obj1
);
17128 if (arg2
== NULL
) SWIG_fail
;
17132 arg3
= wxString_in_helper(obj2
);
17133 if (arg3
== NULL
) SWIG_fail
;
17136 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17137 if (!SWIG_IsOK(ecode4
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17140 arg4
= static_cast< size_t >(val4
);
17143 arg5
= wxString_in_helper(obj4
);
17144 if (arg5
== NULL
) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17152 result
= (wxString
*) &_result_ref
;
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17194 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17198 return SWIG_Py_Void();
17201 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 return SWIG_Python_InitShadowInstance(args
);
17205 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17206 PyObject
*resultobj
= 0;
17207 wxLocale
*result
= 0 ;
17209 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxLocale
*)wxGetLocale();
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17223 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17224 PyObject
*resultobj
= 0;
17225 wxString
*arg1
= 0 ;
17227 bool temp1
= false ;
17229 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17231 arg1
= wxString_in_helper(swig_obj
[0]);
17232 if (arg1
== NULL
) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= wxGetTranslation((wxString
const &)*arg1
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17262 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17263 PyObject
*resultobj
= 0;
17264 wxString
*arg1
= 0 ;
17265 wxString
*arg2
= 0 ;
17267 bool temp1
= false ;
17268 bool temp2
= false ;
17270 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17272 arg1
= wxString_in_helper(swig_obj
[0]);
17273 if (arg1
== NULL
) SWIG_fail
;
17277 arg2
= wxString_in_helper(swig_obj
[1]);
17278 if (arg2
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17316 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17317 PyObject
*resultobj
= 0;
17318 wxString
*arg1
= 0 ;
17319 wxString
*arg2
= 0 ;
17322 bool temp1
= false ;
17323 bool temp2
= false ;
17327 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17329 arg1
= wxString_in_helper(swig_obj
[0]);
17330 if (arg1
== NULL
) SWIG_fail
;
17334 arg2
= wxString_in_helper(swig_obj
[1]);
17335 if (arg2
== NULL
) SWIG_fail
;
17338 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17339 if (!SWIG_IsOK(ecode3
)) {
17340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17342 arg3
= static_cast< size_t >(val3
);
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17378 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17379 PyObject
*resultobj
= 0;
17380 wxString
*arg1
= 0 ;
17381 wxString
*arg2
= 0 ;
17383 wxString
*arg4
= 0 ;
17385 bool temp1
= false ;
17386 bool temp2
= false ;
17389 bool temp4
= false ;
17391 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17393 arg1
= wxString_in_helper(swig_obj
[0]);
17394 if (arg1
== NULL
) SWIG_fail
;
17398 arg2
= wxString_in_helper(swig_obj
[1]);
17399 if (arg2
== NULL
) SWIG_fail
;
17402 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17403 if (!SWIG_IsOK(ecode3
)) {
17404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17406 arg3
= static_cast< size_t >(val3
);
17408 arg4
= wxString_in_helper(swig_obj
[3]);
17409 if (arg4
== NULL
) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17455 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17459 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17462 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17465 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17468 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17471 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17475 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17480 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17481 PyObject
*resultobj
= 0;
17482 wxEncodingConverter
*result
= 0 ;
17484 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17498 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17499 PyObject
*resultobj
= 0;
17500 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17503 PyObject
*swig_obj
[1] ;
17505 if (!args
) SWIG_fail
;
17506 swig_obj
[0] = args
;
17507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17511 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_Py_Void();
17526 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
= 0;
17528 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17529 wxFontEncoding arg2
;
17530 wxFontEncoding arg3
;
17531 int arg4
= (int) wxCONVERT_STRICT
;
17541 PyObject
* obj0
= 0 ;
17542 PyObject
* obj1
= 0 ;
17543 PyObject
* obj2
= 0 ;
17544 PyObject
* obj3
= 0 ;
17545 char * kwnames
[] = {
17546 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17551 if (!SWIG_IsOK(res1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17554 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17556 if (!SWIG_IsOK(ecode2
)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17559 arg2
= static_cast< wxFontEncoding
>(val2
);
17560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17561 if (!SWIG_IsOK(ecode3
)) {
17562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17564 arg3
= static_cast< wxFontEncoding
>(val3
);
17566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17567 if (!SWIG_IsOK(ecode4
)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17570 arg4
= static_cast< int >(val4
);
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17587 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
= 0;
17589 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17590 wxString
*arg2
= 0 ;
17594 bool temp2
= false ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 char * kwnames
[] = {
17598 (char *) "self",(char *) "input", NULL
17601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17603 if (!SWIG_IsOK(res1
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17606 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17608 arg2
= wxString_in_helper(obj1
);
17609 if (arg2
== NULL
) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17639 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
= 0;
17641 wxFontEncoding arg1
;
17642 int arg2
= (int) wxPLATFORM_CURRENT
;
17643 wxFontEncodingArray result
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 char * kwnames
[] = {
17651 (char *) "enc",(char *) "platform", NULL
17654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17656 if (!SWIG_IsOK(ecode1
)) {
17657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17659 arg1
= static_cast< wxFontEncoding
>(val1
);
17661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17662 if (!SWIG_IsOK(ecode2
)) {
17663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17665 arg2
= static_cast< int >(val2
);
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= PyList_New(0);
17675 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17676 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17677 PyList_Append(resultobj
, number
);
17687 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
= 0;
17689 wxFontEncoding arg1
;
17690 wxFontEncodingArray result
;
17693 PyObject
* obj0
= 0 ;
17694 char * kwnames
[] = {
17695 (char *) "enc", NULL
17698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17700 if (!SWIG_IsOK(ecode1
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17703 arg1
= static_cast< wxFontEncoding
>(val1
);
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= PyList_New(0);
17712 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17713 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17714 PyList_Append(resultobj
, number
);
17724 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
= 0;
17726 wxFontEncoding arg1
;
17727 wxFontEncoding arg2
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char * kwnames
[] = {
17736 (char *) "encIn",(char *) "encOut", NULL
17739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17741 if (!SWIG_IsOK(ecode1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17744 arg1
= static_cast< wxFontEncoding
>(val1
);
17745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17746 if (!SWIG_IsOK(ecode2
)) {
17747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17749 arg2
= static_cast< wxFontEncoding
>(val2
);
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17765 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17768 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17769 return SWIG_Py_Void();
17772 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17773 return SWIG_Python_InitShadowInstance(args
);
17776 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17777 PyObject
*resultobj
= 0;
17778 wxDC
*arg1
= (wxDC
*) 0 ;
17781 PyObject
*swig_obj
[1] ;
17783 if (!args
) SWIG_fail
;
17784 swig_obj
[0] = args
;
17785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17786 if (!SWIG_IsOK(res1
)) {
17787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 resultobj
= SWIG_Py_Void();
17804 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
= 0;
17806 wxDC
*arg1
= (wxDC
*) 0 ;
17809 wxColour
*arg4
= 0 ;
17810 int arg5
= (int) wxFLOOD_SURFACE
;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 PyObject
* obj2
= 0 ;
17824 PyObject
* obj3
= 0 ;
17825 PyObject
* obj4
= 0 ;
17826 char * kwnames
[] = {
17827 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17832 if (!SWIG_IsOK(res1
)) {
17833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17837 if (!SWIG_IsOK(ecode2
)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17840 arg2
= static_cast< int >(val2
);
17841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17842 if (!SWIG_IsOK(ecode3
)) {
17843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17845 arg3
= static_cast< int >(val3
);
17848 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17851 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17852 if (!SWIG_IsOK(ecode5
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17855 arg5
= static_cast< int >(val5
);
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
= 0;
17874 wxDC
*arg1
= (wxDC
*) 0 ;
17875 wxPoint
*arg2
= 0 ;
17876 wxColour
*arg3
= 0 ;
17877 int arg4
= (int) wxFLOOD_SURFACE
;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 char * kwnames
[] = {
17890 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17895 if (!SWIG_IsOK(res1
)) {
17896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17901 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17905 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17909 if (!SWIG_IsOK(ecode4
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17912 arg4
= static_cast< int >(val4
);
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17929 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
= 0;
17931 wxDC
*arg1
= (wxDC
*) 0 ;
17933 wxColour
*arg3
= 0 ;
17934 wxColour
*arg4
= 0 ;
17935 wxPoint
*arg5
= 0 ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 PyObject
* obj2
= 0 ;
17945 PyObject
* obj3
= 0 ;
17946 PyObject
* obj4
= 0 ;
17947 char * kwnames
[] = {
17948 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17953 if (!SWIG_IsOK(res1
)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17959 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17963 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17967 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17971 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_Py_Void();
17986 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxDC
*arg1
= (wxDC
*) 0 ;
17990 wxColour
*arg3
= 0 ;
17991 wxColour
*arg4
= 0 ;
17992 wxDirection arg5
= (wxDirection
) wxEAST
;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 PyObject
* obj2
= 0 ;
18003 PyObject
* obj3
= 0 ;
18004 PyObject
* obj4
= 0 ;
18005 char * kwnames
[] = {
18006 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18021 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18025 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18029 if (!SWIG_IsOK(ecode5
)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18032 arg5
= static_cast< wxDirection
>(val5
);
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_Py_Void();
18047 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
= 0;
18049 wxDC
*arg1
= (wxDC
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 char * kwnames
[] = {
18063 (char *) "self",(char *) "x",(char *) "y", NULL
18066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18068 if (!SWIG_IsOK(res1
)) {
18069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18073 if (!SWIG_IsOK(ecode2
)) {
18074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18076 arg2
= static_cast< int >(val2
);
18077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18078 if (!SWIG_IsOK(ecode3
)) {
18079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18081 arg3
= static_cast< int >(val3
);
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18095 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
= 0;
18097 wxDC
*arg1
= (wxDC
*) 0 ;
18098 wxPoint
*arg2
= 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char * kwnames
[] = {
18106 (char *) "self",(char *) "pt", NULL
18109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18111 if (!SWIG_IsOK(res1
)) {
18112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18132 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
= 0;
18134 wxDC
*arg1
= (wxDC
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 PyObject
* obj3
= 0 ;
18153 PyObject
* obj4
= 0 ;
18154 char * kwnames
[] = {
18155 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18160 if (!SWIG_IsOK(res1
)) {
18161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18165 if (!SWIG_IsOK(ecode2
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18168 arg2
= static_cast< int >(val2
);
18169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18170 if (!SWIG_IsOK(ecode3
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18173 arg3
= static_cast< int >(val3
);
18174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18175 if (!SWIG_IsOK(ecode4
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18178 arg4
= static_cast< int >(val4
);
18179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18180 if (!SWIG_IsOK(ecode5
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18183 arg5
= static_cast< int >(val5
);
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
= 0;
18199 wxDC
*arg1
= (wxDC
*) 0 ;
18200 wxPoint
*arg2
= 0 ;
18201 wxPoint
*arg3
= 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= SWIG_Py_Void();
18240 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
= 0;
18242 wxDC
*arg1
= (wxDC
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 PyObject
* obj2
= 0 ;
18254 char * kwnames
[] = {
18255 (char *) "self",(char *) "x",(char *) "y", NULL
18258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18260 if (!SWIG_IsOK(res1
)) {
18261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18265 if (!SWIG_IsOK(ecode2
)) {
18266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18268 arg2
= static_cast< int >(val2
);
18269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18270 if (!SWIG_IsOK(ecode3
)) {
18271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18273 arg3
= static_cast< int >(val3
);
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 (arg1
)->CrossHair(arg2
,arg3
);
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 resultobj
= SWIG_Py_Void();
18287 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
= 0;
18289 wxDC
*arg1
= (wxDC
*) 0 ;
18290 wxPoint
*arg2
= 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "self",(char *) "pt", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_Py_Void();
18323 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxDC
*arg1
= (wxDC
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 PyObject
* obj2
= 0 ;
18349 PyObject
* obj3
= 0 ;
18350 PyObject
* obj4
= 0 ;
18351 PyObject
* obj5
= 0 ;
18352 PyObject
* obj6
= 0 ;
18353 char * kwnames
[] = {
18354 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18359 if (!SWIG_IsOK(res1
)) {
18360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18364 if (!SWIG_IsOK(ecode2
)) {
18365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18367 arg2
= static_cast< int >(val2
);
18368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18369 if (!SWIG_IsOK(ecode3
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18372 arg3
= static_cast< int >(val3
);
18373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18374 if (!SWIG_IsOK(ecode4
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18377 arg4
= static_cast< int >(val4
);
18378 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18379 if (!SWIG_IsOK(ecode5
)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18382 arg5
= static_cast< int >(val5
);
18383 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18384 if (!SWIG_IsOK(ecode6
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18387 arg6
= static_cast< int >(val6
);
18388 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18389 if (!SWIG_IsOK(ecode7
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18392 arg7
= static_cast< int >(val7
);
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_Py_Void();
18406 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= 0;
18408 wxDC
*arg1
= (wxDC
*) 0 ;
18409 wxPoint
*arg2
= 0 ;
18410 wxPoint
*arg3
= 0 ;
18411 wxPoint
*arg4
= 0 ;
18417 PyObject
* obj0
= 0 ;
18418 PyObject
* obj1
= 0 ;
18419 PyObject
* obj2
= 0 ;
18420 PyObject
* obj3
= 0 ;
18421 char * kwnames
[] = {
18422 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_Py_Void();
18456 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
= 0;
18458 wxDC
*arg1
= (wxDC
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 PyObject
* obj2
= 0 ;
18476 PyObject
* obj3
= 0 ;
18477 PyObject
* obj4
= 0 ;
18478 char * kwnames
[] = {
18479 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18484 if (!SWIG_IsOK(res1
)) {
18485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18489 if (!SWIG_IsOK(ecode2
)) {
18490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18492 arg2
= static_cast< int >(val2
);
18493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18494 if (!SWIG_IsOK(ecode3
)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18497 arg3
= static_cast< int >(val3
);
18498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18499 if (!SWIG_IsOK(ecode4
)) {
18500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18502 arg4
= static_cast< int >(val4
);
18503 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18504 if (!SWIG_IsOK(ecode5
)) {
18505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18507 arg5
= static_cast< int >(val5
);
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_Py_Void();
18521 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
= 0;
18523 wxDC
*arg1
= (wxDC
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "rect", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18542 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_Py_Void();
18557 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
= 0;
18559 wxDC
*arg1
= (wxDC
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 PyObject
* obj2
= 0 ;
18583 PyObject
* obj3
= 0 ;
18584 PyObject
* obj4
= 0 ;
18585 PyObject
* obj5
= 0 ;
18586 PyObject
* obj6
= 0 ;
18587 char * kwnames
[] = {
18588 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18593 if (!SWIG_IsOK(res1
)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18598 if (!SWIG_IsOK(ecode2
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18601 arg2
= static_cast< int >(val2
);
18602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18603 if (!SWIG_IsOK(ecode3
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18606 arg3
= static_cast< int >(val3
);
18607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18608 if (!SWIG_IsOK(ecode4
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18611 arg4
= static_cast< int >(val4
);
18612 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18613 if (!SWIG_IsOK(ecode5
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18616 arg5
= static_cast< int >(val5
);
18617 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18618 if (!SWIG_IsOK(ecode6
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18621 arg6
= static_cast< double >(val6
);
18622 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18623 if (!SWIG_IsOK(ecode7
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18626 arg7
= static_cast< double >(val7
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_Py_Void();
18640 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= 0;
18642 wxDC
*arg1
= (wxDC
*) 0 ;
18643 wxPoint
*arg2
= 0 ;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 PyObject
* obj2
= 0 ;
18658 PyObject
* obj3
= 0 ;
18659 PyObject
* obj4
= 0 ;
18660 char * kwnames
[] = {
18661 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18676 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18678 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18679 if (!SWIG_IsOK(ecode4
)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18682 arg4
= static_cast< double >(val4
);
18683 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18684 if (!SWIG_IsOK(ecode5
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18687 arg5
= static_cast< double >(val5
);
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_Py_Void();
18701 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
= 0;
18703 wxDC
*arg1
= (wxDC
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 PyObject
* obj2
= 0 ;
18715 char * kwnames
[] = {
18716 (char *) "self",(char *) "x",(char *) "y", NULL
18719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18721 if (!SWIG_IsOK(res1
)) {
18722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18726 if (!SWIG_IsOK(ecode2
)) {
18727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18729 arg2
= static_cast< int >(val2
);
18730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18731 if (!SWIG_IsOK(ecode3
)) {
18732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18734 arg3
= static_cast< int >(val3
);
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->DrawPoint(arg2
,arg3
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_Py_Void();
18748 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18750 wxDC
*arg1
= (wxDC
*) 0 ;
18751 wxPoint
*arg2
= 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char * kwnames
[] = {
18758 (char *) "self",(char *) "pt", NULL
18761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_Py_Void();
18784 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
= 0;
18786 wxDC
*arg1
= (wxDC
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 PyObject
* obj2
= 0 ;
18804 PyObject
* obj3
= 0 ;
18805 PyObject
* obj4
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18817 if (!SWIG_IsOK(ecode2
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18820 arg2
= static_cast< int >(val2
);
18821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18822 if (!SWIG_IsOK(ecode3
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18825 arg3
= static_cast< int >(val3
);
18826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18827 if (!SWIG_IsOK(ecode4
)) {
18828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18830 arg4
= static_cast< int >(val4
);
18831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18832 if (!SWIG_IsOK(ecode5
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18835 arg5
= static_cast< int >(val5
);
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_Py_Void();
18849 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
= 0;
18851 wxDC
*arg1
= (wxDC
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char * kwnames
[] = {
18859 (char *) "self",(char *) "rect", NULL
18862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18864 if (!SWIG_IsOK(res1
)) {
18865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= SWIG_Py_Void();
18885 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
= 0;
18887 wxDC
*arg1
= (wxDC
*) 0 ;
18888 wxPoint
*arg2
= 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 PyObject
* obj2
= 0 ;
18897 char * kwnames
[] = {
18898 (char *) "self",(char *) "pt",(char *) "sz", NULL
18901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18913 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxDC
*arg1
= (wxDC
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 PyObject
* obj2
= 0 ;
18951 PyObject
* obj3
= 0 ;
18952 PyObject
* obj4
= 0 ;
18953 PyObject
* obj5
= 0 ;
18954 char * kwnames
[] = {
18955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18965 if (!SWIG_IsOK(ecode2
)) {
18966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18968 arg2
= static_cast< int >(val2
);
18969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18970 if (!SWIG_IsOK(ecode3
)) {
18971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18973 arg3
= static_cast< int >(val3
);
18974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18975 if (!SWIG_IsOK(ecode4
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18978 arg4
= static_cast< int >(val4
);
18979 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18980 if (!SWIG_IsOK(ecode5
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18983 arg5
= static_cast< int >(val5
);
18984 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18985 if (!SWIG_IsOK(ecode6
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18988 arg6
= static_cast< double >(val6
);
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_Py_Void();
19002 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxDC
*arg1
= (wxDC
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 PyObject
* obj2
= 0 ;
19015 char * kwnames
[] = {
19016 (char *) "self",(char *) "r",(char *) "radius", NULL
19019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19021 if (!SWIG_IsOK(res1
)) {
19022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19029 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19030 if (!SWIG_IsOK(ecode3
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19033 arg3
= static_cast< double >(val3
);
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19047 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= 0;
19049 wxDC
*arg1
= (wxDC
*) 0 ;
19050 wxPoint
*arg2
= 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 PyObject
* obj2
= 0 ;
19062 PyObject
* obj3
= 0 ;
19063 char * kwnames
[] = {
19064 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawRoundedRectanglePointSize" "', 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
;
19081 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19082 if (!SWIG_IsOK(ecode4
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19085 arg4
= static_cast< double >(val4
);
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_Py_Void();
19099 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
= 0;
19101 wxDC
*arg1
= (wxDC
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 PyObject
* obj2
= 0 ;
19116 PyObject
* obj3
= 0 ;
19117 char * kwnames
[] = {
19118 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19123 if (!SWIG_IsOK(res1
)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19128 if (!SWIG_IsOK(ecode2
)) {
19129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19131 arg2
= static_cast< int >(val2
);
19132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19133 if (!SWIG_IsOK(ecode3
)) {
19134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19136 arg3
= static_cast< int >(val3
);
19137 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19138 if (!SWIG_IsOK(ecode4
)) {
19139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19141 arg4
= static_cast< int >(val4
);
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= SWIG_Py_Void();
19155 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
= 0;
19157 wxDC
*arg1
= (wxDC
*) 0 ;
19158 wxPoint
*arg2
= 0 ;
19165 PyObject
* obj0
= 0 ;
19166 PyObject
* obj1
= 0 ;
19167 PyObject
* obj2
= 0 ;
19168 char * kwnames
[] = {
19169 (char *) "self",(char *) "pt",(char *) "radius", NULL
19172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19174 if (!SWIG_IsOK(res1
)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19183 if (!SWIG_IsOK(ecode3
)) {
19184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19186 arg3
= static_cast< int >(val3
);
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_Py_Void();
19200 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
= 0;
19202 wxDC
*arg1
= (wxDC
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 PyObject
* obj3
= 0 ;
19221 PyObject
* obj4
= 0 ;
19222 char * kwnames
[] = {
19223 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19228 if (!SWIG_IsOK(res1
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19233 if (!SWIG_IsOK(ecode2
)) {
19234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19236 arg2
= static_cast< int >(val2
);
19237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19238 if (!SWIG_IsOK(ecode3
)) {
19239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19241 arg3
= static_cast< int >(val3
);
19242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19243 if (!SWIG_IsOK(ecode4
)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19246 arg4
= static_cast< int >(val4
);
19247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19248 if (!SWIG_IsOK(ecode5
)) {
19249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19251 arg5
= static_cast< int >(val5
);
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_Py_Void();
19265 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
= 0;
19267 wxDC
*arg1
= (wxDC
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char * kwnames
[] = {
19275 (char *) "self",(char *) "rect", NULL
19278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19280 if (!SWIG_IsOK(res1
)) {
19281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19286 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_Py_Void();
19301 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
= 0;
19303 wxDC
*arg1
= (wxDC
*) 0 ;
19304 wxPoint
*arg2
= 0 ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 PyObject
* obj2
= 0 ;
19313 char * kwnames
[] = {
19314 (char *) "self",(char *) "pt",(char *) "sz", NULL
19317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19319 if (!SWIG_IsOK(res1
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19329 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_Py_Void();
19344 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
= 0;
19346 wxDC
*arg1
= (wxDC
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 PyObject
* obj2
= 0 ;
19361 PyObject
* obj3
= 0 ;
19362 char * kwnames
[] = {
19363 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19373 if (!SWIG_IsOK(res2
)) {
19374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19379 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19381 if (!SWIG_IsOK(ecode3
)) {
19382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19384 arg3
= static_cast< int >(val3
);
19385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19386 if (!SWIG_IsOK(ecode4
)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19389 arg4
= static_cast< int >(val4
);
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_Py_Void();
19403 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
= 0;
19405 wxDC
*arg1
= (wxDC
*) 0 ;
19407 wxPoint
*arg3
= 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 PyObject
* obj2
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "self",(char *) "icon",(char *) "pt", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19427 if (!SWIG_IsOK(res2
)) {
19428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19433 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19436 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_Py_Void();
19451 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxDC
*arg1
= (wxDC
*) 0 ;
19454 wxBitmap
*arg2
= 0 ;
19457 bool arg5
= (bool) false ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 PyObject
* obj2
= 0 ;
19471 PyObject
* obj3
= 0 ;
19472 PyObject
* obj4
= 0 ;
19473 char * kwnames
[] = {
19474 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19479 if (!SWIG_IsOK(res1
)) {
19480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19484 if (!SWIG_IsOK(res2
)) {
19485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19490 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19492 if (!SWIG_IsOK(ecode3
)) {
19493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19495 arg3
= static_cast< int >(val3
);
19496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19497 if (!SWIG_IsOK(ecode4
)) {
19498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19500 arg4
= static_cast< int >(val4
);
19502 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19503 if (!SWIG_IsOK(ecode5
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19506 arg5
= static_cast< bool >(val5
);
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= SWIG_Py_Void();
19521 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
= 0;
19523 wxDC
*arg1
= (wxDC
*) 0 ;
19524 wxBitmap
*arg2
= 0 ;
19525 wxPoint
*arg3
= 0 ;
19526 bool arg4
= (bool) false ;
19534 PyObject
* obj0
= 0 ;
19535 PyObject
* obj1
= 0 ;
19536 PyObject
* obj2
= 0 ;
19537 PyObject
* obj3
= 0 ;
19538 char * kwnames
[] = {
19539 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19544 if (!SWIG_IsOK(res1
)) {
19545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19549 if (!SWIG_IsOK(res2
)) {
19550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19555 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19561 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19562 if (!SWIG_IsOK(ecode4
)) {
19563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19565 arg4
= static_cast< bool >(val4
);
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_Py_Void();
19580 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
= 0;
19582 wxDC
*arg1
= (wxDC
*) 0 ;
19583 wxString
*arg2
= 0 ;
19588 bool temp2
= false ;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 PyObject
* obj2
= 0 ;
19596 PyObject
* obj3
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19608 arg2
= wxString_in_helper(obj1
);
19609 if (arg2
== NULL
) SWIG_fail
;
19612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19613 if (!SWIG_IsOK(ecode3
)) {
19614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19616 arg3
= static_cast< int >(val3
);
19617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19618 if (!SWIG_IsOK(ecode4
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19621 arg4
= static_cast< int >(val4
);
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19624 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_Py_Void();
19643 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
= 0;
19645 wxDC
*arg1
= (wxDC
*) 0 ;
19646 wxString
*arg2
= 0 ;
19647 wxPoint
*arg3
= 0 ;
19650 bool temp2
= false ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 PyObject
* obj2
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "self",(char *) "text",(char *) "pt", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19666 arg2
= wxString_in_helper(obj1
);
19667 if (arg2
== NULL
) SWIG_fail
;
19672 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_Py_Void();
19695 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
= 0;
19697 wxDC
*arg1
= (wxDC
*) 0 ;
19698 wxString
*arg2
= 0 ;
19704 bool temp2
= false ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 PyObject
* obj2
= 0 ;
19714 PyObject
* obj3
= 0 ;
19715 PyObject
* obj4
= 0 ;
19716 char * kwnames
[] = {
19717 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19722 if (!SWIG_IsOK(res1
)) {
19723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19727 arg2
= wxString_in_helper(obj1
);
19728 if (arg2
== NULL
) SWIG_fail
;
19731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19732 if (!SWIG_IsOK(ecode3
)) {
19733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19735 arg3
= static_cast< int >(val3
);
19736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19737 if (!SWIG_IsOK(ecode4
)) {
19738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19740 arg4
= static_cast< int >(val4
);
19741 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19742 if (!SWIG_IsOK(ecode5
)) {
19743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19745 arg5
= static_cast< double >(val5
);
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_Py_Void();
19767 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
= 0;
19769 wxDC
*arg1
= (wxDC
*) 0 ;
19770 wxString
*arg2
= 0 ;
19771 wxPoint
*arg3
= 0 ;
19775 bool temp2
= false ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 PyObject
* obj2
= 0 ;
19782 PyObject
* obj3
= 0 ;
19783 char * kwnames
[] = {
19784 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19794 arg2
= wxString_in_helper(obj1
);
19795 if (arg2
== NULL
) SWIG_fail
;
19800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19802 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19803 if (!SWIG_IsOK(ecode4
)) {
19804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19806 arg4
= static_cast< double >(val4
);
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_Py_Void();
19828 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= 0;
19830 wxDC
*arg1
= (wxDC
*) 0 ;
19835 wxDC
*arg6
= (wxDC
*) 0 ;
19838 int arg9
= (int) wxCOPY
;
19839 bool arg10
= (bool) false ;
19840 int arg11
= (int) -1 ;
19841 int arg12
= (int) -1 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 PyObject
* obj2
= 0 ;
19870 PyObject
* obj3
= 0 ;
19871 PyObject
* obj4
= 0 ;
19872 PyObject
* obj5
= 0 ;
19873 PyObject
* obj6
= 0 ;
19874 PyObject
* obj7
= 0 ;
19875 PyObject
* obj8
= 0 ;
19876 PyObject
* obj9
= 0 ;
19877 PyObject
* obj10
= 0 ;
19878 PyObject
* obj11
= 0 ;
19879 char * kwnames
[] = {
19880 (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
19883 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
;
19884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19890 if (!SWIG_IsOK(ecode2
)) {
19891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19893 arg2
= static_cast< int >(val2
);
19894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19895 if (!SWIG_IsOK(ecode3
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19898 arg3
= static_cast< int >(val3
);
19899 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19900 if (!SWIG_IsOK(ecode4
)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19903 arg4
= static_cast< int >(val4
);
19904 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19905 if (!SWIG_IsOK(ecode5
)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19908 arg5
= static_cast< int >(val5
);
19909 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19910 if (!SWIG_IsOK(res6
)) {
19911 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19913 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19914 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19915 if (!SWIG_IsOK(ecode7
)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19918 arg7
= static_cast< int >(val7
);
19919 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19920 if (!SWIG_IsOK(ecode8
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19923 arg8
= static_cast< int >(val8
);
19925 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19926 if (!SWIG_IsOK(ecode9
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19929 arg9
= static_cast< int >(val9
);
19932 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19933 if (!SWIG_IsOK(ecode10
)) {
19934 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19936 arg10
= static_cast< bool >(val10
);
19939 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19940 if (!SWIG_IsOK(ecode11
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19943 arg11
= static_cast< int >(val11
);
19946 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19947 if (!SWIG_IsOK(ecode12
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19950 arg12
= static_cast< int >(val12
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
= 0;
19969 wxDC
*arg1
= (wxDC
*) 0 ;
19970 wxPoint
*arg2
= 0 ;
19972 wxDC
*arg4
= (wxDC
*) 0 ;
19973 wxPoint
*arg5
= 0 ;
19974 int arg6
= (int) wxCOPY
;
19975 bool arg7
= (bool) false ;
19976 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19977 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 PyObject
* obj3
= 0 ;
19995 PyObject
* obj4
= 0 ;
19996 PyObject
* obj5
= 0 ;
19997 PyObject
* obj6
= 0 ;
19998 PyObject
* obj7
= 0 ;
19999 char * kwnames
[] = {
20000 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20015 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20017 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20018 if (!SWIG_IsOK(res4
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20021 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20024 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20027 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20028 if (!SWIG_IsOK(ecode6
)) {
20029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20031 arg6
= static_cast< int >(val6
);
20034 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20035 if (!SWIG_IsOK(ecode7
)) {
20036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20038 arg7
= static_cast< bool >(val7
);
20043 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20061 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxDC
*arg1
= (wxDC
*) 0 ;
20068 wxDC
*arg6
= (wxDC
*) 0 ;
20073 int arg11
= (int) wxCOPY
;
20074 bool arg12
= (bool) false ;
20075 int arg13
= (int) wxDefaultCoord
;
20076 int arg14
= (int) wxDefaultCoord
;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 PyObject
* obj2
= 0 ;
20109 PyObject
* obj3
= 0 ;
20110 PyObject
* obj4
= 0 ;
20111 PyObject
* obj5
= 0 ;
20112 PyObject
* obj6
= 0 ;
20113 PyObject
* obj7
= 0 ;
20114 PyObject
* obj8
= 0 ;
20115 PyObject
* obj9
= 0 ;
20116 PyObject
* obj10
= 0 ;
20117 PyObject
* obj11
= 0 ;
20118 PyObject
* obj12
= 0 ;
20119 PyObject
* obj13
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20131 if (!SWIG_IsOK(ecode2
)) {
20132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20134 arg2
= static_cast< int >(val2
);
20135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20136 if (!SWIG_IsOK(ecode3
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20139 arg3
= static_cast< int >(val3
);
20140 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20141 if (!SWIG_IsOK(ecode4
)) {
20142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20144 arg4
= static_cast< int >(val4
);
20145 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20146 if (!SWIG_IsOK(ecode5
)) {
20147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20149 arg5
= static_cast< int >(val5
);
20150 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20151 if (!SWIG_IsOK(res6
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20154 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20155 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20156 if (!SWIG_IsOK(ecode7
)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20159 arg7
= static_cast< int >(val7
);
20160 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20161 if (!SWIG_IsOK(ecode8
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20164 arg8
= static_cast< int >(val8
);
20165 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20166 if (!SWIG_IsOK(ecode9
)) {
20167 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20169 arg9
= static_cast< int >(val9
);
20170 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20171 if (!SWIG_IsOK(ecode10
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20174 arg10
= static_cast< int >(val10
);
20176 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20177 if (!SWIG_IsOK(ecode11
)) {
20178 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20180 arg11
= static_cast< int >(val11
);
20183 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20184 if (!SWIG_IsOK(ecode12
)) {
20185 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20187 arg12
= static_cast< bool >(val12
);
20190 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20191 if (!SWIG_IsOK(ecode13
)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20194 arg13
= static_cast< int >(val13
);
20197 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20198 if (!SWIG_IsOK(ecode14
)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20201 arg14
= static_cast< int >(val14
);
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20218 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxDC
*arg1
= (wxDC
*) 0 ;
20221 wxPoint
*arg2
= 0 ;
20223 wxDC
*arg4
= (wxDC
*) 0 ;
20224 wxPoint
*arg5
= 0 ;
20226 int arg7
= (int) wxCOPY
;
20227 bool arg8
= (bool) false ;
20228 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20229 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 PyObject
* obj2
= 0 ;
20247 PyObject
* obj3
= 0 ;
20248 PyObject
* obj4
= 0 ;
20249 PyObject
* obj5
= 0 ;
20250 PyObject
* obj6
= 0 ;
20251 PyObject
* obj7
= 0 ;
20252 PyObject
* obj8
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20269 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20271 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20272 if (!SWIG_IsOK(res4
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20275 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20278 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20282 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20285 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20286 if (!SWIG_IsOK(ecode7
)) {
20287 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20289 arg7
= static_cast< int >(val7
);
20292 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20293 if (!SWIG_IsOK(ecode8
)) {
20294 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20296 arg8
= static_cast< bool >(val8
);
20301 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20319 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= 0;
20321 wxDC
*arg1
= (wxDC
*) 0 ;
20322 wxRect
*arg2
= (wxRect
*) NULL
;
20323 SwigValueWrapper
<wxBitmap
> result
;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "subrect", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20342 if (!SWIG_IsOK(res2
)) {
20343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20345 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20360 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
= 0;
20362 wxDC
*arg1
= (wxDC
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 PyObject
* obj2
= 0 ;
20380 PyObject
* obj3
= 0 ;
20381 PyObject
* obj4
= 0 ;
20382 char * kwnames
[] = {
20383 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20388 if (!SWIG_IsOK(res1
)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20393 if (!SWIG_IsOK(ecode2
)) {
20394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20396 arg2
= static_cast< int >(val2
);
20397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20398 if (!SWIG_IsOK(ecode3
)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20401 arg3
= static_cast< int >(val3
);
20402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20403 if (!SWIG_IsOK(ecode4
)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20406 arg4
= static_cast< int >(val4
);
20407 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20408 if (!SWIG_IsOK(ecode5
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20411 arg5
= static_cast< int >(val5
);
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_Py_Void();
20425 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
= 0;
20427 wxDC
*arg1
= (wxDC
*) 0 ;
20428 wxPoint
*arg2
= 0 ;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20436 PyObject
* obj2
= 0 ;
20437 char * kwnames
[] = {
20438 (char *) "self",(char *) "pt",(char *) "sz", NULL
20441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20443 if (!SWIG_IsOK(res1
)) {
20444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20453 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_Py_Void();
20468 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
= 0;
20470 wxDC
*arg1
= (wxDC
*) 0 ;
20471 wxRegion
*arg2
= 0 ;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 char * kwnames
[] = {
20479 (char *) "self",(char *) "region", NULL
20482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20489 if (!SWIG_IsOK(res2
)) {
20490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20495 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_Py_Void();
20509 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= 0;
20511 wxDC
*arg1
= (wxDC
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char * kwnames
[] = {
20519 (char *) "self",(char *) "rect", NULL
20522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20524 if (!SWIG_IsOK(res1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20530 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_Py_Void();
20545 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= 0;
20547 wxDC
*arg1
= (wxDC
*) 0 ;
20549 wxPoint
*arg3
= (wxPoint
*) 0 ;
20550 int arg4
= (int) 0 ;
20551 int arg5
= (int) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 PyObject
* obj2
= 0 ;
20561 PyObject
* obj3
= 0 ;
20562 char * kwnames
[] = {
20563 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20568 if (!SWIG_IsOK(res1
)) {
20569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20573 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20574 if (arg3
== NULL
) SWIG_fail
;
20577 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20578 if (!SWIG_IsOK(ecode4
)) {
20579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20581 arg4
= static_cast< int >(val4
);
20584 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20585 if (!SWIG_IsOK(ecode5
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20588 arg5
= static_cast< int >(val5
);
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_Py_Void();
20598 if (arg3
) delete [] arg3
;
20603 if (arg3
) delete [] arg3
;
20609 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
= 0;
20611 wxDC
*arg1
= (wxDC
*) 0 ;
20613 wxPoint
*arg3
= (wxPoint
*) 0 ;
20614 int arg4
= (int) 0 ;
20615 int arg5
= (int) 0 ;
20616 int arg6
= (int) wxODDEVEN_RULE
;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 PyObject
* obj2
= 0 ;
20628 PyObject
* obj3
= 0 ;
20629 PyObject
* obj4
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20641 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20642 if (arg3
== NULL
) SWIG_fail
;
20645 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20646 if (!SWIG_IsOK(ecode4
)) {
20647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20649 arg4
= static_cast< int >(val4
);
20652 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20653 if (!SWIG_IsOK(ecode5
)) {
20654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20656 arg5
= static_cast< int >(val5
);
20659 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20660 if (!SWIG_IsOK(ecode6
)) {
20661 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20663 arg6
= static_cast< int >(val6
);
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_Py_Void();
20673 if (arg3
) delete [] arg3
;
20678 if (arg3
) delete [] arg3
;
20684 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
= 0;
20686 wxDC
*arg1
= (wxDC
*) 0 ;
20687 wxString
*arg2
= 0 ;
20689 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20690 int arg5
= (int) -1 ;
20693 bool temp2
= false ;
20699 PyObject
* obj0
= 0 ;
20700 PyObject
* obj1
= 0 ;
20701 PyObject
* obj2
= 0 ;
20702 PyObject
* obj3
= 0 ;
20703 PyObject
* obj4
= 0 ;
20704 char * kwnames
[] = {
20705 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20710 if (!SWIG_IsOK(res1
)) {
20711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20715 arg2
= wxString_in_helper(obj1
);
20716 if (arg2
== NULL
) SWIG_fail
;
20721 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20725 if (!SWIG_IsOK(ecode4
)) {
20726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20728 arg4
= static_cast< int >(val4
);
20731 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20732 if (!SWIG_IsOK(ecode5
)) {
20733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20735 arg5
= static_cast< int >(val5
);
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_Py_Void();
20758 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
= 0;
20760 wxDC
*arg1
= (wxDC
*) 0 ;
20761 wxString
*arg2
= 0 ;
20762 wxBitmap
*arg3
= 0 ;
20764 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20765 int arg6
= (int) -1 ;
20769 bool temp2
= false ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 PyObject
* obj3
= 0 ;
20781 PyObject
* obj4
= 0 ;
20782 PyObject
* obj5
= 0 ;
20783 char * kwnames
[] = {
20784 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20789 if (!SWIG_IsOK(res1
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20794 arg2
= wxString_in_helper(obj1
);
20795 if (arg2
== NULL
) SWIG_fail
;
20798 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20799 if (!SWIG_IsOK(res3
)) {
20800 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20805 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20808 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20811 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20812 if (!SWIG_IsOK(ecode5
)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20815 arg5
= static_cast< int >(val5
);
20818 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20819 if (!SWIG_IsOK(ecode6
)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20822 arg6
= static_cast< int >(val6
);
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20845 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
= 0;
20847 wxDC
*arg1
= (wxDC
*) 0 ;
20849 wxPoint
*arg3
= (wxPoint
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "points", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20865 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20866 if (arg3
== NULL
) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 (arg1
)->DrawSpline(arg2
,arg3
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_Py_Void();
20876 if (arg3
) delete [] arg3
;
20881 if (arg3
) delete [] arg3
;
20887 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 PyObject
*resultobj
= 0;
20889 wxDC
*arg1
= (wxDC
*) 0 ;
20892 PyObject
*swig_obj
[1] ;
20894 if (!args
) SWIG_fail
;
20895 swig_obj
[0] = args
;
20896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20897 if (!SWIG_IsOK(res1
)) {
20898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_Py_Void();
20914 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
= 0;
20916 wxDC
*arg1
= (wxDC
*) 0 ;
20917 wxString
*arg2
= 0 ;
20921 bool temp2
= false ;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "self",(char *) "message", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20935 arg2
= wxString_in_helper(obj1
);
20936 if (arg2
== NULL
) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20962 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20963 PyObject
*resultobj
= 0;
20964 wxDC
*arg1
= (wxDC
*) 0 ;
20967 PyObject
*swig_obj
[1] ;
20969 if (!args
) SWIG_fail
;
20970 swig_obj
[0] = args
;
20971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20972 if (!SWIG_IsOK(res1
)) {
20973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= SWIG_Py_Void();
20989 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20990 PyObject
*resultobj
= 0;
20991 wxDC
*arg1
= (wxDC
*) 0 ;
20994 PyObject
*swig_obj
[1] ;
20996 if (!args
) SWIG_fail
;
20997 swig_obj
[0] = args
;
20998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20999 if (!SWIG_IsOK(res1
)) {
21000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 (arg1
)->StartPage();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= SWIG_Py_Void();
21016 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21017 PyObject
*resultobj
= 0;
21018 wxDC
*arg1
= (wxDC
*) 0 ;
21021 PyObject
*swig_obj
[1] ;
21023 if (!args
) SWIG_fail
;
21024 swig_obj
[0] = args
;
21025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= SWIG_Py_Void();
21043 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
= 0;
21045 wxDC
*arg1
= (wxDC
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "font", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21064 if (!SWIG_IsOK(res2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21070 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 (arg1
)->SetFont((wxFont
const &)*arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_Py_Void();
21084 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
= 0;
21086 wxDC
*arg1
= (wxDC
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 char * kwnames
[] = {
21095 (char *) "self",(char *) "pen", NULL
21098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21100 if (!SWIG_IsOK(res1
)) {
21101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21105 if (!SWIG_IsOK(res2
)) {
21106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21111 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 (arg1
)->SetPen((wxPen
const &)*arg2
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= SWIG_Py_Void();
21125 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
= 0;
21127 wxDC
*arg1
= (wxDC
*) 0 ;
21128 wxBrush
*arg2
= 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char * kwnames
[] = {
21136 (char *) "self",(char *) "brush", NULL
21139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21141 if (!SWIG_IsOK(res1
)) {
21142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21146 if (!SWIG_IsOK(res2
)) {
21147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21152 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= SWIG_Py_Void();
21166 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
= 0;
21168 wxDC
*arg1
= (wxDC
*) 0 ;
21169 wxBrush
*arg2
= 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char * kwnames
[] = {
21177 (char *) "self",(char *) "brush", NULL
21180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21182 if (!SWIG_IsOK(res1
)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21187 if (!SWIG_IsOK(res2
)) {
21188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21193 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= SWIG_Py_Void();
21207 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
= 0;
21209 wxDC
*arg1
= (wxDC
*) 0 ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 char * kwnames
[] = {
21218 (char *) "self",(char *) "mode", NULL
21221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21223 if (!SWIG_IsOK(res1
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21228 if (!SWIG_IsOK(ecode2
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21231 arg2
= static_cast< int >(val2
);
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 (arg1
)->SetBackgroundMode(arg2
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_Py_Void();
21245 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
= 0;
21247 wxDC
*arg1
= (wxDC
*) 0 ;
21248 wxPalette
*arg2
= 0 ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 char * kwnames
[] = {
21256 (char *) "self",(char *) "palette", NULL
21259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21266 if (!SWIG_IsOK(res2
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21272 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_Py_Void();
21286 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21287 PyObject
*resultobj
= 0;
21288 wxDC
*arg1
= (wxDC
*) 0 ;
21291 PyObject
*swig_obj
[1] ;
21293 if (!args
) SWIG_fail
;
21294 swig_obj
[0] = args
;
21295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->DestroyClippingRegion();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_Py_Void();
21313 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21314 PyObject
*resultobj
= 0;
21315 wxDC
*arg1
= (wxDC
*) 0 ;
21316 int *arg2
= (int *) 0 ;
21317 int *arg3
= (int *) 0 ;
21318 int *arg4
= (int *) 0 ;
21319 int *arg5
= (int *) 0 ;
21323 int res2
= SWIG_TMPOBJ
;
21325 int res3
= SWIG_TMPOBJ
;
21327 int res4
= SWIG_TMPOBJ
;
21329 int res5
= SWIG_TMPOBJ
;
21330 PyObject
*swig_obj
[1] ;
21336 if (!args
) SWIG_fail
;
21337 swig_obj
[0] = args
;
21338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21339 if (!SWIG_IsOK(res1
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_Py_Void();
21350 if (SWIG_IsTmpObj(res2
)) {
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21353 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21356 if (SWIG_IsTmpObj(res3
)) {
21357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21362 if (SWIG_IsTmpObj(res4
)) {
21363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21365 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21368 if (SWIG_IsTmpObj(res5
)) {
21369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21371 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21380 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 PyObject
*resultobj
= 0;
21382 wxDC
*arg1
= (wxDC
*) 0 ;
21386 PyObject
*swig_obj
[1] ;
21388 if (!args
) SWIG_fail
;
21389 swig_obj
[0] = args
;
21390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21391 if (!SWIG_IsOK(res1
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= wxDC_GetClippingRect(arg1
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21408 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 PyObject
*resultobj
= 0;
21410 wxDC
*arg1
= (wxDC
*) 0 ;
21414 PyObject
*swig_obj
[1] ;
21416 if (!args
) SWIG_fail
;
21417 swig_obj
[0] = args
;
21418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21419 if (!SWIG_IsOK(res1
)) {
21420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_From_int(static_cast< int >(result
));
21436 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21437 PyObject
*resultobj
= 0;
21438 wxDC
*arg1
= (wxDC
*) 0 ;
21442 PyObject
*swig_obj
[1] ;
21444 if (!args
) SWIG_fail
;
21445 swig_obj
[0] = args
;
21446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21447 if (!SWIG_IsOK(res1
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_From_int(static_cast< int >(result
));
21464 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
= 0;
21466 wxDC
*arg1
= (wxDC
*) 0 ;
21467 wxString
*arg2
= 0 ;
21468 int *arg3
= (int *) 0 ;
21469 int *arg4
= (int *) 0 ;
21472 bool temp2
= false ;
21474 int res3
= SWIG_TMPOBJ
;
21476 int res4
= SWIG_TMPOBJ
;
21477 PyObject
* obj0
= 0 ;
21478 PyObject
* obj1
= 0 ;
21479 char * kwnames
[] = {
21480 (char *) "self",(char *) "string", NULL
21485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21487 if (!SWIG_IsOK(res1
)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21492 arg2
= wxString_in_helper(obj1
);
21493 if (arg2
== NULL
) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= SWIG_Py_Void();
21503 if (SWIG_IsTmpObj(res3
)) {
21504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21506 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21509 if (SWIG_IsTmpObj(res4
)) {
21510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21512 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21529 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
= 0;
21531 wxDC
*arg1
= (wxDC
*) 0 ;
21532 wxString
*arg2
= 0 ;
21533 int *arg3
= (int *) 0 ;
21534 int *arg4
= (int *) 0 ;
21535 int *arg5
= (int *) 0 ;
21536 int *arg6
= (int *) 0 ;
21537 wxFont
*arg7
= (wxFont
*) NULL
;
21540 bool temp2
= false ;
21542 int res3
= SWIG_TMPOBJ
;
21544 int res4
= SWIG_TMPOBJ
;
21546 int res5
= SWIG_TMPOBJ
;
21548 int res6
= SWIG_TMPOBJ
;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 PyObject
* obj2
= 0 ;
21554 char * kwnames
[] = {
21555 (char *) "self",(char *) "string",(char *) "font", NULL
21562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21564 if (!SWIG_IsOK(res1
)) {
21565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21569 arg2
= wxString_in_helper(obj1
);
21570 if (arg2
== NULL
) SWIG_fail
;
21574 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21575 if (!SWIG_IsOK(res7
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21578 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_Py_Void();
21587 if (SWIG_IsTmpObj(res3
)) {
21588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21590 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21593 if (SWIG_IsTmpObj(res4
)) {
21594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21596 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21599 if (SWIG_IsTmpObj(res5
)) {
21600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21602 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21605 if (SWIG_IsTmpObj(res6
)) {
21606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21608 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21625 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
= 0;
21627 wxDC
*arg1
= (wxDC
*) 0 ;
21628 wxString
*arg2
= 0 ;
21629 int *arg3
= (int *) 0 ;
21630 int *arg4
= (int *) 0 ;
21631 int *arg5
= (int *) 0 ;
21632 wxFont
*arg6
= (wxFont
*) NULL
;
21635 bool temp2
= false ;
21637 int res3
= SWIG_TMPOBJ
;
21639 int res4
= SWIG_TMPOBJ
;
21641 int res5
= SWIG_TMPOBJ
;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 PyObject
* obj2
= 0 ;
21647 char * kwnames
[] = {
21648 (char *) "self",(char *) "text",(char *) "font", NULL
21654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21656 if (!SWIG_IsOK(res1
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21661 arg2
= wxString_in_helper(obj1
);
21662 if (arg2
== NULL
) SWIG_fail
;
21666 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21667 if (!SWIG_IsOK(res6
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21670 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_Py_Void();
21679 if (SWIG_IsTmpObj(res3
)) {
21680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21682 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21685 if (SWIG_IsTmpObj(res4
)) {
21686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21688 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21691 if (SWIG_IsTmpObj(res5
)) {
21692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21694 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21711 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
= 0;
21713 wxDC
*arg1
= (wxDC
*) 0 ;
21714 wxString
*arg2
= 0 ;
21718 bool temp2
= false ;
21719 PyObject
* obj0
= 0 ;
21720 PyObject
* obj1
= 0 ;
21721 char * kwnames
[] = {
21722 (char *) "self",(char *) "text", NULL
21725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21732 arg2
= wxString_in_helper(obj1
);
21733 if (arg2
== NULL
) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= wxArrayInt2PyList_helper(result
);
21759 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21760 PyObject
*resultobj
= 0;
21761 wxDC
*arg1
= (wxDC
*) 0 ;
21765 PyObject
*swig_obj
[1] ;
21767 if (!args
) SWIG_fail
;
21768 swig_obj
[0] = args
;
21769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21770 if (!SWIG_IsOK(res1
)) {
21771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (arg1
)->GetSize();
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21787 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21788 PyObject
*resultobj
= 0;
21789 wxDC
*arg1
= (wxDC
*) 0 ;
21790 int *arg2
= (int *) 0 ;
21791 int *arg3
= (int *) 0 ;
21795 int res2
= SWIG_TMPOBJ
;
21797 int res3
= SWIG_TMPOBJ
;
21798 PyObject
*swig_obj
[1] ;
21802 if (!args
) SWIG_fail
;
21803 swig_obj
[0] = args
;
21804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 (arg1
)->GetSize(arg2
,arg3
);
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= SWIG_Py_Void();
21816 if (SWIG_IsTmpObj(res2
)) {
21817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21819 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21822 if (SWIG_IsTmpObj(res3
)) {
21823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21825 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21834 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21835 PyObject
*resultobj
= 0;
21836 wxDC
*arg1
= (wxDC
*) 0 ;
21840 PyObject
*swig_obj
[1] ;
21842 if (!args
) SWIG_fail
;
21843 swig_obj
[0] = args
;
21844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21845 if (!SWIG_IsOK(res1
)) {
21846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21862 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21863 PyObject
*resultobj
= 0;
21864 wxDC
*arg1
= (wxDC
*) 0 ;
21865 int *arg2
= (int *) 0 ;
21866 int *arg3
= (int *) 0 ;
21870 int res2
= SWIG_TMPOBJ
;
21872 int res3
= SWIG_TMPOBJ
;
21873 PyObject
*swig_obj
[1] ;
21877 if (!args
) SWIG_fail
;
21878 swig_obj
[0] = args
;
21879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21880 if (!SWIG_IsOK(res1
)) {
21881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_Py_Void();
21891 if (SWIG_IsTmpObj(res2
)) {
21892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21894 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21897 if (SWIG_IsTmpObj(res3
)) {
21898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21900 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21909 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
= 0;
21911 wxDC
*arg1
= (wxDC
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char * kwnames
[] = {
21921 (char *) "self",(char *) "x", NULL
21924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21931 if (!SWIG_IsOK(ecode2
)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21934 arg2
= static_cast< int >(val2
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_From_int(static_cast< int >(result
));
21948 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
= 0;
21950 wxDC
*arg1
= (wxDC
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char * kwnames
[] = {
21960 (char *) "self",(char *) "y", NULL
21963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21970 if (!SWIG_IsOK(ecode2
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21973 arg2
= static_cast< int >(val2
);
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_From_int(static_cast< int >(result
));
21987 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxDC
*arg1
= (wxDC
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char * kwnames
[] = {
21999 (char *) "self",(char *) "x", NULL
22002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22009 if (!SWIG_IsOK(ecode2
)) {
22010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22012 arg2
= static_cast< int >(val2
);
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_From_int(static_cast< int >(result
));
22026 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
= 0;
22028 wxDC
*arg1
= (wxDC
*) 0 ;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char * kwnames
[] = {
22038 (char *) "self",(char *) "y", NULL
22041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22043 if (!SWIG_IsOK(res1
)) {
22044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22048 if (!SWIG_IsOK(ecode2
)) {
22049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22051 arg2
= static_cast< int >(val2
);
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_From_int(static_cast< int >(result
));
22065 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
= 0;
22067 wxDC
*arg1
= (wxDC
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char * kwnames
[] = {
22077 (char *) "self",(char *) "x", NULL
22080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22082 if (!SWIG_IsOK(res1
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22087 if (!SWIG_IsOK(ecode2
)) {
22088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22090 arg2
= static_cast< int >(val2
);
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= SWIG_From_int(static_cast< int >(result
));
22104 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
= 0;
22106 wxDC
*arg1
= (wxDC
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char * kwnames
[] = {
22116 (char *) "self",(char *) "y", NULL
22119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22121 if (!SWIG_IsOK(res1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22126 if (!SWIG_IsOK(ecode2
)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22129 arg2
= static_cast< int >(val2
);
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_From_int(static_cast< int >(result
));
22143 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
= 0;
22145 wxDC
*arg1
= (wxDC
*) 0 ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "self",(char *) "x", NULL
22158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22160 if (!SWIG_IsOK(res1
)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22165 if (!SWIG_IsOK(ecode2
)) {
22166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22168 arg2
= static_cast< int >(val2
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_From_int(static_cast< int >(result
));
22182 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
= 0;
22184 wxDC
*arg1
= (wxDC
*) 0 ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 char * kwnames
[] = {
22194 (char *) "self",(char *) "y", NULL
22197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22199 if (!SWIG_IsOK(res1
)) {
22200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22204 if (!SWIG_IsOK(ecode2
)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22207 arg2
= static_cast< int >(val2
);
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_From_int(static_cast< int >(result
));
22221 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22222 PyObject
*resultobj
= 0;
22223 wxDC
*arg1
= (wxDC
*) 0 ;
22227 PyObject
*swig_obj
[1] ;
22229 if (!args
) SWIG_fail
;
22230 swig_obj
[0] = args
;
22231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22232 if (!SWIG_IsOK(res1
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22251 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22252 PyObject
*resultobj
= 0;
22253 wxDC
*arg1
= (wxDC
*) 0 ;
22257 PyObject
*swig_obj
[1] ;
22259 if (!args
) SWIG_fail
;
22260 swig_obj
[0] = args
;
22261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22262 if (!SWIG_IsOK(res1
)) {
22263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22281 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 PyObject
*resultobj
= 0;
22283 wxDC
*arg1
= (wxDC
*) 0 ;
22287 PyObject
*swig_obj
[1] ;
22289 if (!args
) SWIG_fail
;
22290 swig_obj
[0] = args
;
22291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22292 if (!SWIG_IsOK(res1
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 resultobj
= SWIG_From_int(static_cast< int >(result
));
22309 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22310 PyObject
*resultobj
= 0;
22311 wxDC
*arg1
= (wxDC
*) 0 ;
22315 PyObject
*swig_obj
[1] ;
22317 if (!args
) SWIG_fail
;
22318 swig_obj
[0] = args
;
22319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22320 if (!SWIG_IsOK(res1
)) {
22321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= ((wxDC
const *)arg1
)->GetPPI();
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22337 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22338 PyObject
*resultobj
= 0;
22339 wxDC
*arg1
= (wxDC
*) 0 ;
22343 PyObject
*swig_obj
[1] ;
22345 if (!args
) SWIG_fail
;
22346 swig_obj
[0] = args
;
22347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22367 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22368 PyObject
*resultobj
= 0;
22369 wxDC
*arg1
= (wxDC
*) 0 ;
22373 PyObject
*swig_obj
[1] ;
22375 if (!args
) SWIG_fail
;
22376 swig_obj
[0] = args
;
22377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22378 if (!SWIG_IsOK(res1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= SWIG_From_int(static_cast< int >(result
));
22395 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 PyObject
*resultobj
= 0;
22397 wxDC
*arg1
= (wxDC
*) 0 ;
22398 wxBrush
*result
= 0 ;
22401 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22414 result
= (wxBrush
*) &_result_ref
;
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22420 wxBrush
* resultptr
= new wxBrush(*result
);
22421 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22429 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22430 PyObject
*resultobj
= 0;
22431 wxDC
*arg1
= (wxDC
*) 0 ;
22432 wxBrush
*result
= 0 ;
22435 PyObject
*swig_obj
[1] ;
22437 if (!args
) SWIG_fail
;
22438 swig_obj
[0] = args
;
22439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22448 result
= (wxBrush
*) &_result_ref
;
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 wxBrush
* resultptr
= new wxBrush(*result
);
22455 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22463 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 PyObject
*resultobj
= 0;
22465 wxDC
*arg1
= (wxDC
*) 0 ;
22466 wxFont
*result
= 0 ;
22469 PyObject
*swig_obj
[1] ;
22471 if (!args
) SWIG_fail
;
22472 swig_obj
[0] = args
;
22473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22482 result
= (wxFont
*) &_result_ref
;
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22488 wxFont
* resultptr
= new wxFont(*result
);
22489 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22497 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxDC
*arg1
= (wxDC
*) 0 ;
22500 wxPen
*result
= 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22516 result
= (wxPen
*) &_result_ref
;
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 wxPen
* resultptr
= new wxPen(*result
);
22523 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22531 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22532 PyObject
*resultobj
= 0;
22533 wxDC
*arg1
= (wxDC
*) 0 ;
22534 wxColour
*result
= 0 ;
22537 PyObject
*swig_obj
[1] ;
22539 if (!args
) SWIG_fail
;
22540 swig_obj
[0] = args
;
22541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22550 result
= (wxColour
*) &_result_ref
;
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22562 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22563 PyObject
*resultobj
= 0;
22564 wxDC
*arg1
= (wxDC
*) 0 ;
22565 wxColour
*result
= 0 ;
22568 PyObject
*swig_obj
[1] ;
22570 if (!args
) SWIG_fail
;
22571 swig_obj
[0] = args
;
22572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22581 result
= (wxColour
*) &_result_ref
;
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22593 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= 0;
22595 wxDC
*arg1
= (wxDC
*) 0 ;
22596 wxColour
*arg2
= 0 ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char * kwnames
[] = {
22603 (char *) "self",(char *) "colour", NULL
22606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22614 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= SWIG_Py_Void();
22629 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
= 0;
22631 wxDC
*arg1
= (wxDC
*) 0 ;
22632 wxColour
*arg2
= 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char * kwnames
[] = {
22639 (char *) "self",(char *) "colour", NULL
22642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22644 if (!SWIG_IsOK(res1
)) {
22645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_Py_Void();
22665 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22666 PyObject
*resultobj
= 0;
22667 wxDC
*arg1
= (wxDC
*) 0 ;
22671 PyObject
*swig_obj
[1] ;
22673 if (!args
) SWIG_fail
;
22674 swig_obj
[0] = args
;
22675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22676 if (!SWIG_IsOK(res1
)) {
22677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= SWIG_From_int(static_cast< int >(result
));
22693 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
= 0;
22695 wxDC
*arg1
= (wxDC
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 char * kwnames
[] = {
22704 (char *) "self",(char *) "mode", NULL
22707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22714 if (!SWIG_IsOK(ecode2
)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22717 arg2
= static_cast< int >(val2
);
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 (arg1
)->SetMapMode(arg2
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_Py_Void();
22731 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22732 PyObject
*resultobj
= 0;
22733 wxDC
*arg1
= (wxDC
*) 0 ;
22734 double *arg2
= (double *) 0 ;
22735 double *arg3
= (double *) 0 ;
22739 int res2
= SWIG_TMPOBJ
;
22741 int res3
= SWIG_TMPOBJ
;
22742 PyObject
*swig_obj
[1] ;
22746 if (!args
) SWIG_fail
;
22747 swig_obj
[0] = args
;
22748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22749 if (!SWIG_IsOK(res1
)) {
22750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_Py_Void();
22760 if (SWIG_IsTmpObj(res2
)) {
22761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22763 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22766 if (SWIG_IsTmpObj(res3
)) {
22767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22769 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22778 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
= 0;
22780 wxDC
*arg1
= (wxDC
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 PyObject
* obj2
= 0 ;
22792 char * kwnames
[] = {
22793 (char *) "self",(char *) "x",(char *) "y", NULL
22796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22798 if (!SWIG_IsOK(res1
)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22803 if (!SWIG_IsOK(ecode2
)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22806 arg2
= static_cast< double >(val2
);
22807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22808 if (!SWIG_IsOK(ecode3
)) {
22809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22811 arg3
= static_cast< double >(val3
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 (arg1
)->SetUserScale(arg2
,arg3
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_Py_Void();
22825 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 PyObject
*resultobj
= 0;
22827 wxDC
*arg1
= (wxDC
*) 0 ;
22828 double *arg2
= (double *) 0 ;
22829 double *arg3
= (double *) 0 ;
22833 int res2
= SWIG_TMPOBJ
;
22835 int res3
= SWIG_TMPOBJ
;
22836 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->GetLogicalScale(arg2
,arg3
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_Py_Void();
22854 if (SWIG_IsTmpObj(res2
)) {
22855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22857 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22860 if (SWIG_IsTmpObj(res3
)) {
22861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22863 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22872 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
= 0;
22874 wxDC
*arg1
= (wxDC
*) 0 ;
22883 PyObject
* obj0
= 0 ;
22884 PyObject
* obj1
= 0 ;
22885 PyObject
* obj2
= 0 ;
22886 char * kwnames
[] = {
22887 (char *) "self",(char *) "x",(char *) "y", NULL
22890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22892 if (!SWIG_IsOK(res1
)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22896 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22897 if (!SWIG_IsOK(ecode2
)) {
22898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22900 arg2
= static_cast< double >(val2
);
22901 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22902 if (!SWIG_IsOK(ecode3
)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22905 arg3
= static_cast< double >(val3
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->SetLogicalScale(arg2
,arg3
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_Py_Void();
22919 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22920 PyObject
*resultobj
= 0;
22921 wxDC
*arg1
= (wxDC
*) 0 ;
22925 PyObject
*swig_obj
[1] ;
22927 if (!args
) SWIG_fail
;
22928 swig_obj
[0] = args
;
22929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22930 if (!SWIG_IsOK(res1
)) {
22931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22947 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22948 PyObject
*resultobj
= 0;
22949 wxDC
*arg1
= (wxDC
*) 0 ;
22950 int *arg2
= (int *) 0 ;
22951 int *arg3
= (int *) 0 ;
22955 int res2
= SWIG_TMPOBJ
;
22957 int res3
= SWIG_TMPOBJ
;
22958 PyObject
*swig_obj
[1] ;
22962 if (!args
) SWIG_fail
;
22963 swig_obj
[0] = args
;
22964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22971 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_Py_Void();
22976 if (SWIG_IsTmpObj(res2
)) {
22977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22979 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22982 if (SWIG_IsTmpObj(res3
)) {
22983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22985 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22994 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
= 0;
22996 wxDC
*arg1
= (wxDC
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 PyObject
* obj2
= 0 ;
23008 char * kwnames
[] = {
23009 (char *) "self",(char *) "x",(char *) "y", NULL
23012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23019 if (!SWIG_IsOK(ecode2
)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23022 arg2
= static_cast< int >(val2
);
23023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23024 if (!SWIG_IsOK(ecode3
)) {
23025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23027 arg3
= static_cast< int >(val3
);
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_Py_Void();
23041 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
= 0;
23043 wxDC
*arg1
= (wxDC
*) 0 ;
23044 wxPoint
*arg2
= 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 char * kwnames
[] = {
23051 (char *) "self",(char *) "point", NULL
23054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_Py_Void();
23077 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23078 PyObject
*resultobj
= 0;
23079 wxDC
*arg1
= (wxDC
*) 0 ;
23083 PyObject
*swig_obj
[1] ;
23085 if (!args
) SWIG_fail
;
23086 swig_obj
[0] = args
;
23087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23105 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23106 PyObject
*resultobj
= 0;
23107 wxDC
*arg1
= (wxDC
*) 0 ;
23108 int *arg2
= (int *) 0 ;
23109 int *arg3
= (int *) 0 ;
23113 int res2
= SWIG_TMPOBJ
;
23115 int res3
= SWIG_TMPOBJ
;
23116 PyObject
*swig_obj
[1] ;
23120 if (!args
) SWIG_fail
;
23121 swig_obj
[0] = args
;
23122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_Py_Void();
23134 if (SWIG_IsTmpObj(res2
)) {
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23140 if (SWIG_IsTmpObj(res3
)) {
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23152 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= 0;
23154 wxDC
*arg1
= (wxDC
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 PyObject
* obj2
= 0 ;
23166 char * kwnames
[] = {
23167 (char *) "self",(char *) "x",(char *) "y", NULL
23170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23172 if (!SWIG_IsOK(res1
)) {
23173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23177 if (!SWIG_IsOK(ecode2
)) {
23178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23180 arg2
= static_cast< int >(val2
);
23181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23182 if (!SWIG_IsOK(ecode3
)) {
23183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23185 arg3
= static_cast< int >(val3
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_Py_Void();
23199 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
= 0;
23201 wxDC
*arg1
= (wxDC
*) 0 ;
23202 wxPoint
*arg2
= 0 ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char * kwnames
[] = {
23209 (char *) "self",(char *) "point", NULL
23212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_Py_Void();
23235 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
= 0;
23237 wxDC
*arg1
= (wxDC
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 PyObject
* obj2
= 0 ;
23249 char * kwnames
[] = {
23250 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23255 if (!SWIG_IsOK(res1
)) {
23256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23260 if (!SWIG_IsOK(ecode2
)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23263 arg2
= static_cast< bool >(val2
);
23264 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23265 if (!SWIG_IsOK(ecode3
)) {
23266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23268 arg3
= static_cast< bool >(val3
);
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= SWIG_Py_Void();
23282 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23283 PyObject
*resultobj
= 0;
23284 wxDC
*arg1
= (wxDC
*) 0 ;
23288 PyObject
*swig_obj
[1] ;
23290 if (!args
) SWIG_fail
;
23291 swig_obj
[0] = args
;
23292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23293 if (!SWIG_IsOK(res1
)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_From_int(static_cast< int >(result
));
23310 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
= 0;
23312 wxDC
*arg1
= (wxDC
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 PyObject
* obj1
= 0 ;
23320 char * kwnames
[] = {
23321 (char *) "self",(char *) "function", NULL
23324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23331 if (!SWIG_IsOK(ecode2
)) {
23332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23334 arg2
= static_cast< int >(val2
);
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 (arg1
)->SetLogicalFunction(arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= SWIG_Py_Void();
23348 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 PyObject
*resultobj
= 0;
23350 wxDC
*arg1
= (wxDC
*) 0 ;
23353 PyObject
*swig_obj
[1] ;
23355 if (!args
) SWIG_fail
;
23356 swig_obj
[0] = args
;
23357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 (arg1
)->ComputeScaleAndOrigin();
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= SWIG_Py_Void();
23375 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
= 0;
23377 wxDC
*arg1
= (wxDC
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 char * kwnames
[] = {
23390 (char *) "self",(char *) "x",(char *) "y", NULL
23393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23395 if (!SWIG_IsOK(res1
)) {
23396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23400 if (!SWIG_IsOK(ecode2
)) {
23401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23403 arg2
= static_cast< int >(val2
);
23404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23405 if (!SWIG_IsOK(ecode3
)) {
23406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23408 arg3
= static_cast< int >(val3
);
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= SWIG_Py_Void();
23422 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
= 0;
23424 wxDC
*arg1
= (wxDC
*) 0 ;
23425 wxPoint
*arg2
= 0 ;
23429 PyObject
* obj0
= 0 ;
23430 PyObject
* obj1
= 0 ;
23431 char * kwnames
[] = {
23432 (char *) "self",(char *) "point", NULL
23435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_Py_Void();
23458 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23459 PyObject
*resultobj
= 0;
23460 wxDC
*arg1
= (wxDC
*) 0 ;
23463 PyObject
*swig_obj
[1] ;
23465 if (!args
) SWIG_fail
;
23466 swig_obj
[0] = args
;
23467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 (arg1
)->ResetBoundingBox();
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_Py_Void();
23485 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23486 PyObject
*resultobj
= 0;
23487 wxDC
*arg1
= (wxDC
*) 0 ;
23491 PyObject
*swig_obj
[1] ;
23493 if (!args
) SWIG_fail
;
23494 swig_obj
[0] = args
;
23495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23496 if (!SWIG_IsOK(res1
)) {
23497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= (int)((wxDC
const *)arg1
)->MinX();
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_From_int(static_cast< int >(result
));
23513 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23514 PyObject
*resultobj
= 0;
23515 wxDC
*arg1
= (wxDC
*) 0 ;
23519 PyObject
*swig_obj
[1] ;
23521 if (!args
) SWIG_fail
;
23522 swig_obj
[0] = args
;
23523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23524 if (!SWIG_IsOK(res1
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (int)((wxDC
const *)arg1
)->MaxX();
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_From_int(static_cast< int >(result
));
23541 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23542 PyObject
*resultobj
= 0;
23543 wxDC
*arg1
= (wxDC
*) 0 ;
23547 PyObject
*swig_obj
[1] ;
23549 if (!args
) SWIG_fail
;
23550 swig_obj
[0] = args
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (int)((wxDC
const *)arg1
)->MinY();
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_From_int(static_cast< int >(result
));
23569 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23570 PyObject
*resultobj
= 0;
23571 wxDC
*arg1
= (wxDC
*) 0 ;
23575 PyObject
*swig_obj
[1] ;
23577 if (!args
) SWIG_fail
;
23578 swig_obj
[0] = args
;
23579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23580 if (!SWIG_IsOK(res1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= (int)((wxDC
const *)arg1
)->MaxY();
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_From_int(static_cast< int >(result
));
23597 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23598 PyObject
*resultobj
= 0;
23599 wxDC
*arg1
= (wxDC
*) 0 ;
23600 int *arg2
= (int *) 0 ;
23601 int *arg3
= (int *) 0 ;
23602 int *arg4
= (int *) 0 ;
23603 int *arg5
= (int *) 0 ;
23607 int res2
= SWIG_TMPOBJ
;
23609 int res3
= SWIG_TMPOBJ
;
23611 int res4
= SWIG_TMPOBJ
;
23613 int res5
= SWIG_TMPOBJ
;
23614 PyObject
*swig_obj
[1] ;
23620 if (!args
) SWIG_fail
;
23621 swig_obj
[0] = args
;
23622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23623 if (!SWIG_IsOK(res1
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= SWIG_Py_Void();
23634 if (SWIG_IsTmpObj(res2
)) {
23635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23637 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23640 if (SWIG_IsTmpObj(res3
)) {
23641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23643 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23646 if (SWIG_IsTmpObj(res4
)) {
23647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23649 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23652 if (SWIG_IsTmpObj(res5
)) {
23653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23655 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23664 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23665 PyObject
*resultobj
= 0;
23666 wxDC
*arg1
= (wxDC
*) 0 ;
23667 wxLayoutDirection result
;
23670 PyObject
*swig_obj
[1] ;
23672 if (!args
) SWIG_fail
;
23673 swig_obj
[0] = args
;
23674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23675 if (!SWIG_IsOK(res1
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_From_int(static_cast< int >(result
));
23692 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
= 0;
23694 wxDC
*arg1
= (wxDC
*) 0 ;
23695 wxLayoutDirection arg2
;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 char * kwnames
[] = {
23703 (char *) "self",(char *) "dir", NULL
23706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23713 if (!SWIG_IsOK(ecode2
)) {
23714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23716 arg2
= static_cast< wxLayoutDirection
>(val2
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 (arg1
)->SetLayoutDirection(arg2
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_Py_Void();
23730 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
= 0;
23732 wxDC
*arg1
= (wxDC
*) 0 ;
23733 PyObject
*arg2
= (PyObject
*) 0 ;
23734 PyObject
*arg3
= (PyObject
*) 0 ;
23735 PyObject
*arg4
= (PyObject
*) 0 ;
23736 PyObject
*result
= 0 ;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 PyObject
* obj2
= 0 ;
23742 PyObject
* obj3
= 0 ;
23743 char * kwnames
[] = {
23744 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23749 if (!SWIG_IsOK(res1
)) {
23750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= result
;
23769 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
= 0;
23771 wxDC
*arg1
= (wxDC
*) 0 ;
23772 PyObject
*arg2
= (PyObject
*) 0 ;
23773 PyObject
*arg3
= (PyObject
*) 0 ;
23774 PyObject
*arg4
= (PyObject
*) 0 ;
23775 PyObject
*result
= 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 PyObject
* obj2
= 0 ;
23781 PyObject
* obj3
= 0 ;
23782 char * kwnames
[] = {
23783 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23788 if (!SWIG_IsOK(res1
)) {
23789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
;
23808 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
= 0;
23810 wxDC
*arg1
= (wxDC
*) 0 ;
23811 PyObject
*arg2
= (PyObject
*) 0 ;
23812 PyObject
*arg3
= (PyObject
*) 0 ;
23813 PyObject
*arg4
= (PyObject
*) 0 ;
23814 PyObject
*result
= 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 PyObject
* obj2
= 0 ;
23820 PyObject
* obj3
= 0 ;
23821 char * kwnames
[] = {
23822 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23827 if (!SWIG_IsOK(res1
)) {
23828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= result
;
23847 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
= 0;
23849 wxDC
*arg1
= (wxDC
*) 0 ;
23850 PyObject
*arg2
= (PyObject
*) 0 ;
23851 PyObject
*arg3
= (PyObject
*) 0 ;
23852 PyObject
*arg4
= (PyObject
*) 0 ;
23853 PyObject
*result
= 0 ;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 PyObject
* obj2
= 0 ;
23859 PyObject
* obj3
= 0 ;
23860 char * kwnames
[] = {
23861 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23866 if (!SWIG_IsOK(res1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= result
;
23886 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
= 0;
23888 wxDC
*arg1
= (wxDC
*) 0 ;
23889 PyObject
*arg2
= (PyObject
*) 0 ;
23890 PyObject
*arg3
= (PyObject
*) 0 ;
23891 PyObject
*arg4
= (PyObject
*) 0 ;
23892 PyObject
*result
= 0 ;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 PyObject
* obj2
= 0 ;
23898 PyObject
* obj3
= 0 ;
23899 char * kwnames
[] = {
23900 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23905 if (!SWIG_IsOK(res1
)) {
23906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= result
;
23925 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
= 0;
23927 wxDC
*arg1
= (wxDC
*) 0 ;
23928 PyObject
*arg2
= (PyObject
*) 0 ;
23929 PyObject
*arg3
= (PyObject
*) 0 ;
23930 PyObject
*arg4
= (PyObject
*) 0 ;
23931 PyObject
*arg5
= (PyObject
*) 0 ;
23932 PyObject
*result
= 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 PyObject
* obj2
= 0 ;
23938 PyObject
* obj3
= 0 ;
23939 PyObject
* obj4
= 0 ;
23940 char * kwnames
[] = {
23941 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= result
;
23967 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23970 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23971 return SWIG_Py_Void();
23974 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
= 0;
23977 wxColour
*arg2
= 0 ;
23978 wxDCTextColourChanger
*result
= 0 ;
23982 PyObject
* obj0
= 0 ;
23983 PyObject
* obj1
= 0 ;
23984 char * kwnames
[] = {
23985 (char *) "dc",(char *) "col", NULL
23988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23989 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23990 if (!SWIG_IsOK(res1
)) {
23991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24014 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24015 PyObject
*resultobj
= 0;
24016 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24019 PyObject
*swig_obj
[1] ;
24021 if (!args
) SWIG_fail
;
24022 swig_obj
[0] = args
;
24023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24027 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= SWIG_Py_Void();
24042 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24045 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24046 return SWIG_Py_Void();
24049 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24050 return SWIG_Python_InitShadowInstance(args
);
24053 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
= 0;
24057 wxDCPenChanger
*result
= 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "dc",(char *) "pen", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24078 if (!SWIG_IsOK(res2
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24084 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24098 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24099 PyObject
*resultobj
= 0;
24100 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24103 PyObject
*swig_obj
[1] ;
24105 if (!args
) SWIG_fail
;
24106 swig_obj
[0] = args
;
24107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24108 if (!SWIG_IsOK(res1
)) {
24109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24111 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_Py_Void();
24126 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24129 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24130 return SWIG_Py_Void();
24133 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24134 return SWIG_Python_InitShadowInstance(args
);
24137 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
= 0;
24140 wxBrush
*arg2
= 0 ;
24141 wxDCBrushChanger
*result
= 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 char * kwnames
[] = {
24149 (char *) "dc",(char *) "brush", NULL
24152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24153 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24154 if (!SWIG_IsOK(res1
)) {
24155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24162 if (!SWIG_IsOK(res2
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24168 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24182 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24183 PyObject
*resultobj
= 0;
24184 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24187 PyObject
*swig_obj
[1] ;
24189 if (!args
) SWIG_fail
;
24190 swig_obj
[0] = args
;
24191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24195 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= SWIG_Py_Void();
24210 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24213 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24214 return SWIG_Py_Void();
24217 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24218 return SWIG_Python_InitShadowInstance(args
);
24221 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24222 PyObject
*resultobj
= 0;
24224 wxRegion
*arg2
= 0 ;
24225 wxDCClipper
*result
= 0 ;
24231 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24240 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24241 if (!SWIG_IsOK(res2
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24247 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24261 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24262 PyObject
*resultobj
= 0;
24265 wxDCClipper
*result
= 0 ;
24270 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24281 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24296 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24297 PyObject
*resultobj
= 0;
24303 wxDCClipper
*result
= 0 ;
24315 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24324 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24325 if (!SWIG_IsOK(ecode2
)) {
24326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24328 arg2
= static_cast< int >(val2
);
24329 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24330 if (!SWIG_IsOK(ecode3
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24333 arg3
= static_cast< int >(val3
);
24334 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24335 if (!SWIG_IsOK(ecode4
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24338 arg4
= static_cast< int >(val4
);
24339 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24340 if (!SWIG_IsOK(ecode5
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24343 arg5
= static_cast< int >(val5
);
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24357 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24361 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24366 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24367 _v
= SWIG_CheckState(res
);
24369 if (!_v
) goto check_1
;
24370 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24375 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24378 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24382 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24387 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24388 PyObject
*resultobj
= 0;
24389 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24392 PyObject
*swig_obj
[1] ;
24394 if (!args
) SWIG_fail
;
24395 swig_obj
[0] = args
;
24396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24400 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= SWIG_Py_Void();
24415 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24418 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24419 return SWIG_Py_Void();
24422 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24423 return SWIG_Python_InitShadowInstance(args
);
24426 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24427 PyObject
*resultobj
= 0;
24428 wxScreenDC
*result
= 0 ;
24430 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24432 if (!wxPyCheckForApp()) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (wxScreenDC
*)new wxScreenDC();
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24445 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
= 0;
24447 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24448 wxWindow
*arg2
= (wxWindow
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char * kwnames
[] = {
24457 (char *) "self",(char *) "window", NULL
24460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24462 if (!SWIG_IsOK(res1
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24465 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24467 if (!SWIG_IsOK(res2
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24470 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24486 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24489 wxRect
*arg2
= (wxRect
*) NULL
;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char * kwnames
[] = {
24498 (char *) "self",(char *) "rect", NULL
24501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24503 if (!SWIG_IsOK(res1
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24506 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24509 if (!SWIG_IsOK(res2
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24512 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24529 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24530 PyObject
*resultobj
= 0;
24531 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24535 PyObject
*swig_obj
[1] ;
24537 if (!args
) SWIG_fail
;
24538 swig_obj
[0] = args
;
24539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24543 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (bool)(arg1
)->EndDrawingOnTop();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24559 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24562 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24563 return SWIG_Py_Void();
24566 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24567 return SWIG_Python_InitShadowInstance(args
);
24570 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxWindow
*arg1
= (wxWindow
*) 0 ;
24573 wxWindowDC
*result
= 0 ;
24576 PyObject
* obj0
= 0 ;
24577 char * kwnames
[] = {
24578 (char *) "win", NULL
24581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24586 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24588 if (!wxPyCheckForApp()) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24601 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24604 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24605 return SWIG_Py_Void();
24608 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24609 return SWIG_Python_InitShadowInstance(args
);
24612 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
= 0;
24614 wxWindow
*arg1
= (wxWindow
*) 0 ;
24615 wxClientDC
*result
= 0 ;
24618 PyObject
* obj0
= 0 ;
24619 char * kwnames
[] = {
24620 (char *) "win", NULL
24623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24625 if (!SWIG_IsOK(res1
)) {
24626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24630 if (!wxPyCheckForApp()) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxClientDC
*)new wxClientDC(arg1
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24643 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24646 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24647 return SWIG_Py_Void();
24650 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24651 return SWIG_Python_InitShadowInstance(args
);
24654 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxWindow
*arg1
= (wxWindow
*) 0 ;
24657 wxPaintDC
*result
= 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "win", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24672 if (!wxPyCheckForApp()) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24685 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24688 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24689 return SWIG_Py_Void();
24692 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24693 return SWIG_Python_InitShadowInstance(args
);
24696 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
= 0;
24698 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24699 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24700 wxMemoryDC
*result
= 0 ;
24703 PyObject
* obj0
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "bitmap", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24717 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24720 if (!wxPyCheckForApp()) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24733 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
= 0;
24735 wxDC
*arg1
= (wxDC
*) 0 ;
24736 wxMemoryDC
*result
= 0 ;
24739 PyObject
* obj0
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "oldDC", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24751 if (!wxPyCheckForApp()) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24764 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
= 0;
24766 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24767 wxBitmap
*arg2
= 0 ;
24772 PyObject
* obj0
= 0 ;
24773 PyObject
* obj1
= 0 ;
24774 char * kwnames
[] = {
24775 (char *) "self",(char *) "bitmap", NULL
24778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24783 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24785 if (!SWIG_IsOK(res2
)) {
24786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24791 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 (arg1
)->SelectObject(*arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_Py_Void();
24805 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= 0;
24807 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24808 wxBitmap
*arg2
= 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "bmp", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24824 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24826 if (!SWIG_IsOK(res2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24832 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_Py_Void();
24846 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24849 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24850 return SWIG_Py_Void();
24853 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24854 return SWIG_Python_InitShadowInstance(args
);
24857 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24858 PyObject
*resultobj
= 0;
24859 wxDC
*arg1
= (wxDC
*) 0 ;
24860 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24861 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24862 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24863 wxBufferedDC
*result
= 0 ;
24871 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24873 if (!SWIG_IsOK(res1
)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24878 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24879 if (!SWIG_IsOK(res2
)) {
24880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24885 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24888 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24889 if (!SWIG_IsOK(ecode3
)) {
24890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24892 arg3
= static_cast< int >(val3
);
24895 if (!wxPyCheckForApp()) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24908 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24909 PyObject
*resultobj
= 0;
24910 wxDC
*arg1
= (wxDC
*) 0 ;
24912 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24913 wxBufferedDC
*result
= 0 ;
24920 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24928 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24931 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24932 if (!SWIG_IsOK(ecode3
)) {
24933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24935 arg3
= static_cast< int >(val3
);
24938 if (!wxPyCheckForApp()) SWIG_fail
;
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24951 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24955 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24957 if ((argc
>= 1) && (argc
<= 3)) {
24962 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24963 _v
= SWIG_CheckState(res
);
24965 if (!_v
) goto check_1
;
24967 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24971 if ((argc
>= 2) && (argc
<= 3)) {
24972 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24976 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24981 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24982 PyObject
*resultobj
= 0;
24983 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24986 PyObject
*swig_obj
[1] ;
24988 if (!args
) SWIG_fail
;
24989 swig_obj
[0] = args
;
24990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24994 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_Py_Void();
25009 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25010 PyObject
*resultobj
= 0;
25011 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25014 PyObject
*swig_obj
[1] ;
25016 if (!args
) SWIG_fail
;
25017 swig_obj
[0] = args
;
25018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25022 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_Py_Void();
25036 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= 0;
25038 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char * kwnames
[] = {
25047 (char *) "self",(char *) "style", NULL
25050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25055 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25057 if (!SWIG_IsOK(ecode2
)) {
25058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25060 arg2
= static_cast< int >(val2
);
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetStyle(arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_Py_Void();
25074 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25075 PyObject
*resultobj
= 0;
25076 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25080 PyObject
*swig_obj
[1] ;
25082 if (!args
) SWIG_fail
;
25083 swig_obj
[0] = args
;
25084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25088 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= SWIG_From_int(static_cast< int >(result
));
25102 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25105 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25106 return SWIG_Py_Void();
25109 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25110 return SWIG_Python_InitShadowInstance(args
);
25113 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
= 0;
25115 wxWindow
*arg1
= (wxWindow
*) 0 ;
25116 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25117 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25118 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25119 wxBufferedPaintDC
*result
= 0 ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 PyObject
* obj2
= 0 ;
25129 char * kwnames
[] = {
25130 (char *) "window",(char *) "buffer",(char *) "style", NULL
25133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25141 if (!SWIG_IsOK(res2
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25147 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25151 if (!SWIG_IsOK(ecode3
)) {
25152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25154 arg3
= static_cast< int >(val3
);
25157 if (!wxPyCheckForApp()) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25170 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25173 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25174 return SWIG_Py_Void();
25177 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25178 return SWIG_Python_InitShadowInstance(args
);
25181 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
= 0;
25183 wxWindow
*arg1
= (wxWindow
*) 0 ;
25184 wxAutoBufferedPaintDC
*result
= 0 ;
25187 PyObject
* obj0
= 0 ;
25188 char * kwnames
[] = {
25189 (char *) "win", NULL
25192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25194 if (!SWIG_IsOK(res1
)) {
25195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25211 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25214 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25215 return SWIG_Py_Void();
25218 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25219 return SWIG_Python_InitShadowInstance(args
);
25222 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
= 0;
25224 wxWindow
*arg1
= (wxWindow
*) 0 ;
25228 PyObject
* obj0
= 0 ;
25229 char * kwnames
[] = {
25230 (char *) "window", NULL
25233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25254 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
= 0;
25258 wxMirrorDC
*result
= 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 char * kwnames
[] = {
25266 (char *) "dc",(char *) "mirror", NULL
25269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25271 if (!SWIG_IsOK(res1
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25278 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25279 if (!SWIG_IsOK(ecode2
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25282 arg2
= static_cast< bool >(val2
);
25284 if (!wxPyCheckForApp()) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25297 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25300 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25301 return SWIG_Py_Void();
25304 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 return SWIG_Python_InitShadowInstance(args
);
25308 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxPrintData
*arg1
= 0 ;
25311 wxPostScriptDC
*result
= 0 ;
25314 PyObject
* obj0
= 0 ;
25315 char * kwnames
[] = {
25316 (char *) "printData", NULL
25319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25320 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25321 if (!SWIG_IsOK(res1
)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25327 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25329 if (!wxPyCheckForApp()) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25342 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25343 PyObject
*resultobj
= 0;
25344 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25345 wxPrintData
*result
= 0 ;
25348 PyObject
*swig_obj
[1] ;
25350 if (!args
) SWIG_fail
;
25351 swig_obj
[0] = args
;
25352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25353 if (!SWIG_IsOK(res1
)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25356 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25361 result
= (wxPrintData
*) &_result_ref
;
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25373 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
= 0;
25375 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25376 wxPrintData
*arg2
= 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char * kwnames
[] = {
25384 (char *) "self",(char *) "data", NULL
25387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25389 if (!SWIG_IsOK(res1
)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25392 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25394 if (!SWIG_IsOK(res2
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25400 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 resultobj
= SWIG_Py_Void();
25414 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25415 PyObject
*resultobj
= 0;
25419 PyObject
* obj0
= 0 ;
25420 char * kwnames
[] = {
25421 (char *) "ppi", NULL
25424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25426 if (!SWIG_IsOK(ecode1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25429 arg1
= static_cast< int >(val1
);
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 wxPostScriptDC::SetResolution(arg1
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= SWIG_Py_Void();
25443 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25444 PyObject
*resultobj
= 0;
25447 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (int)wxPostScriptDC::GetResolution();
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_From_int(static_cast< int >(result
));
25461 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25465 return SWIG_Py_Void();
25468 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25469 return SWIG_Python_InitShadowInstance(args
);
25472 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
= 0;
25474 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25475 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25476 wxMetaFile
*result
= 0 ;
25477 bool temp1
= false ;
25478 PyObject
* obj0
= 0 ;
25479 char * kwnames
[] = {
25480 (char *) "filename", NULL
25483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25486 arg1
= wxString_in_helper(obj0
);
25487 if (arg1
== NULL
) SWIG_fail
;
25492 if (!wxPyCheckForApp()) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25513 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25514 PyObject
*resultobj
= 0;
25515 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25518 PyObject
*swig_obj
[1] ;
25520 if (!args
) SWIG_fail
;
25521 swig_obj
[0] = args
;
25522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25526 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_Py_Void();
25541 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25542 PyObject
*resultobj
= 0;
25543 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25547 PyObject
*swig_obj
[1] ;
25549 if (!args
) SWIG_fail
;
25550 swig_obj
[0] = args
;
25551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25555 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (bool)(arg1
)->IsOk();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25571 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
= 0;
25573 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25574 int arg2
= (int) 0 ;
25575 int arg3
= (int) 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 PyObject
* obj2
= 0 ;
25586 char * kwnames
[] = {
25587 (char *) "self",(char *) "width",(char *) "height", NULL
25590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25595 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25598 if (!SWIG_IsOK(ecode2
)) {
25599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25601 arg2
= static_cast< int >(val2
);
25604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25605 if (!SWIG_IsOK(ecode3
)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25608 arg3
= static_cast< int >(val3
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25625 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 PyObject
*resultobj
= 0;
25627 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25631 PyObject
*swig_obj
[1] ;
25633 if (!args
) SWIG_fail
;
25634 swig_obj
[0] = args
;
25635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25639 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (arg1
)->GetSize();
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25653 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25654 PyObject
*resultobj
= 0;
25655 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25659 PyObject
*swig_obj
[1] ;
25661 if (!args
) SWIG_fail
;
25662 swig_obj
[0] = args
;
25663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25664 if (!SWIG_IsOK(res1
)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25667 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (int)(arg1
)->GetWidth();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_From_int(static_cast< int >(result
));
25681 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 PyObject
*resultobj
= 0;
25683 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25687 PyObject
*swig_obj
[1] ;
25689 if (!args
) SWIG_fail
;
25690 swig_obj
[0] = args
;
25691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25692 if (!SWIG_IsOK(res1
)) {
25693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25695 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 result
= (int)(arg1
)->GetHeight();
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_From_int(static_cast< int >(result
));
25709 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25712 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25713 return SWIG_Py_Void();
25716 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25717 return SWIG_Python_InitShadowInstance(args
);
25720 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
= 0;
25722 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25723 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25724 int arg2
= (int) 0 ;
25725 int arg3
= (int) 0 ;
25726 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25727 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25728 wxMetaFileDC
*result
= 0 ;
25729 bool temp1
= false ;
25734 bool temp4
= false ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 PyObject
* obj3
= 0 ;
25739 char * kwnames
[] = {
25740 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25746 arg1
= wxString_in_helper(obj0
);
25747 if (arg1
== NULL
) SWIG_fail
;
25752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25753 if (!SWIG_IsOK(ecode2
)) {
25754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25756 arg2
= static_cast< int >(val2
);
25759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25760 if (!SWIG_IsOK(ecode3
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25763 arg3
= static_cast< int >(val3
);
25767 arg4
= wxString_in_helper(obj3
);
25768 if (arg4
== NULL
) SWIG_fail
;
25773 if (!wxPyCheckForApp()) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25776 wxPyEndAllowThreads(__tstate
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25802 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25803 PyObject
*resultobj
= 0;
25804 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25805 wxMetaFile
*result
= 0 ;
25808 PyObject
*swig_obj
[1] ;
25810 if (!args
) SWIG_fail
;
25811 swig_obj
[0] = args
;
25812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25816 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 result
= (wxMetaFile
*)(arg1
)->Close();
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25830 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25834 return SWIG_Py_Void();
25837 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25838 return SWIG_Python_InitShadowInstance(args
);
25841 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
= 0;
25843 wxPrintData
*arg1
= 0 ;
25844 wxPrinterDC
*result
= 0 ;
25847 PyObject
* obj0
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "printData", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25853 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25860 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25862 if (!wxPyCheckForApp()) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25875 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25879 return SWIG_Py_Void();
25882 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 return SWIG_Python_InitShadowInstance(args
);
25886 SWIGINTERN PyObject
*SVGFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25889 SWIG_TypeNewClientData(SWIGTYPE_p_wxSVGFileDC
, SWIG_NewClientData(obj
));
25890 return SWIG_Py_Void();
25893 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
= 0;
25895 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25896 wxGraphicsObject
*result
= 0 ;
25899 PyObject
* obj0
= 0 ;
25900 char * kwnames
[] = {
25901 (char *) "renderer", NULL
25904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25907 if (!SWIG_IsOK(res1
)) {
25908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25910 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25913 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25923 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25924 PyObject
*resultobj
= 0;
25925 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25928 PyObject
*swig_obj
[1] ;
25930 if (!args
) SWIG_fail
;
25931 swig_obj
[0] = args
;
25932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25936 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= SWIG_Py_Void();
25949 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25950 PyObject
*resultobj
= 0;
25951 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25955 PyObject
*swig_obj
[1] ;
25957 if (!args
) SWIG_fail
;
25958 swig_obj
[0] = args
;
25959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25960 if (!SWIG_IsOK(res1
)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25963 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25965 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25966 if (PyErr_Occurred()) SWIG_fail
;
25969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25977 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25978 PyObject
*resultobj
= 0;
25979 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25980 wxGraphicsRenderer
*result
= 0 ;
25983 PyObject
*swig_obj
[1] ;
25985 if (!args
) SWIG_fail
;
25986 swig_obj
[0] = args
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25991 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25993 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26003 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26006 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26007 return SWIG_Py_Void();
26010 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 return SWIG_Python_InitShadowInstance(args
);
26014 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26015 PyObject
*resultobj
= 0;
26016 wxGraphicsPen
*result
= 0 ;
26018 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26020 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26030 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26031 PyObject
*resultobj
= 0;
26032 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26035 PyObject
*swig_obj
[1] ;
26037 if (!args
) SWIG_fail
;
26038 swig_obj
[0] = args
;
26039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26043 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_Py_Void();
26056 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26059 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26060 return SWIG_Py_Void();
26063 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26064 return SWIG_Python_InitShadowInstance(args
);
26067 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26068 PyObject
*resultobj
= 0;
26069 wxGraphicsBrush
*result
= 0 ;
26071 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26073 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26083 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26084 PyObject
*resultobj
= 0;
26085 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26088 PyObject
*swig_obj
[1] ;
26090 if (!args
) SWIG_fail
;
26091 swig_obj
[0] = args
;
26092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26093 if (!SWIG_IsOK(res1
)) {
26094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26096 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_Py_Void();
26109 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26112 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26113 return SWIG_Py_Void();
26116 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 return SWIG_Python_InitShadowInstance(args
);
26120 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxGraphicsFont
*result
= 0 ;
26124 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26126 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26136 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26137 PyObject
*resultobj
= 0;
26138 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26141 PyObject
*swig_obj
[1] ;
26143 if (!args
) SWIG_fail
;
26144 swig_obj
[0] = args
;
26145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26146 if (!SWIG_IsOK(res1
)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26149 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26165 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26166 return SWIG_Py_Void();
26169 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26170 return SWIG_Python_InitShadowInstance(args
);
26173 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26174 PyObject
*resultobj
= 0;
26175 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26178 PyObject
*swig_obj
[1] ;
26180 if (!args
) SWIG_fail
;
26181 swig_obj
[0] = args
;
26182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26186 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_Py_Void();
26199 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
= 0;
26201 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26202 wxGraphicsMatrix
*arg2
= 0 ;
26207 PyObject
* obj0
= 0 ;
26208 PyObject
* obj1
= 0 ;
26209 char * kwnames
[] = {
26210 (char *) "self",(char *) "t", NULL
26213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26218 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26220 if (!SWIG_IsOK(res2
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26226 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26228 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_Py_Void();
26238 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
= 0;
26240 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26241 wxDouble arg2
= (wxDouble
) 1.0 ;
26242 wxDouble arg3
= (wxDouble
) 0.0 ;
26243 wxDouble arg4
= (wxDouble
) 0.0 ;
26244 wxDouble arg5
= (wxDouble
) 1.0 ;
26245 wxDouble arg6
= (wxDouble
) 0.0 ;
26246 wxDouble arg7
= (wxDouble
) 0.0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 PyObject
* obj2
= 0 ;
26264 PyObject
* obj3
= 0 ;
26265 PyObject
* obj4
= 0 ;
26266 PyObject
* obj5
= 0 ;
26267 PyObject
* obj6
= 0 ;
26268 char * kwnames
[] = {
26269 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26277 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26279 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26280 if (!SWIG_IsOK(ecode2
)) {
26281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26283 arg2
= static_cast< wxDouble
>(val2
);
26286 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26287 if (!SWIG_IsOK(ecode3
)) {
26288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26290 arg3
= static_cast< wxDouble
>(val3
);
26293 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26294 if (!SWIG_IsOK(ecode4
)) {
26295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26297 arg4
= static_cast< wxDouble
>(val4
);
26300 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26301 if (!SWIG_IsOK(ecode5
)) {
26302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26304 arg5
= static_cast< wxDouble
>(val5
);
26307 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26308 if (!SWIG_IsOK(ecode6
)) {
26309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26311 arg6
= static_cast< wxDouble
>(val6
);
26314 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26315 if (!SWIG_IsOK(ecode7
)) {
26316 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26318 arg7
= static_cast< wxDouble
>(val7
);
26321 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 PyObject
*resultobj
= 0;
26333 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26334 wxDouble
*arg2
= (wxDouble
*) 0 ;
26335 wxDouble
*arg3
= (wxDouble
*) 0 ;
26336 wxDouble
*arg4
= (wxDouble
*) 0 ;
26337 wxDouble
*arg5
= (wxDouble
*) 0 ;
26338 wxDouble
*arg6
= (wxDouble
*) 0 ;
26339 wxDouble
*arg7
= (wxDouble
*) 0 ;
26343 int res2
= SWIG_TMPOBJ
;
26345 int res3
= SWIG_TMPOBJ
;
26347 int res4
= SWIG_TMPOBJ
;
26349 int res5
= SWIG_TMPOBJ
;
26351 int res6
= SWIG_TMPOBJ
;
26353 int res7
= SWIG_TMPOBJ
;
26354 PyObject
*swig_obj
[1] ;
26362 if (!args
) SWIG_fail
;
26363 swig_obj
[0] = args
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26368 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26370 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26374 if (SWIG_IsTmpObj(res2
)) {
26375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26377 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26380 if (SWIG_IsTmpObj(res3
)) {
26381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26383 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26386 if (SWIG_IsTmpObj(res4
)) {
26387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26389 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26392 if (SWIG_IsTmpObj(res5
)) {
26393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26395 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26398 if (SWIG_IsTmpObj(res6
)) {
26399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26401 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26404 if (SWIG_IsTmpObj(res7
)) {
26405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26407 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26416 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26417 PyObject
*resultobj
= 0;
26418 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26421 PyObject
*swig_obj
[1] ;
26423 if (!args
) SWIG_fail
;
26424 swig_obj
[0] = args
;
26425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26429 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_Py_Void();
26441 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
= 0;
26443 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26444 wxGraphicsMatrix
*arg2
= 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 char * kwnames
[] = {
26453 (char *) "self",(char *) "t", NULL
26456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26461 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26463 if (!SWIG_IsOK(res2
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26469 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26471 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26483 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26484 PyObject
*resultobj
= 0;
26485 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26489 PyObject
*swig_obj
[1] ;
26491 if (!args
) SWIG_fail
;
26492 swig_obj
[0] = args
;
26493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26494 if (!SWIG_IsOK(res1
)) {
26495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26497 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26499 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26500 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26511 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= 0;
26513 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 PyObject
* obj2
= 0 ;
26525 char * kwnames
[] = {
26526 (char *) "self",(char *) "dx",(char *) "dy", NULL
26529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26531 if (!SWIG_IsOK(res1
)) {
26532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26534 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26535 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26536 if (!SWIG_IsOK(ecode2
)) {
26537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26539 arg2
= static_cast< wxDouble
>(val2
);
26540 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26541 if (!SWIG_IsOK(ecode3
)) {
26542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26544 arg3
= static_cast< wxDouble
>(val3
);
26546 (arg1
)->Translate(arg2
,arg3
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_Py_Void();
26556 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
= 0;
26558 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 PyObject
* obj2
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26579 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26580 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26581 if (!SWIG_IsOK(ecode2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26584 arg2
= static_cast< wxDouble
>(val2
);
26585 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26586 if (!SWIG_IsOK(ecode3
)) {
26587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26589 arg3
= static_cast< wxDouble
>(val3
);
26591 (arg1
)->Scale(arg2
,arg3
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
= 0;
26603 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char * kwnames
[] = {
26612 (char *) "self",(char *) "angle", NULL
26615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26620 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26621 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26622 if (!SWIG_IsOK(ecode2
)) {
26623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26625 arg2
= static_cast< wxDouble
>(val2
);
26627 (arg1
)->Rotate(arg2
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_Py_Void();
26637 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
= 0;
26639 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26640 wxDouble
*arg2
= (wxDouble
*) 0 ;
26641 wxDouble
*arg3
= (wxDouble
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 PyObject
* obj2
= 0 ;
26651 char * kwnames
[] = {
26652 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26660 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26661 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26663 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26664 if (!SWIG_IsOK(ecode
)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26667 temp2
= static_cast< wxDouble
>(val
);
26669 res2
= SWIG_AddTmpMask(ecode
);
26671 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26673 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26674 if (!SWIG_IsOK(ecode
)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26677 temp3
= static_cast< wxDouble
>(val
);
26679 res3
= SWIG_AddTmpMask(ecode
);
26682 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_Py_Void();
26686 if (SWIG_IsTmpObj(res2
)) {
26687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26689 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26692 if (SWIG_IsTmpObj(res3
)) {
26693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26695 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26704 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
= 0;
26706 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26707 wxDouble
*arg2
= (wxDouble
*) 0 ;
26708 wxDouble
*arg3
= (wxDouble
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 PyObject
* obj2
= 0 ;
26718 char * kwnames
[] = {
26719 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26724 if (!SWIG_IsOK(res1
)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26727 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26728 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26730 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26731 if (!SWIG_IsOK(ecode
)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26734 temp2
= static_cast< wxDouble
>(val
);
26736 res2
= SWIG_AddTmpMask(ecode
);
26738 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26740 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26741 if (!SWIG_IsOK(ecode
)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26744 temp3
= static_cast< wxDouble
>(val
);
26746 res3
= SWIG_AddTmpMask(ecode
);
26749 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= SWIG_Py_Void();
26753 if (SWIG_IsTmpObj(res2
)) {
26754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26756 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26759 if (SWIG_IsTmpObj(res3
)) {
26760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26762 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26771 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26772 PyObject
*resultobj
= 0;
26773 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26777 PyObject
*swig_obj
[1] ;
26779 if (!args
) SWIG_fail
;
26780 swig_obj
[0] = args
;
26781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26782 if (!SWIG_IsOK(res1
)) {
26783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26785 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26787 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26797 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26800 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26801 return SWIG_Py_Void();
26804 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26805 PyObject
*resultobj
= 0;
26806 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26809 PyObject
*swig_obj
[1] ;
26811 if (!args
) SWIG_fail
;
26812 swig_obj
[0] = args
;
26813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26814 if (!SWIG_IsOK(res1
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26817 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 resultobj
= SWIG_Py_Void();
26830 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26831 PyObject
*resultobj
= 0;
26832 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26842 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26844 if (!SWIG_IsOK(res1
)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26847 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26848 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26849 if (!SWIG_IsOK(ecode2
)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26852 arg2
= static_cast< wxDouble
>(val2
);
26853 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26854 if (!SWIG_IsOK(ecode3
)) {
26855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26857 arg3
= static_cast< wxDouble
>(val3
);
26859 (arg1
)->MoveToPoint(arg2
,arg3
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26869 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26870 PyObject
*resultobj
= 0;
26871 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26872 wxPoint2D
*arg2
= 0 ;
26877 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26882 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26885 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26888 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_Py_Void();
26898 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26902 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26905 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26908 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26912 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26917 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26918 PyObject
*resultobj
= 0;
26919 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26929 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26934 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26935 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26936 if (!SWIG_IsOK(ecode2
)) {
26937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26939 arg2
= static_cast< wxDouble
>(val2
);
26940 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26941 if (!SWIG_IsOK(ecode3
)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26944 arg3
= static_cast< wxDouble
>(val3
);
26946 (arg1
)->AddLineToPoint(arg2
,arg3
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= SWIG_Py_Void();
26956 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26957 PyObject
*resultobj
= 0;
26958 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26959 wxPoint2D
*arg2
= 0 ;
26964 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26966 if (!SWIG_IsOK(res1
)) {
26967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26969 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26972 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26975 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_Py_Void();
26985 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26989 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26992 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26995 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26999 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27004 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27005 PyObject
*resultobj
= 0;
27006 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27028 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27033 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27034 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27035 if (!SWIG_IsOK(ecode2
)) {
27036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27038 arg2
= static_cast< wxDouble
>(val2
);
27039 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27040 if (!SWIG_IsOK(ecode3
)) {
27041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27043 arg3
= static_cast< wxDouble
>(val3
);
27044 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27045 if (!SWIG_IsOK(ecode4
)) {
27046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27048 arg4
= static_cast< wxDouble
>(val4
);
27049 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27050 if (!SWIG_IsOK(ecode5
)) {
27051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27053 arg5
= static_cast< wxDouble
>(val5
);
27054 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27055 if (!SWIG_IsOK(ecode6
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27058 arg6
= static_cast< wxDouble
>(val6
);
27059 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27060 if (!SWIG_IsOK(ecode7
)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27063 arg7
= static_cast< wxDouble
>(val7
);
27065 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= SWIG_Py_Void();
27075 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27076 PyObject
*resultobj
= 0;
27077 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27078 wxPoint2D
*arg2
= 0 ;
27079 wxPoint2D
*arg3
= 0 ;
27080 wxPoint2D
*arg4
= 0 ;
27087 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27092 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27095 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27099 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27103 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27106 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_Py_Void();
27116 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27120 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27123 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27126 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27130 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27135 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
= 0;
27137 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27138 wxGraphicsPath
*arg2
= 0 ;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 char * kwnames
[] = {
27146 (char *) "self",(char *) "path", NULL
27149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27154 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27156 if (!SWIG_IsOK(res2
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27162 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27164 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= SWIG_Py_Void();
27174 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27175 PyObject
*resultobj
= 0;
27176 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27179 PyObject
*swig_obj
[1] ;
27181 if (!args
) SWIG_fail
;
27182 swig_obj
[0] = args
;
27183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27184 if (!SWIG_IsOK(res1
)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27187 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27189 (arg1
)->CloseSubpath();
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_Py_Void();
27199 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27213 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27215 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27225 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27226 PyObject
*resultobj
= 0;
27227 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27233 bool arg7
= (bool) true ;
27249 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27254 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27255 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27256 if (!SWIG_IsOK(ecode2
)) {
27257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27259 arg2
= static_cast< wxDouble
>(val2
);
27260 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27261 if (!SWIG_IsOK(ecode3
)) {
27262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27264 arg3
= static_cast< wxDouble
>(val3
);
27265 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27266 if (!SWIG_IsOK(ecode4
)) {
27267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27269 arg4
= static_cast< wxDouble
>(val4
);
27270 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27271 if (!SWIG_IsOK(ecode5
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27274 arg5
= static_cast< wxDouble
>(val5
);
27275 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27276 if (!SWIG_IsOK(ecode6
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27279 arg6
= static_cast< wxDouble
>(val6
);
27281 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27282 if (!SWIG_IsOK(ecode7
)) {
27283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27285 arg7
= static_cast< bool >(val7
);
27288 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_Py_Void();
27298 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27299 PyObject
*resultobj
= 0;
27300 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27301 wxPoint2D
*arg2
= 0 ;
27305 bool arg6
= (bool) true ;
27318 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27323 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27326 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27328 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27329 if (!SWIG_IsOK(ecode3
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27332 arg3
= static_cast< wxDouble
>(val3
);
27333 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27334 if (!SWIG_IsOK(ecode4
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27337 arg4
= static_cast< wxDouble
>(val4
);
27338 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27339 if (!SWIG_IsOK(ecode5
)) {
27340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27342 arg5
= static_cast< wxDouble
>(val5
);
27344 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27345 if (!SWIG_IsOK(ecode6
)) {
27346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27348 arg6
= static_cast< bool >(val6
);
27351 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_Py_Void();
27361 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27365 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27367 if ((argc
>= 5) && (argc
<= 6)) {
27371 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27374 if (!_v
) goto check_1
;
27378 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27379 _v
= SWIG_CheckState(res
);
27382 if (!_v
) goto check_1
;
27384 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27388 if ((argc
>= 6) && (argc
<= 7)) {
27389 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27393 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27398 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
= 0;
27400 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27415 PyObject
* obj0
= 0 ;
27416 PyObject
* obj1
= 0 ;
27417 PyObject
* obj2
= 0 ;
27418 PyObject
* obj3
= 0 ;
27419 PyObject
* obj4
= 0 ;
27420 char * kwnames
[] = {
27421 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27429 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27430 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27431 if (!SWIG_IsOK(ecode2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27434 arg2
= static_cast< wxDouble
>(val2
);
27435 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27436 if (!SWIG_IsOK(ecode3
)) {
27437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27439 arg3
= static_cast< wxDouble
>(val3
);
27440 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27441 if (!SWIG_IsOK(ecode4
)) {
27442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27444 arg4
= static_cast< wxDouble
>(val4
);
27445 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27446 if (!SWIG_IsOK(ecode5
)) {
27447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27449 arg5
= static_cast< wxDouble
>(val5
);
27451 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_Py_Void();
27461 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
= 0;
27463 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 PyObject
* obj2
= 0 ;
27481 PyObject
* obj3
= 0 ;
27482 PyObject
* obj4
= 0 ;
27483 char * kwnames
[] = {
27484 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27492 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27493 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27494 if (!SWIG_IsOK(ecode2
)) {
27495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27497 arg2
= static_cast< wxDouble
>(val2
);
27498 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27499 if (!SWIG_IsOK(ecode3
)) {
27500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27502 arg3
= static_cast< wxDouble
>(val3
);
27503 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27504 if (!SWIG_IsOK(ecode4
)) {
27505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27507 arg4
= static_cast< wxDouble
>(val4
);
27508 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27509 if (!SWIG_IsOK(ecode5
)) {
27510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27512 arg5
= static_cast< wxDouble
>(val5
);
27514 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= SWIG_Py_Void();
27524 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
= 0;
27526 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 PyObject
* obj3
= 0 ;
27542 char * kwnames
[] = {
27543 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27548 if (!SWIG_IsOK(res1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27551 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27552 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27553 if (!SWIG_IsOK(ecode2
)) {
27554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27556 arg2
= static_cast< wxDouble
>(val2
);
27557 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27558 if (!SWIG_IsOK(ecode3
)) {
27559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27561 arg3
= static_cast< wxDouble
>(val3
);
27562 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27563 if (!SWIG_IsOK(ecode4
)) {
27564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27566 arg4
= static_cast< wxDouble
>(val4
);
27568 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= SWIG_Py_Void();
27578 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
= 0;
27580 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 PyObject
* obj2
= 0 ;
27601 PyObject
* obj3
= 0 ;
27602 PyObject
* obj4
= 0 ;
27603 PyObject
* obj5
= 0 ;
27604 char * kwnames
[] = {
27605 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27613 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27614 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27615 if (!SWIG_IsOK(ecode2
)) {
27616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27618 arg2
= static_cast< wxDouble
>(val2
);
27619 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27620 if (!SWIG_IsOK(ecode3
)) {
27621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27623 arg3
= static_cast< wxDouble
>(val3
);
27624 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27625 if (!SWIG_IsOK(ecode4
)) {
27626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27628 arg4
= static_cast< wxDouble
>(val4
);
27629 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27630 if (!SWIG_IsOK(ecode5
)) {
27631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27633 arg5
= static_cast< wxDouble
>(val5
);
27634 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27635 if (!SWIG_IsOK(ecode6
)) {
27636 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27638 arg6
= static_cast< wxDouble
>(val6
);
27640 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_Py_Void();
27650 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
= 0;
27652 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27667 PyObject
* obj0
= 0 ;
27668 PyObject
* obj1
= 0 ;
27669 PyObject
* obj2
= 0 ;
27670 PyObject
* obj3
= 0 ;
27671 PyObject
* obj4
= 0 ;
27672 char * kwnames
[] = {
27673 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27681 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27682 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27683 if (!SWIG_IsOK(ecode2
)) {
27684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27686 arg2
= static_cast< wxDouble
>(val2
);
27687 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27688 if (!SWIG_IsOK(ecode3
)) {
27689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27691 arg3
= static_cast< wxDouble
>(val3
);
27692 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27693 if (!SWIG_IsOK(ecode4
)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27696 arg4
= static_cast< wxDouble
>(val4
);
27697 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27698 if (!SWIG_IsOK(ecode5
)) {
27699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27701 arg5
= static_cast< wxDouble
>(val5
);
27703 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_Py_Void();
27713 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
= 0;
27715 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 PyObject
* obj2
= 0 ;
27736 PyObject
* obj3
= 0 ;
27737 PyObject
* obj4
= 0 ;
27738 PyObject
* obj5
= 0 ;
27739 char * kwnames
[] = {
27740 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27745 if (!SWIG_IsOK(res1
)) {
27746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27748 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27749 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27750 if (!SWIG_IsOK(ecode2
)) {
27751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27753 arg2
= static_cast< wxDouble
>(val2
);
27754 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27755 if (!SWIG_IsOK(ecode3
)) {
27756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27758 arg3
= static_cast< wxDouble
>(val3
);
27759 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27760 if (!SWIG_IsOK(ecode4
)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27763 arg4
= static_cast< wxDouble
>(val4
);
27764 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27765 if (!SWIG_IsOK(ecode5
)) {
27766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27768 arg5
= static_cast< wxDouble
>(val5
);
27769 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27770 if (!SWIG_IsOK(ecode6
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27773 arg6
= static_cast< wxDouble
>(val6
);
27775 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= SWIG_Py_Void();
27785 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 PyObject
*resultobj
= 0;
27787 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27791 PyObject
*swig_obj
[1] ;
27793 if (!args
) SWIG_fail
;
27794 swig_obj
[0] = args
;
27795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27799 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27801 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27811 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
= 0;
27813 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27814 void *arg2
= (void *) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 PyObject
* obj1
= 0 ;
27820 char * kwnames
[] = {
27821 (char *) "self",(char *) "p", NULL
27824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27826 if (!SWIG_IsOK(res1
)) {
27827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27829 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27830 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27831 if (!SWIG_IsOK(res2
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27835 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= SWIG_Py_Void();
27845 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
= 0;
27847 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27848 wxGraphicsMatrix
*arg2
= 0 ;
27853 PyObject
* obj0
= 0 ;
27854 PyObject
* obj1
= 0 ;
27855 char * kwnames
[] = {
27856 (char *) "self",(char *) "matrix", NULL
27859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27861 if (!SWIG_IsOK(res1
)) {
27862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27864 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27866 if (!SWIG_IsOK(res2
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27872 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27874 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= SWIG_Py_Void();
27884 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 PyObject
*resultobj
= 0;
27886 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27898 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27900 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27910 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27911 PyObject
*resultobj
= 0;
27912 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27915 int arg4
= (int) wxODDEVEN_RULE
;
27926 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27928 if (!SWIG_IsOK(res1
)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27931 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27932 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27933 if (!SWIG_IsOK(ecode2
)) {
27934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27936 arg2
= static_cast< wxDouble
>(val2
);
27937 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27938 if (!SWIG_IsOK(ecode3
)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27941 arg3
= static_cast< wxDouble
>(val3
);
27943 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27944 if (!SWIG_IsOK(ecode4
)) {
27945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27947 arg4
= static_cast< int >(val4
);
27950 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27962 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27963 PyObject
*resultobj
= 0;
27964 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27965 wxPoint2D
*arg2
= 0 ;
27966 int arg3
= (int) wxODDEVEN_RULE
;
27974 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27982 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27985 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27986 if (!SWIG_IsOK(ecode3
)) {
27987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27989 arg3
= static_cast< int >(val3
);
27992 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28004 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28008 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28010 if ((argc
>= 2) && (argc
<= 3)) {
28014 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28017 if (!_v
) goto check_1
;
28021 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28022 _v
= SWIG_CheckState(res
);
28025 if (!_v
) goto check_1
;
28027 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28031 if ((argc
>= 3) && (argc
<= 4)) {
28032 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28036 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28041 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28044 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28045 return SWIG_Py_Void();
28048 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28049 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28054 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28055 PyObject
*pyobj
= 0;
28057 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28062 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28063 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28068 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28069 PyObject
*pyobj
= 0;
28071 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28076 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28077 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28082 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28083 PyObject
*pyobj
= 0;
28085 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28090 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28091 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28096 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28097 PyObject
*pyobj
= 0;
28099 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28104 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28105 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28110 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28111 PyObject
*pyobj
= 0;
28113 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28118 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28119 PyObject
*resultobj
= 0;
28120 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28123 PyObject
*swig_obj
[1] ;
28125 if (!args
) SWIG_fail
;
28126 swig_obj
[0] = args
;
28127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28131 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_Py_Void();
28144 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28145 PyObject
*resultobj
= 0;
28146 wxWindowDC
*arg1
= 0 ;
28147 wxGraphicsContext
*result
= 0 ;
28151 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28159 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28161 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28171 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28172 PyObject
*resultobj
= 0;
28173 wxWindow
*arg1
= (wxWindow
*) 0 ;
28174 wxGraphicsContext
*result
= 0 ;
28178 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28180 if (!SWIG_IsOK(res1
)) {
28181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28185 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28195 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28199 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28204 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28205 _v
= SWIG_CheckState(res
);
28207 if (!_v
) goto check_1
;
28208 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28213 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28217 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28222 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxGraphicsContext
*result
= 0 ;
28226 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28228 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28238 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
= 0;
28240 void *arg1
= (void *) 0 ;
28241 wxGraphicsContext
*result
= 0 ;
28243 PyObject
* obj0
= 0 ;
28244 char * kwnames
[] = {
28245 (char *) "context", NULL
28248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28249 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28250 if (!SWIG_IsOK(res1
)) {
28251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28254 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28264 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
= 0;
28266 void *arg1
= (void *) 0 ;
28267 wxGraphicsContext
*result
= 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char * kwnames
[] = {
28271 (char *) "window", NULL
28274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28275 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28276 if (!SWIG_IsOK(res1
)) {
28277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28280 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28290 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28291 PyObject
*resultobj
= 0;
28292 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28293 wxGraphicsPath result
;
28296 PyObject
*swig_obj
[1] ;
28298 if (!args
) SWIG_fail
;
28299 swig_obj
[0] = args
;
28300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28304 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28306 result
= (arg1
)->CreatePath();
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28316 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= 0;
28318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28320 wxGraphicsPen result
;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char * kwnames
[] = {
28328 (char *) "self",(char *) "pen", NULL
28331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28336 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28338 if (!SWIG_IsOK(res2
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28344 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28346 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28356 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
= 0;
28358 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28359 wxBrush
*arg2
= 0 ;
28360 wxGraphicsBrush result
;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char * kwnames
[] = {
28368 (char *) "self",(char *) "brush", NULL
28371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28376 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28378 if (!SWIG_IsOK(res2
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28384 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28386 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28396 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
= 0;
28398 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28403 wxColour
*arg6
= 0 ;
28404 wxColour
*arg7
= 0 ;
28405 wxGraphicsBrush result
;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 PyObject
* obj2
= 0 ;
28421 PyObject
* obj3
= 0 ;
28422 PyObject
* obj4
= 0 ;
28423 PyObject
* obj5
= 0 ;
28424 PyObject
* obj6
= 0 ;
28425 char * kwnames
[] = {
28426 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28431 if (!SWIG_IsOK(res1
)) {
28432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28434 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28435 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28436 if (!SWIG_IsOK(ecode2
)) {
28437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28439 arg2
= static_cast< wxDouble
>(val2
);
28440 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28441 if (!SWIG_IsOK(ecode3
)) {
28442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28444 arg3
= static_cast< wxDouble
>(val3
);
28445 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28446 if (!SWIG_IsOK(ecode4
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28449 arg4
= static_cast< wxDouble
>(val4
);
28450 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28451 if (!SWIG_IsOK(ecode5
)) {
28452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28454 arg5
= static_cast< wxDouble
>(val5
);
28457 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28461 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28464 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28474 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
= 0;
28476 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28482 wxColour
*arg7
= 0 ;
28483 wxColour
*arg8
= 0 ;
28484 wxGraphicsBrush result
;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 PyObject
* obj2
= 0 ;
28502 PyObject
* obj3
= 0 ;
28503 PyObject
* obj4
= 0 ;
28504 PyObject
* obj5
= 0 ;
28505 PyObject
* obj6
= 0 ;
28506 PyObject
* obj7
= 0 ;
28507 char * kwnames
[] = {
28508 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28516 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28517 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28518 if (!SWIG_IsOK(ecode2
)) {
28519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28521 arg2
= static_cast< wxDouble
>(val2
);
28522 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28523 if (!SWIG_IsOK(ecode3
)) {
28524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28526 arg3
= static_cast< wxDouble
>(val3
);
28527 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28528 if (!SWIG_IsOK(ecode4
)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28531 arg4
= static_cast< wxDouble
>(val4
);
28532 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28533 if (!SWIG_IsOK(ecode5
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28536 arg5
= static_cast< wxDouble
>(val5
);
28537 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28538 if (!SWIG_IsOK(ecode6
)) {
28539 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28541 arg6
= static_cast< wxDouble
>(val6
);
28544 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28548 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28551 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28561 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
= 0;
28563 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28565 wxColour
const &arg3_defvalue
= *wxBLACK
;
28566 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28567 wxGraphicsFont result
;
28573 PyObject
* obj0
= 0 ;
28574 PyObject
* obj1
= 0 ;
28575 PyObject
* obj2
= 0 ;
28576 char * kwnames
[] = {
28577 (char *) "self",(char *) "font",(char *) "col", NULL
28580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28585 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28587 if (!SWIG_IsOK(res2
)) {
28588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28593 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28597 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28601 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28611 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
= 0;
28613 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28614 wxDouble arg2
= (wxDouble
) 1.0 ;
28615 wxDouble arg3
= (wxDouble
) 0.0 ;
28616 wxDouble arg4
= (wxDouble
) 0.0 ;
28617 wxDouble arg5
= (wxDouble
) 1.0 ;
28618 wxDouble arg6
= (wxDouble
) 0.0 ;
28619 wxDouble arg7
= (wxDouble
) 0.0 ;
28620 wxGraphicsMatrix result
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 PyObject
* obj2
= 0 ;
28638 PyObject
* obj3
= 0 ;
28639 PyObject
* obj4
= 0 ;
28640 PyObject
* obj5
= 0 ;
28641 PyObject
* obj6
= 0 ;
28642 char * kwnames
[] = {
28643 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28651 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28653 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28654 if (!SWIG_IsOK(ecode2
)) {
28655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28657 arg2
= static_cast< wxDouble
>(val2
);
28660 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28661 if (!SWIG_IsOK(ecode3
)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28664 arg3
= static_cast< wxDouble
>(val3
);
28667 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28668 if (!SWIG_IsOK(ecode4
)) {
28669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28671 arg4
= static_cast< wxDouble
>(val4
);
28674 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28675 if (!SWIG_IsOK(ecode5
)) {
28676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28678 arg5
= static_cast< wxDouble
>(val5
);
28681 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28682 if (!SWIG_IsOK(ecode6
)) {
28683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28685 arg6
= static_cast< wxDouble
>(val6
);
28688 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28689 if (!SWIG_IsOK(ecode7
)) {
28690 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28692 arg7
= static_cast< wxDouble
>(val7
);
28695 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28705 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28706 PyObject
*resultobj
= 0;
28707 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28710 PyObject
*swig_obj
[1] ;
28712 if (!args
) SWIG_fail
;
28713 swig_obj
[0] = args
;
28714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28715 if (!SWIG_IsOK(res1
)) {
28716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28718 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28720 (arg1
)->PushState();
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_Py_Void();
28730 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28731 PyObject
*resultobj
= 0;
28732 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28735 PyObject
*swig_obj
[1] ;
28737 if (!args
) SWIG_fail
;
28738 swig_obj
[0] = args
;
28739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28743 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28745 (arg1
)->PopState();
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= SWIG_Py_Void();
28755 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
= 0;
28757 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28758 wxRegion
*arg2
= 0 ;
28763 PyObject
* obj0
= 0 ;
28764 PyObject
* obj1
= 0 ;
28765 char * kwnames
[] = {
28766 (char *) "self",(char *) "region", NULL
28769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28771 if (!SWIG_IsOK(res1
)) {
28772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28774 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28776 if (!SWIG_IsOK(res2
)) {
28777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28782 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28784 (arg1
)->Clip((wxRegion
const &)*arg2
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_Py_Void();
28794 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28796 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28811 PyObject
* obj0
= 0 ;
28812 PyObject
* obj1
= 0 ;
28813 PyObject
* obj2
= 0 ;
28814 PyObject
* obj3
= 0 ;
28815 PyObject
* obj4
= 0 ;
28816 char * kwnames
[] = {
28817 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28822 if (!SWIG_IsOK(res1
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28825 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28826 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28827 if (!SWIG_IsOK(ecode2
)) {
28828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28830 arg2
= static_cast< wxDouble
>(val2
);
28831 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28832 if (!SWIG_IsOK(ecode3
)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28835 arg3
= static_cast< wxDouble
>(val3
);
28836 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28837 if (!SWIG_IsOK(ecode4
)) {
28838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28840 arg4
= static_cast< wxDouble
>(val4
);
28841 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28842 if (!SWIG_IsOK(ecode5
)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28845 arg5
= static_cast< wxDouble
>(val5
);
28847 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= SWIG_Py_Void();
28857 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28858 PyObject
*resultobj
= 0;
28859 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28862 PyObject
*swig_obj
[1] ;
28864 if (!args
) SWIG_fail
;
28865 swig_obj
[0] = args
;
28866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28867 if (!SWIG_IsOK(res1
)) {
28868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28870 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28872 (arg1
)->ResetClip();
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_Py_Void();
28882 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28883 PyObject
*resultobj
= 0;
28884 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28888 PyObject
*swig_obj
[1] ;
28890 if (!args
) SWIG_fail
;
28891 swig_obj
[0] = args
;
28892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28893 if (!SWIG_IsOK(res1
)) {
28894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28896 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28898 result
= (void *)(arg1
)->GetNativeContext();
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28908 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28909 PyObject
*resultobj
= 0;
28910 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28914 PyObject
*swig_obj
[1] ;
28916 if (!args
) SWIG_fail
;
28917 swig_obj
[0] = args
;
28918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28919 if (!SWIG_IsOK(res1
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28922 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28924 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_From_int(static_cast< int >(result
));
28934 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
= 0;
28936 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28943 PyObject
* obj0
= 0 ;
28944 PyObject
* obj1
= 0 ;
28945 char * kwnames
[] = {
28946 (char *) "self",(char *) "function", NULL
28949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28956 if (!SWIG_IsOK(ecode2
)) {
28957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28959 arg2
= static_cast< int >(val2
);
28961 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28973 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
= 0;
28975 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28984 PyObject
* obj0
= 0 ;
28985 PyObject
* obj1
= 0 ;
28986 PyObject
* obj2
= 0 ;
28987 char * kwnames
[] = {
28988 (char *) "self",(char *) "dx",(char *) "dy", NULL
28991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28993 if (!SWIG_IsOK(res1
)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28996 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28997 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28998 if (!SWIG_IsOK(ecode2
)) {
28999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29001 arg2
= static_cast< wxDouble
>(val2
);
29002 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29003 if (!SWIG_IsOK(ecode3
)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29006 arg3
= static_cast< wxDouble
>(val3
);
29008 (arg1
)->Translate(arg2
,arg3
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= SWIG_Py_Void();
29018 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
= 0;
29020 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29029 PyObject
* obj0
= 0 ;
29030 PyObject
* obj1
= 0 ;
29031 PyObject
* obj2
= 0 ;
29032 char * kwnames
[] = {
29033 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29038 if (!SWIG_IsOK(res1
)) {
29039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29042 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29043 if (!SWIG_IsOK(ecode2
)) {
29044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29046 arg2
= static_cast< wxDouble
>(val2
);
29047 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29048 if (!SWIG_IsOK(ecode3
)) {
29049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29051 arg3
= static_cast< wxDouble
>(val3
);
29053 (arg1
)->Scale(arg2
,arg3
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= SWIG_Py_Void();
29063 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
= 0;
29065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 char * kwnames
[] = {
29074 (char *) "self",(char *) "angle", NULL
29077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29079 if (!SWIG_IsOK(res1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29082 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29083 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29084 if (!SWIG_IsOK(ecode2
)) {
29085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29087 arg2
= static_cast< wxDouble
>(val2
);
29089 (arg1
)->Rotate(arg2
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_Py_Void();
29099 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
= 0;
29101 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29102 wxGraphicsMatrix
*arg2
= 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "matrix", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29118 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29120 if (!SWIG_IsOK(res2
)) {
29121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29126 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29128 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= SWIG_Py_Void();
29138 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
= 0;
29140 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29141 wxGraphicsMatrix
*arg2
= 0 ;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 char * kwnames
[] = {
29149 (char *) "self",(char *) "matrix", NULL
29152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29154 if (!SWIG_IsOK(res1
)) {
29155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29157 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29159 if (!SWIG_IsOK(res2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29165 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29167 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= SWIG_Py_Void();
29177 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29178 PyObject
*resultobj
= 0;
29179 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29180 wxGraphicsMatrix result
;
29183 PyObject
*swig_obj
[1] ;
29185 if (!args
) SWIG_fail
;
29186 swig_obj
[0] = args
;
29187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29188 if (!SWIG_IsOK(res1
)) {
29189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29191 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29193 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29203 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29204 PyObject
*resultobj
= 0;
29205 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29206 wxGraphicsPen
*arg2
= 0 ;
29212 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29214 if (!SWIG_IsOK(res1
)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29217 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29218 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29219 if (!SWIG_IsOK(res2
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29225 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29227 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= SWIG_Py_Void();
29237 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29238 PyObject
*resultobj
= 0;
29239 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29246 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29248 if (!SWIG_IsOK(res1
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29251 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29252 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29253 if (!SWIG_IsOK(res2
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29259 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29261 (arg1
)->SetPen((wxPen
const &)*arg2
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_Py_Void();
29271 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29275 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29280 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29281 _v
= SWIG_CheckState(res
);
29283 if (!_v
) goto check_1
;
29284 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29289 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29293 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29298 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29299 PyObject
*resultobj
= 0;
29300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29301 wxGraphicsBrush
*arg2
= 0 ;
29307 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29309 if (!SWIG_IsOK(res1
)) {
29310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29312 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29313 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29314 if (!SWIG_IsOK(res2
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29320 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29322 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= SWIG_Py_Void();
29332 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29333 PyObject
*resultobj
= 0;
29334 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29335 wxBrush
*arg2
= 0 ;
29341 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29346 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29347 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29348 if (!SWIG_IsOK(res2
)) {
29349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29354 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29356 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= SWIG_Py_Void();
29366 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29370 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29375 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29376 _v
= SWIG_CheckState(res
);
29378 if (!_v
) goto check_1
;
29379 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29384 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29388 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29393 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29394 PyObject
*resultobj
= 0;
29395 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29396 wxGraphicsFont
*arg2
= 0 ;
29402 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29407 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29408 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29409 if (!SWIG_IsOK(res2
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29415 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29417 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_Py_Void();
29427 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29428 PyObject
*resultobj
= 0;
29429 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29431 wxColour
const &arg3_defvalue
= *wxBLACK
;
29432 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29439 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29441 if (!SWIG_IsOK(res1
)) {
29442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29444 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29445 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29446 if (!SWIG_IsOK(res2
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29452 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29456 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29460 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_Py_Void();
29470 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29474 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29479 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29480 _v
= SWIG_CheckState(res
);
29482 if (!_v
) goto check_1
;
29483 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29487 if ((argc
>= 2) && (argc
<= 3)) {
29488 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29492 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29497 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
= 0;
29499 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29500 wxGraphicsPath
*arg2
= 0 ;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 char * kwnames
[] = {
29508 (char *) "self",(char *) "path", NULL
29511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29513 if (!SWIG_IsOK(res1
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29516 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29518 if (!SWIG_IsOK(res2
)) {
29519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29524 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29526 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= SWIG_Py_Void();
29536 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
= 0;
29538 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29539 wxGraphicsPath
*arg2
= 0 ;
29540 int arg3
= (int) wxODDEVEN_RULE
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 PyObject
* obj2
= 0 ;
29550 char * kwnames
[] = {
29551 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29556 if (!SWIG_IsOK(res1
)) {
29557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29559 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29561 if (!SWIG_IsOK(res2
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29567 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29570 if (!SWIG_IsOK(ecode3
)) {
29571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29573 arg3
= static_cast< int >(val3
);
29576 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29589 wxGraphicsPath
*arg2
= 0 ;
29590 int arg3
= (int) wxODDEVEN_RULE
;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 PyObject
* obj2
= 0 ;
29600 char * kwnames
[] = {
29601 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29606 if (!SWIG_IsOK(res1
)) {
29607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29609 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29611 if (!SWIG_IsOK(res2
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29617 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29620 if (!SWIG_IsOK(ecode3
)) {
29621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29623 arg3
= static_cast< int >(val3
);
29626 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= SWIG_Py_Void();
29636 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
= 0;
29638 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29639 wxString
*arg2
= 0 ;
29642 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29643 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29646 bool temp2
= false ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 PyObject
* obj3
= 0 ;
29657 PyObject
* obj4
= 0 ;
29658 char * kwnames
[] = {
29659 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29667 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29669 arg2
= wxString_in_helper(obj1
);
29670 if (arg2
== NULL
) SWIG_fail
;
29673 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29674 if (!SWIG_IsOK(ecode3
)) {
29675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29677 arg3
= static_cast< wxDouble
>(val3
);
29678 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29679 if (!SWIG_IsOK(ecode4
)) {
29680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29682 arg4
= static_cast< wxDouble
>(val4
);
29684 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29685 if (!SWIG_IsOK(res5
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29691 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29694 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= SWIG_Py_Void();
29712 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29713 PyObject
*resultobj
= 0;
29714 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29715 wxString
*arg2
= 0 ;
29719 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29720 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29723 bool temp2
= false ;
29732 PyObject
* obj0
= 0 ;
29733 PyObject
* obj1
= 0 ;
29734 PyObject
* obj2
= 0 ;
29735 PyObject
* obj3
= 0 ;
29736 PyObject
* obj4
= 0 ;
29737 PyObject
* obj5
= 0 ;
29738 char * kwnames
[] = {
29739 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29744 if (!SWIG_IsOK(res1
)) {
29745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29747 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29749 arg2
= wxString_in_helper(obj1
);
29750 if (arg2
== NULL
) SWIG_fail
;
29753 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29754 if (!SWIG_IsOK(ecode3
)) {
29755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29757 arg3
= static_cast< wxDouble
>(val3
);
29758 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29759 if (!SWIG_IsOK(ecode4
)) {
29760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29762 arg4
= static_cast< wxDouble
>(val4
);
29763 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29764 if (!SWIG_IsOK(ecode5
)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29767 arg5
= static_cast< wxDouble
>(val5
);
29769 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29770 if (!SWIG_IsOK(res6
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29776 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29779 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= SWIG_Py_Void();
29797 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
= 0;
29799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29800 wxString
*arg2
= 0 ;
29801 wxDouble
*arg3
= (wxDouble
*) 0 ;
29802 wxDouble
*arg4
= (wxDouble
*) 0 ;
29803 wxDouble
*arg5
= (wxDouble
*) 0 ;
29804 wxDouble
*arg6
= (wxDouble
*) 0 ;
29807 bool temp2
= false ;
29809 int res3
= SWIG_TMPOBJ
;
29811 int res4
= SWIG_TMPOBJ
;
29813 int res5
= SWIG_TMPOBJ
;
29815 int res6
= SWIG_TMPOBJ
;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 char * kwnames
[] = {
29819 (char *) "self",(char *) "text", NULL
29826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29831 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29833 arg2
= wxString_in_helper(obj1
);
29834 if (arg2
== NULL
) SWIG_fail
;
29838 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= SWIG_Py_Void();
29842 if (SWIG_IsTmpObj(res3
)) {
29843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29845 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29848 if (SWIG_IsTmpObj(res4
)) {
29849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29851 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29854 if (SWIG_IsTmpObj(res5
)) {
29855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29857 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29860 if (SWIG_IsTmpObj(res6
)) {
29861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29863 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29880 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
= 0;
29882 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29883 wxString
*arg2
= 0 ;
29884 PyObject
*result
= 0 ;
29887 bool temp2
= false ;
29888 PyObject
* obj0
= 0 ;
29889 PyObject
* obj1
= 0 ;
29890 char * kwnames
[] = {
29891 (char *) "self",(char *) "text", NULL
29894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29896 if (!SWIG_IsOK(res1
)) {
29897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29899 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29901 arg2
= wxString_in_helper(obj1
);
29902 if (arg2
== NULL
) SWIG_fail
;
29906 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= result
;
29924 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= 0;
29926 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29927 wxString
*arg2
= 0 ;
29928 wxArrayDouble result
;
29931 bool temp2
= false ;
29932 PyObject
* obj0
= 0 ;
29933 PyObject
* obj1
= 0 ;
29934 char * kwnames
[] = {
29935 (char *) "self",(char *) "text", NULL
29938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29943 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29945 arg2
= wxString_in_helper(obj1
);
29946 if (arg2
== NULL
) SWIG_fail
;
29950 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29951 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= wxArrayDouble2PyList_helper(result
);
29970 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29972 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29973 wxBitmap
*arg2
= 0 ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 PyObject
* obj2
= 0 ;
29993 PyObject
* obj3
= 0 ;
29994 PyObject
* obj4
= 0 ;
29995 PyObject
* obj5
= 0 ;
29996 char * kwnames
[] = {
29997 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30005 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30007 if (!SWIG_IsOK(res2
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30013 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30014 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30015 if (!SWIG_IsOK(ecode3
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30018 arg3
= static_cast< wxDouble
>(val3
);
30019 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30020 if (!SWIG_IsOK(ecode4
)) {
30021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30023 arg4
= static_cast< wxDouble
>(val4
);
30024 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30025 if (!SWIG_IsOK(ecode5
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30028 arg5
= static_cast< wxDouble
>(val5
);
30029 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30030 if (!SWIG_IsOK(ecode6
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30033 arg6
= static_cast< wxDouble
>(val6
);
30035 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_Py_Void();
30045 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
= 0;
30047 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 PyObject
* obj2
= 0 ;
30068 PyObject
* obj3
= 0 ;
30069 PyObject
* obj4
= 0 ;
30070 PyObject
* obj5
= 0 ;
30071 char * kwnames
[] = {
30072 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30077 if (!SWIG_IsOK(res1
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30080 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30082 if (!SWIG_IsOK(res2
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30088 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30089 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30090 if (!SWIG_IsOK(ecode3
)) {
30091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30093 arg3
= static_cast< wxDouble
>(val3
);
30094 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30095 if (!SWIG_IsOK(ecode4
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30098 arg4
= static_cast< wxDouble
>(val4
);
30099 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30100 if (!SWIG_IsOK(ecode5
)) {
30101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30103 arg5
= static_cast< wxDouble
>(val5
);
30104 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30105 if (!SWIG_IsOK(ecode6
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30108 arg6
= static_cast< wxDouble
>(val6
);
30110 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_Py_Void();
30120 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
= 0;
30122 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30137 PyObject
* obj0
= 0 ;
30138 PyObject
* obj1
= 0 ;
30139 PyObject
* obj2
= 0 ;
30140 PyObject
* obj3
= 0 ;
30141 PyObject
* obj4
= 0 ;
30142 char * kwnames
[] = {
30143 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30148 if (!SWIG_IsOK(res1
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30151 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30152 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30153 if (!SWIG_IsOK(ecode2
)) {
30154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30156 arg2
= static_cast< wxDouble
>(val2
);
30157 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30158 if (!SWIG_IsOK(ecode3
)) {
30159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30161 arg3
= static_cast< wxDouble
>(val3
);
30162 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30163 if (!SWIG_IsOK(ecode4
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30166 arg4
= static_cast< wxDouble
>(val4
);
30167 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30168 if (!SWIG_IsOK(ecode5
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30171 arg5
= static_cast< wxDouble
>(val5
);
30173 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 resultobj
= SWIG_Py_Void();
30183 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
= 0;
30185 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30187 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30190 PyObject
* obj0
= 0 ;
30191 PyObject
* obj1
= 0 ;
30192 char * kwnames
[] = {
30193 (char *) "self",(char *) "points", NULL
30196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30198 if (!SWIG_IsOK(res1
)) {
30199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30201 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30203 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30204 if (arg3
== NULL
) SWIG_fail
;
30207 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_Py_Void();
30212 if (arg3
) delete [] arg3
;
30217 if (arg3
) delete [] arg3
;
30223 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
= 0;
30225 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30226 PyObject
*arg2
= (PyObject
*) 0 ;
30227 PyObject
*arg3
= (PyObject
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 PyObject
* obj2
= 0 ;
30233 char * kwnames
[] = {
30234 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30239 if (!SWIG_IsOK(res1
)) {
30240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30242 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30246 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= SWIG_Py_Void();
30256 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
= 0;
30258 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30260 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30261 int arg4
= (int) wxODDEVEN_RULE
;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 PyObject
* obj2
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30278 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30280 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30281 if (arg3
== NULL
) SWIG_fail
;
30284 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30285 if (!SWIG_IsOK(ecode4
)) {
30286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30288 arg4
= static_cast< int >(val4
);
30291 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= SWIG_Py_Void();
30296 if (arg3
) delete [] arg3
;
30301 if (arg3
) delete [] arg3
;
30307 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30308 PyObject
*resultobj
= 0;
30309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30324 PyObject
* obj0
= 0 ;
30325 PyObject
* obj1
= 0 ;
30326 PyObject
* obj2
= 0 ;
30327 PyObject
* obj3
= 0 ;
30328 PyObject
* obj4
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30338 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30339 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30340 if (!SWIG_IsOK(ecode2
)) {
30341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30343 arg2
= static_cast< wxDouble
>(val2
);
30344 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30345 if (!SWIG_IsOK(ecode3
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30348 arg3
= static_cast< wxDouble
>(val3
);
30349 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30350 if (!SWIG_IsOK(ecode4
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30353 arg4
= static_cast< wxDouble
>(val4
);
30354 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30355 if (!SWIG_IsOK(ecode5
)) {
30356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30358 arg5
= static_cast< wxDouble
>(val5
);
30360 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_Py_Void();
30370 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
= 0;
30372 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 PyObject
* obj2
= 0 ;
30390 PyObject
* obj3
= 0 ;
30391 PyObject
* obj4
= 0 ;
30392 char * kwnames
[] = {
30393 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30398 if (!SWIG_IsOK(res1
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30401 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30402 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30403 if (!SWIG_IsOK(ecode2
)) {
30404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30406 arg2
= static_cast< wxDouble
>(val2
);
30407 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30408 if (!SWIG_IsOK(ecode3
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30411 arg3
= static_cast< wxDouble
>(val3
);
30412 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30413 if (!SWIG_IsOK(ecode4
)) {
30414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30416 arg4
= static_cast< wxDouble
>(val4
);
30417 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30418 if (!SWIG_IsOK(ecode5
)) {
30419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30421 arg5
= static_cast< wxDouble
>(val5
);
30423 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_Py_Void();
30433 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30434 PyObject
*resultobj
= 0;
30435 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 PyObject
* obj2
= 0 ;
30456 PyObject
* obj3
= 0 ;
30457 PyObject
* obj4
= 0 ;
30458 PyObject
* obj5
= 0 ;
30459 char * kwnames
[] = {
30460 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30465 if (!SWIG_IsOK(res1
)) {
30466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30468 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30469 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30470 if (!SWIG_IsOK(ecode2
)) {
30471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30473 arg2
= static_cast< wxDouble
>(val2
);
30474 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30475 if (!SWIG_IsOK(ecode3
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30478 arg3
= static_cast< wxDouble
>(val3
);
30479 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30480 if (!SWIG_IsOK(ecode4
)) {
30481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30483 arg4
= static_cast< wxDouble
>(val4
);
30484 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30485 if (!SWIG_IsOK(ecode5
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30488 arg5
= static_cast< wxDouble
>(val5
);
30489 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30490 if (!SWIG_IsOK(ecode6
)) {
30491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30493 arg6
= static_cast< wxDouble
>(val6
);
30495 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 resultobj
= SWIG_Py_Void();
30505 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30506 PyObject
*resultobj
= 0;
30507 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30511 PyObject
*swig_obj
[1] ;
30513 if (!args
) SWIG_fail
;
30514 swig_obj
[0] = args
;
30515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30516 if (!SWIG_IsOK(res1
)) {
30517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30519 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30521 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30522 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30533 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30536 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30537 return SWIG_Py_Void();
30540 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30541 PyObject
*resultobj
= 0;
30542 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30545 PyObject
*swig_obj
[1] ;
30547 if (!args
) SWIG_fail
;
30548 swig_obj
[0] = args
;
30549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30550 if (!SWIG_IsOK(res1
)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30553 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30557 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= SWIG_Py_Void();
30566 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30567 PyObject
*resultobj
= 0;
30568 wxGraphicsRenderer
*result
= 0 ;
30570 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30572 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30582 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30583 PyObject
*resultobj
= 0;
30584 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30585 wxWindowDC
*arg2
= 0 ;
30586 wxGraphicsContext
*result
= 0 ;
30592 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30597 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30598 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30599 if (!SWIG_IsOK(res2
)) {
30600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30605 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30607 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30617 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30618 PyObject
*resultobj
= 0;
30619 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30620 wxWindow
*arg2
= (wxWindow
*) 0 ;
30621 wxGraphicsContext
*result
= 0 ;
30627 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30632 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30633 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30634 if (!SWIG_IsOK(res2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30639 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30649 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30653 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30658 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30659 _v
= SWIG_CheckState(res
);
30661 if (!_v
) goto check_1
;
30662 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30667 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30671 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30676 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30677 PyObject
*resultobj
= 0;
30678 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30679 wxGraphicsContext
*result
= 0 ;
30682 PyObject
*swig_obj
[1] ;
30684 if (!args
) SWIG_fail
;
30685 swig_obj
[0] = args
;
30686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30687 if (!SWIG_IsOK(res1
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30690 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30692 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30702 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
= 0;
30704 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30705 void *arg2
= (void *) 0 ;
30706 wxGraphicsContext
*result
= 0 ;
30710 PyObject
* obj0
= 0 ;
30711 PyObject
* obj1
= 0 ;
30712 char * kwnames
[] = {
30713 (char *) "self",(char *) "context", NULL
30716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30718 if (!SWIG_IsOK(res1
)) {
30719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30721 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30722 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30723 if (!SWIG_IsOK(res2
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30727 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30737 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
= 0;
30739 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30740 void *arg2
= (void *) 0 ;
30741 wxGraphicsContext
*result
= 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 char * kwnames
[] = {
30748 (char *) "self",(char *) "window", NULL
30751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30753 if (!SWIG_IsOK(res1
)) {
30754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30756 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30757 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30758 if (!SWIG_IsOK(res2
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30762 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30772 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30773 PyObject
*resultobj
= 0;
30774 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30775 wxGraphicsPath result
;
30778 PyObject
*swig_obj
[1] ;
30780 if (!args
) SWIG_fail
;
30781 swig_obj
[0] = args
;
30782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30786 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30788 result
= (arg1
)->CreatePath();
30789 if (PyErr_Occurred()) SWIG_fail
;
30791 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30798 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30799 PyObject
*resultobj
= 0;
30800 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30801 wxDouble arg2
= (wxDouble
) 1.0 ;
30802 wxDouble arg3
= (wxDouble
) 0.0 ;
30803 wxDouble arg4
= (wxDouble
) 0.0 ;
30804 wxDouble arg5
= (wxDouble
) 1.0 ;
30805 wxDouble arg6
= (wxDouble
) 0.0 ;
30806 wxDouble arg7
= (wxDouble
) 0.0 ;
30807 wxGraphicsMatrix result
;
30822 PyObject
* obj0
= 0 ;
30823 PyObject
* obj1
= 0 ;
30824 PyObject
* obj2
= 0 ;
30825 PyObject
* obj3
= 0 ;
30826 PyObject
* obj4
= 0 ;
30827 PyObject
* obj5
= 0 ;
30828 PyObject
* obj6
= 0 ;
30829 char * kwnames
[] = {
30830 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30835 if (!SWIG_IsOK(res1
)) {
30836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30838 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30840 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30841 if (!SWIG_IsOK(ecode2
)) {
30842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30844 arg2
= static_cast< wxDouble
>(val2
);
30847 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30848 if (!SWIG_IsOK(ecode3
)) {
30849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30851 arg3
= static_cast< wxDouble
>(val3
);
30854 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30855 if (!SWIG_IsOK(ecode4
)) {
30856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30858 arg4
= static_cast< wxDouble
>(val4
);
30861 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30862 if (!SWIG_IsOK(ecode5
)) {
30863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30865 arg5
= static_cast< wxDouble
>(val5
);
30868 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30869 if (!SWIG_IsOK(ecode6
)) {
30870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30872 arg6
= static_cast< wxDouble
>(val6
);
30875 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30876 if (!SWIG_IsOK(ecode7
)) {
30877 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30879 arg7
= static_cast< wxDouble
>(val7
);
30882 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30892 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
= 0;
30894 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30896 wxGraphicsPen result
;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 char * kwnames
[] = {
30904 (char *) "self",(char *) "pen", NULL
30907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30909 if (!SWIG_IsOK(res1
)) {
30910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30912 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30914 if (!SWIG_IsOK(res2
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30920 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30922 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30932 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
= 0;
30934 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30935 wxBrush
*arg2
= 0 ;
30936 wxGraphicsBrush result
;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 char * kwnames
[] = {
30944 (char *) "self",(char *) "brush", NULL
30947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30952 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30954 if (!SWIG_IsOK(res2
)) {
30955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30960 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30962 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30972 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
= 0;
30974 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30979 wxColour
*arg6
= 0 ;
30980 wxColour
*arg7
= 0 ;
30981 wxGraphicsBrush result
;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 PyObject
* obj2
= 0 ;
30997 PyObject
* obj3
= 0 ;
30998 PyObject
* obj4
= 0 ;
30999 PyObject
* obj5
= 0 ;
31000 PyObject
* obj6
= 0 ;
31001 char * kwnames
[] = {
31002 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31010 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31011 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31012 if (!SWIG_IsOK(ecode2
)) {
31013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31015 arg2
= static_cast< wxDouble
>(val2
);
31016 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31017 if (!SWIG_IsOK(ecode3
)) {
31018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31020 arg3
= static_cast< wxDouble
>(val3
);
31021 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31022 if (!SWIG_IsOK(ecode4
)) {
31023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31025 arg4
= static_cast< wxDouble
>(val4
);
31026 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31027 if (!SWIG_IsOK(ecode5
)) {
31028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31030 arg5
= static_cast< wxDouble
>(val5
);
31033 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31037 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31040 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31050 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
= 0;
31052 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31058 wxColour
*arg7
= 0 ;
31059 wxColour
*arg8
= 0 ;
31060 wxGraphicsBrush result
;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 PyObject
* obj2
= 0 ;
31078 PyObject
* obj3
= 0 ;
31079 PyObject
* obj4
= 0 ;
31080 PyObject
* obj5
= 0 ;
31081 PyObject
* obj6
= 0 ;
31082 PyObject
* obj7
= 0 ;
31083 char * kwnames
[] = {
31084 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31092 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31093 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31094 if (!SWIG_IsOK(ecode2
)) {
31095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31097 arg2
= static_cast< wxDouble
>(val2
);
31098 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31099 if (!SWIG_IsOK(ecode3
)) {
31100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31102 arg3
= static_cast< wxDouble
>(val3
);
31103 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31104 if (!SWIG_IsOK(ecode4
)) {
31105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31107 arg4
= static_cast< wxDouble
>(val4
);
31108 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31109 if (!SWIG_IsOK(ecode5
)) {
31110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31112 arg5
= static_cast< wxDouble
>(val5
);
31113 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31114 if (!SWIG_IsOK(ecode6
)) {
31115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31117 arg6
= static_cast< wxDouble
>(val6
);
31120 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31124 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31127 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31137 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
= 0;
31139 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31141 wxColour
const &arg3_defvalue
= *wxBLACK
;
31142 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31143 wxGraphicsFont result
;
31149 PyObject
* obj0
= 0 ;
31150 PyObject
* obj1
= 0 ;
31151 PyObject
* obj2
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "font",(char *) "col", NULL
31156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31161 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31163 if (!SWIG_IsOK(res2
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31169 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31173 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31177 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31187 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31190 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31191 return SWIG_Py_Void();
31194 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31195 PyObject
*resultobj
= 0;
31196 wxWindowDC
*arg1
= 0 ;
31197 wxGCDC
*result
= 0 ;
31201 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31209 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31211 if (!wxPyCheckForApp()) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31224 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31225 PyObject
*resultobj
= 0;
31226 wxWindow
*arg1
= (wxWindow
*) 0 ;
31227 wxGCDC
*result
= 0 ;
31231 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31233 if (!SWIG_IsOK(res1
)) {
31234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31236 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31238 if (!wxPyCheckForApp()) SWIG_fail
;
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (wxGCDC
*)new wxGCDC(arg1
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31251 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31255 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31260 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31261 _v
= SWIG_CheckState(res
);
31263 if (!_v
) goto check_1
;
31264 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31269 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31273 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31278 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31279 PyObject
*resultobj
= 0;
31280 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31283 PyObject
*swig_obj
[1] ;
31285 if (!args
) SWIG_fail
;
31286 swig_obj
[0] = args
;
31287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31288 if (!SWIG_IsOK(res1
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31291 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= SWIG_Py_Void();
31304 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31305 PyObject
*resultobj
= 0;
31306 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31307 wxGraphicsContext
*result
= 0 ;
31310 PyObject
*swig_obj
[1] ;
31312 if (!args
) SWIG_fail
;
31313 swig_obj
[0] = args
;
31314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31315 if (!SWIG_IsOK(res1
)) {
31316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31318 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31320 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31321 if (PyErr_Occurred()) SWIG_fail
;
31323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31330 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
= 0;
31332 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31333 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31338 PyObject
* obj0
= 0 ;
31339 PyObject
* obj1
= 0 ;
31340 char * kwnames
[] = {
31341 (char *) "self",(char *) "ctx", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31349 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31351 if (!SWIG_IsOK(res2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31354 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31356 (arg1
)->SetGraphicsContext(arg2
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= SWIG_Py_Void();
31366 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31369 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31370 return SWIG_Py_Void();
31373 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31374 return SWIG_Python_InitShadowInstance(args
);
31377 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31378 PyObject
*resultobj
= 0;
31379 wxOverlay
*result
= 0 ;
31381 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (wxOverlay
*)new wxOverlay();
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31395 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31396 PyObject
*resultobj
= 0;
31397 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31400 PyObject
*swig_obj
[1] ;
31402 if (!args
) SWIG_fail
;
31403 swig_obj
[0] = args
;
31404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31405 if (!SWIG_IsOK(res1
)) {
31406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31408 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31416 resultobj
= SWIG_Py_Void();
31423 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31424 PyObject
*resultobj
= 0;
31425 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31428 PyObject
*swig_obj
[1] ;
31430 if (!args
) SWIG_fail
;
31431 swig_obj
[0] = args
;
31432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31433 if (!SWIG_IsOK(res1
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31436 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 resultobj
= SWIG_Py_Void();
31450 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31453 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31454 return SWIG_Py_Void();
31457 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31458 return SWIG_Python_InitShadowInstance(args
);
31461 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31462 PyObject
*resultobj
= 0;
31463 wxOverlay
*arg1
= 0 ;
31464 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31469 wxDCOverlay
*result
= 0 ;
31483 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31485 if (!SWIG_IsOK(res1
)) {
31486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31491 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31492 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31493 if (!SWIG_IsOK(res2
)) {
31494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31496 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31497 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31498 if (!SWIG_IsOK(ecode3
)) {
31499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31501 arg3
= static_cast< int >(val3
);
31502 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31503 if (!SWIG_IsOK(ecode4
)) {
31504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31506 arg4
= static_cast< int >(val4
);
31507 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31508 if (!SWIG_IsOK(ecode5
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31511 arg5
= static_cast< int >(val5
);
31512 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31513 if (!SWIG_IsOK(ecode6
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31516 arg6
= static_cast< int >(val6
);
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31530 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31531 PyObject
*resultobj
= 0;
31532 wxOverlay
*arg1
= 0 ;
31533 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31534 wxDCOverlay
*result
= 0 ;
31540 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31542 if (!SWIG_IsOK(res1
)) {
31543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31548 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31549 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31550 if (!SWIG_IsOK(res2
)) {
31551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31553 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31567 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31571 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31574 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31577 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31581 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31586 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31587 PyObject
*resultobj
= 0;
31588 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31591 PyObject
*swig_obj
[1] ;
31593 if (!args
) SWIG_fail
;
31594 swig_obj
[0] = args
;
31595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31596 if (!SWIG_IsOK(res1
)) {
31597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31599 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 resultobj
= SWIG_Py_Void();
31614 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31615 PyObject
*resultobj
= 0;
31616 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31619 PyObject
*swig_obj
[1] ;
31621 if (!args
) SWIG_fail
;
31622 swig_obj
[0] = args
;
31623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31624 if (!SWIG_IsOK(res1
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31627 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= SWIG_Py_Void();
31641 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31644 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31645 return SWIG_Py_Void();
31648 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31649 return SWIG_Python_InitShadowInstance(args
);
31652 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31653 PyObject
*resultobj
= 0;
31656 int arg3
= (int) true ;
31657 int arg4
= (int) 1 ;
31658 wxImageList
*result
= 0 ;
31667 PyObject
* obj0
= 0 ;
31668 PyObject
* obj1
= 0 ;
31669 PyObject
* obj2
= 0 ;
31670 PyObject
* obj3
= 0 ;
31671 char * kwnames
[] = {
31672 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31676 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31677 if (!SWIG_IsOK(ecode1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31680 arg1
= static_cast< int >(val1
);
31681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31682 if (!SWIG_IsOK(ecode2
)) {
31683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31685 arg2
= static_cast< int >(val2
);
31687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31688 if (!SWIG_IsOK(ecode3
)) {
31689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31691 arg3
= static_cast< int >(val3
);
31694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31695 if (!SWIG_IsOK(ecode4
)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31698 arg4
= static_cast< int >(val4
);
31701 if (!wxPyCheckForApp()) SWIG_fail
;
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31714 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31715 PyObject
*resultobj
= 0;
31716 wxImageList
*arg1
= (wxImageList
*) 0 ;
31719 PyObject
*swig_obj
[1] ;
31721 if (!args
) SWIG_fail
;
31722 swig_obj
[0] = args
;
31723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31724 if (!SWIG_IsOK(res1
)) {
31725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31727 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 resultobj
= SWIG_Py_Void();
31742 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
= 0;
31744 wxImageList
*arg1
= (wxImageList
*) 0 ;
31745 wxBitmap
*arg2
= 0 ;
31746 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31747 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 PyObject
* obj2
= 0 ;
31758 char * kwnames
[] = {
31759 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31764 if (!SWIG_IsOK(res1
)) {
31765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31767 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31769 if (!SWIG_IsOK(res2
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31775 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31777 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31778 if (!SWIG_IsOK(res3
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31784 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31789 wxPyEndAllowThreads(__tstate
);
31790 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= SWIG_From_int(static_cast< int >(result
));
31799 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= 0;
31801 wxImageList
*arg1
= (wxImageList
*) 0 ;
31802 wxBitmap
*arg2
= 0 ;
31803 wxColour
*arg3
= 0 ;
31810 PyObject
* obj0
= 0 ;
31811 PyObject
* obj1
= 0 ;
31812 PyObject
* obj2
= 0 ;
31813 char * kwnames
[] = {
31814 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31819 if (!SWIG_IsOK(res1
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31822 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31824 if (!SWIG_IsOK(res2
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31830 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31833 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31838 wxPyEndAllowThreads(__tstate
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31841 resultobj
= SWIG_From_int(static_cast< int >(result
));
31848 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31849 PyObject
*resultobj
= 0;
31850 wxImageList
*arg1
= (wxImageList
*) 0 ;
31857 PyObject
* obj0
= 0 ;
31858 PyObject
* obj1
= 0 ;
31859 char * kwnames
[] = {
31860 (char *) "self",(char *) "icon", NULL
31863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31865 if (!SWIG_IsOK(res1
)) {
31866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31868 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31870 if (!SWIG_IsOK(res2
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31876 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_From_int(static_cast< int >(result
));
31890 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
= 0;
31892 wxImageList
*arg1
= (wxImageList
*) 0 ;
31894 SwigValueWrapper
<wxBitmap
> result
;
31899 PyObject
* obj0
= 0 ;
31900 PyObject
* obj1
= 0 ;
31901 char * kwnames
[] = {
31902 (char *) "self",(char *) "index", NULL
31905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31907 if (!SWIG_IsOK(res1
)) {
31908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31910 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31912 if (!SWIG_IsOK(ecode2
)) {
31913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31915 arg2
= static_cast< int >(val2
);
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31919 wxPyEndAllowThreads(__tstate
);
31920 if (PyErr_Occurred()) SWIG_fail
;
31922 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31929 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31930 PyObject
*resultobj
= 0;
31931 wxImageList
*arg1
= (wxImageList
*) 0 ;
31938 PyObject
* obj0
= 0 ;
31939 PyObject
* obj1
= 0 ;
31940 char * kwnames
[] = {
31941 (char *) "self",(char *) "index", NULL
31944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31946 if (!SWIG_IsOK(res1
)) {
31947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31949 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31951 if (!SWIG_IsOK(ecode2
)) {
31952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31954 arg2
= static_cast< int >(val2
);
31956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31958 wxPyEndAllowThreads(__tstate
);
31959 if (PyErr_Occurred()) SWIG_fail
;
31961 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31968 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31969 PyObject
*resultobj
= 0;
31970 wxImageList
*arg1
= (wxImageList
*) 0 ;
31972 wxBitmap
*arg3
= 0 ;
31973 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31974 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 PyObject
* obj2
= 0 ;
31987 PyObject
* obj3
= 0 ;
31988 char * kwnames
[] = {
31989 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31994 if (!SWIG_IsOK(res1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31997 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31999 if (!SWIG_IsOK(ecode2
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32002 arg2
= static_cast< int >(val2
);
32003 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32004 if (!SWIG_IsOK(res3
)) {
32005 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32010 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32012 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32013 if (!SWIG_IsOK(res4
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32019 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32036 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
= 0;
32038 wxImageList
*arg1
= (wxImageList
*) 0 ;
32043 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32044 bool arg7
= (bool) (bool)false ;
32060 PyObject
* obj0
= 0 ;
32061 PyObject
* obj1
= 0 ;
32062 PyObject
* obj2
= 0 ;
32063 PyObject
* obj3
= 0 ;
32064 PyObject
* obj4
= 0 ;
32065 PyObject
* obj5
= 0 ;
32066 PyObject
* obj6
= 0 ;
32067 char * kwnames
[] = {
32068 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32073 if (!SWIG_IsOK(res1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32076 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32078 if (!SWIG_IsOK(ecode2
)) {
32079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32081 arg2
= static_cast< int >(val2
);
32082 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32083 if (!SWIG_IsOK(res3
)) {
32084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32089 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32091 if (!SWIG_IsOK(ecode4
)) {
32092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32094 arg4
= static_cast< int >(val4
);
32095 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32096 if (!SWIG_IsOK(ecode5
)) {
32097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32099 arg5
= static_cast< int >(val5
);
32101 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32102 if (!SWIG_IsOK(ecode6
)) {
32103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32105 arg6
= static_cast< int >(val6
);
32108 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32109 if (!SWIG_IsOK(ecode7
)) {
32110 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32112 arg7
= static_cast< bool >(val7
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32129 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32130 PyObject
*resultobj
= 0;
32131 wxImageList
*arg1
= (wxImageList
*) 0 ;
32135 PyObject
*swig_obj
[1] ;
32137 if (!args
) SWIG_fail
;
32138 swig_obj
[0] = args
;
32139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32140 if (!SWIG_IsOK(res1
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32143 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (int)(arg1
)->GetImageCount();
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= SWIG_From_int(static_cast< int >(result
));
32157 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32158 PyObject
*resultobj
= 0;
32159 wxImageList
*arg1
= (wxImageList
*) 0 ;
32166 PyObject
* obj0
= 0 ;
32167 PyObject
* obj1
= 0 ;
32168 char * kwnames
[] = {
32169 (char *) "self",(char *) "index", NULL
32172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32174 if (!SWIG_IsOK(res1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32177 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32179 if (!SWIG_IsOK(ecode2
)) {
32180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32182 arg2
= static_cast< int >(val2
);
32184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32185 result
= (bool)(arg1
)->Remove(arg2
);
32186 wxPyEndAllowThreads(__tstate
);
32187 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32198 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32199 PyObject
*resultobj
= 0;
32200 wxImageList
*arg1
= (wxImageList
*) 0 ;
32204 PyObject
*swig_obj
[1] ;
32206 if (!args
) SWIG_fail
;
32207 swig_obj
[0] = args
;
32208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32209 if (!SWIG_IsOK(res1
)) {
32210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32212 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 result
= (bool)(arg1
)->RemoveAll();
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32228 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
= 0;
32230 wxImageList
*arg1
= (wxImageList
*) 0 ;
32239 int res3
= SWIG_TMPOBJ
;
32241 int res4
= SWIG_TMPOBJ
;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char * kwnames
[] = {
32245 (char *) "self",(char *) "index", NULL
32250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32252 if (!SWIG_IsOK(res1
)) {
32253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32255 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32257 if (!SWIG_IsOK(ecode2
)) {
32258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32260 arg2
= static_cast< int >(val2
);
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32264 wxPyEndAllowThreads(__tstate
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= SWIG_Py_Void();
32268 if (SWIG_IsTmpObj(res3
)) {
32269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32271 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32274 if (SWIG_IsTmpObj(res4
)) {
32275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32277 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32286 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32289 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32290 return SWIG_Py_Void();
32293 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32294 return SWIG_Python_InitShadowInstance(args
);
32297 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32298 PyObject
*resultobj
= 0;
32299 wxStockGDI
*result
= 0 ;
32301 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 result
= (wxStockGDI
*)new wxStockGDI();
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32315 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32316 PyObject
*resultobj
= 0;
32317 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32320 PyObject
*swig_obj
[1] ;
32322 if (!args
) SWIG_fail
;
32323 swig_obj
[0] = args
;
32324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32325 if (!SWIG_IsOK(res1
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32328 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= SWIG_Py_Void();
32343 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32344 PyObject
*resultobj
= 0;
32346 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 wxStockGDI::DeleteAll();
32350 wxPyEndAllowThreads(__tstate
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32353 resultobj
= SWIG_Py_Void();
32360 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32361 PyObject
*resultobj
= 0;
32362 wxStockGDI
*result
= 0 ;
32364 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32369 result
= (wxStockGDI
*) &_result_ref
;
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32381 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
= 0;
32383 wxStockGDI::Item arg1
;
32384 wxBrush
*result
= 0 ;
32387 PyObject
* obj0
= 0 ;
32388 char * kwnames
[] = {
32389 (char *) "item", NULL
32392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32394 if (!SWIG_IsOK(ecode1
)) {
32395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32397 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32411 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32412 PyObject
*resultobj
= 0;
32413 wxStockGDI::Item arg1
;
32414 wxColour
*result
= 0 ;
32417 PyObject
* obj0
= 0 ;
32418 char * kwnames
[] = {
32419 (char *) "item", NULL
32422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32424 if (!SWIG_IsOK(ecode1
)) {
32425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32427 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32430 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32441 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
= 0;
32443 wxStockGDI::Item arg1
;
32444 wxCursor
*result
= 0 ;
32447 PyObject
* obj0
= 0 ;
32448 char * kwnames
[] = {
32449 (char *) "item", NULL
32452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32453 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32454 if (!SWIG_IsOK(ecode1
)) {
32455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32457 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32471 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32472 PyObject
*resultobj
= 0;
32473 wxStockGDI::Item arg1
;
32474 wxPen
*result
= 0 ;
32477 PyObject
* obj0
= 0 ;
32478 char * kwnames
[] = {
32479 (char *) "item", NULL
32482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32484 if (!SWIG_IsOK(ecode1
)) {
32485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32487 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32501 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
= 0;
32503 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32504 wxStockGDI::Item arg2
;
32505 wxFont
*result
= 0 ;
32510 PyObject
* obj0
= 0 ;
32511 PyObject
* obj1
= 0 ;
32512 char * kwnames
[] = {
32513 (char *) "self",(char *) "item", NULL
32516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32518 if (!SWIG_IsOK(res1
)) {
32519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32521 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32523 if (!SWIG_IsOK(ecode2
)) {
32524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32526 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32540 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32543 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32544 return SWIG_Py_Void();
32547 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32548 return SWIG_Python_InitShadowInstance(args
);
32551 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32552 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32557 SWIGINTERN PyObject
*NullBitmap_get(void) {
32558 PyObject
*pyobj
= 0;
32560 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32565 SWIGINTERN
int NullIcon_set(PyObject
*) {
32566 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32571 SWIGINTERN PyObject
*NullIcon_get(void) {
32572 PyObject
*pyobj
= 0;
32574 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32579 SWIGINTERN
int NullCursor_set(PyObject
*) {
32580 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32585 SWIGINTERN PyObject
*NullCursor_get(void) {
32586 PyObject
*pyobj
= 0;
32588 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32593 SWIGINTERN
int NullPen_set(PyObject
*) {
32594 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32599 SWIGINTERN PyObject
*NullPen_get(void) {
32600 PyObject
*pyobj
= 0;
32602 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32607 SWIGINTERN
int NullBrush_set(PyObject
*) {
32608 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32613 SWIGINTERN PyObject
*NullBrush_get(void) {
32614 PyObject
*pyobj
= 0;
32616 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32621 SWIGINTERN
int NullPalette_set(PyObject
*) {
32622 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32627 SWIGINTERN PyObject
*NullPalette_get(void) {
32628 PyObject
*pyobj
= 0;
32630 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32635 SWIGINTERN
int NullFont_set(PyObject
*) {
32636 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32641 SWIGINTERN PyObject
*NullFont_get(void) {
32642 PyObject
*pyobj
= 0;
32644 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32649 SWIGINTERN
int NullColour_set(PyObject
*) {
32650 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32655 SWIGINTERN PyObject
*NullColour_get(void) {
32656 PyObject
*pyobj
= 0;
32658 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32663 SWIGINTERN
int NullIconBundle_set(PyObject
*) {
32664 SWIG_Error(SWIG_AttributeError
,"Variable NullIconBundle is read-only.");
32669 SWIGINTERN PyObject
*NullIconBundle_get(void) {
32670 PyObject
*pyobj
= 0;
32672 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle
), SWIGTYPE_p_wxIconBundle
, 0 );
32677 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32678 PyObject
*resultobj
= 0;
32679 wxGDIObjListBase
*result
= 0 ;
32681 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32685 wxPyEndAllowThreads(__tstate
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32695 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32696 PyObject
*resultobj
= 0;
32697 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32700 PyObject
*swig_obj
[1] ;
32702 if (!args
) SWIG_fail
;
32703 swig_obj
[0] = args
;
32704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32705 if (!SWIG_IsOK(res1
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32708 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_Py_Void();
32723 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32726 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32727 return SWIG_Py_Void();
32730 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32731 return SWIG_Python_InitShadowInstance(args
);
32734 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
= 0;
32736 wxPenList
*arg1
= (wxPenList
*) 0 ;
32737 wxColour
*arg2
= 0 ;
32740 wxPen
*result
= 0 ;
32748 PyObject
* obj0
= 0 ;
32749 PyObject
* obj1
= 0 ;
32750 PyObject
* obj2
= 0 ;
32751 PyObject
* obj3
= 0 ;
32752 char * kwnames
[] = {
32753 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32758 if (!SWIG_IsOK(res1
)) {
32759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32761 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32767 if (!SWIG_IsOK(ecode3
)) {
32768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32770 arg3
= static_cast< int >(val3
);
32771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32772 if (!SWIG_IsOK(ecode4
)) {
32773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32775 arg4
= static_cast< int >(val4
);
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32789 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32793 return SWIG_Py_Void();
32796 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32797 PyObject
*resultobj
= 0;
32798 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32799 wxColour
*arg2
= 0 ;
32800 int arg3
= (int) wxSOLID
;
32801 wxBrush
*result
= 0 ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 PyObject
* obj2
= 0 ;
32810 char * kwnames
[] = {
32811 (char *) "self",(char *) "colour",(char *) "style", NULL
32814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32816 if (!SWIG_IsOK(res1
)) {
32817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32819 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32826 if (!SWIG_IsOK(ecode3
)) {
32827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32829 arg3
= static_cast< int >(val3
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32844 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32847 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32848 return SWIG_Py_Void();
32851 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
= 0;
32853 wxFontList
*arg1
= (wxFontList
*) 0 ;
32858 bool arg6
= (bool) false ;
32859 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32861 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32862 wxFont
*result
= 0 ;
32875 bool temp7
= false ;
32878 PyObject
* obj0
= 0 ;
32879 PyObject
* obj1
= 0 ;
32880 PyObject
* obj2
= 0 ;
32881 PyObject
* obj3
= 0 ;
32882 PyObject
* obj4
= 0 ;
32883 PyObject
* obj5
= 0 ;
32884 PyObject
* obj6
= 0 ;
32885 PyObject
* obj7
= 0 ;
32886 char * kwnames
[] = {
32887 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32892 if (!SWIG_IsOK(res1
)) {
32893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32895 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32897 if (!SWIG_IsOK(ecode2
)) {
32898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32900 arg2
= static_cast< int >(val2
);
32901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32902 if (!SWIG_IsOK(ecode3
)) {
32903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32905 arg3
= static_cast< int >(val3
);
32906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32907 if (!SWIG_IsOK(ecode4
)) {
32908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32910 arg4
= static_cast< int >(val4
);
32911 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32912 if (!SWIG_IsOK(ecode5
)) {
32913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32915 arg5
= static_cast< int >(val5
);
32917 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32918 if (!SWIG_IsOK(ecode6
)) {
32919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32921 arg6
= static_cast< bool >(val6
);
32925 arg7
= wxString_in_helper(obj6
);
32926 if (arg7
== NULL
) SWIG_fail
;
32931 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32932 if (!SWIG_IsOK(ecode8
)) {
32933 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32935 arg8
= static_cast< wxFontEncoding
>(val8
);
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32958 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32961 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32962 return SWIG_Py_Void();
32965 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32966 PyObject
*resultobj
= 0;
32967 wxColourDatabase
*result
= 0 ;
32969 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32971 if (!wxPyCheckForApp()) SWIG_fail
;
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 result
= (wxColourDatabase
*)new wxColourDatabase();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32984 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 PyObject
*resultobj
= 0;
32986 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32989 PyObject
*swig_obj
[1] ;
32991 if (!args
) SWIG_fail
;
32992 swig_obj
[0] = args
;
32993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32994 if (!SWIG_IsOK(res1
)) {
32995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32997 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= SWIG_Py_Void();
33012 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
= 0;
33014 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33015 wxString
*arg2
= 0 ;
33019 bool temp2
= false ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 char * kwnames
[] = {
33023 (char *) "self",(char *) "name", NULL
33026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33028 if (!SWIG_IsOK(res1
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33031 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33033 arg2
= wxString_in_helper(obj1
);
33034 if (arg2
== NULL
) SWIG_fail
;
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33058 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
= 0;
33060 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33061 wxColour
*arg2
= 0 ;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 char * kwnames
[] = {
33069 (char *) "self",(char *) "colour", NULL
33072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33074 if (!SWIG_IsOK(res1
)) {
33075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33077 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33084 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33085 wxPyEndAllowThreads(__tstate
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33101 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33102 PyObject
*resultobj
= 0;
33103 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33104 wxString
*arg2
= 0 ;
33105 wxColour
*arg3
= 0 ;
33108 bool temp2
= false ;
33110 PyObject
* obj0
= 0 ;
33111 PyObject
* obj1
= 0 ;
33112 PyObject
* obj2
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "self",(char *) "name",(char *) "colour", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33122 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33124 arg2
= wxString_in_helper(obj1
);
33125 if (arg2
== NULL
) SWIG_fail
;
33130 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= SWIG_Py_Void();
33153 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33154 PyObject
*resultobj
= 0;
33155 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33156 wxString
*arg2
= 0 ;
33162 bool temp2
= false ;
33169 PyObject
* obj0
= 0 ;
33170 PyObject
* obj1
= 0 ;
33171 PyObject
* obj2
= 0 ;
33172 PyObject
* obj3
= 0 ;
33173 PyObject
* obj4
= 0 ;
33174 char * kwnames
[] = {
33175 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33180 if (!SWIG_IsOK(res1
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33183 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33185 arg2
= wxString_in_helper(obj1
);
33186 if (arg2
== NULL
) SWIG_fail
;
33189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33190 if (!SWIG_IsOK(ecode3
)) {
33191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33193 arg3
= static_cast< int >(val3
);
33194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33195 if (!SWIG_IsOK(ecode4
)) {
33196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33198 arg4
= static_cast< int >(val4
);
33199 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33200 if (!SWIG_IsOK(ecode5
)) {
33201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33203 arg5
= static_cast< int >(val5
);
33205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_Py_Void();
33225 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33228 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33229 return SWIG_Py_Void();
33232 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33233 return SWIG_Python_InitShadowInstance(args
);
33236 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33237 PyObject
*resultobj
= 0;
33238 wxFontList
*result
= 0 ;
33240 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= (wxFontList
*)_wxPyInitTheFontList();
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33254 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33255 PyObject
*resultobj
= 0;
33256 wxPenList
*result
= 0 ;
33258 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 result
= (wxPenList
*)_wxPyInitThePenList();
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33272 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33273 PyObject
*resultobj
= 0;
33274 wxBrushList
*result
= 0 ;
33276 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33290 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33291 PyObject
*resultobj
= 0;
33292 wxColourDatabase
*result
= 0 ;
33294 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33308 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33309 PyObject
*resultobj
= 0;
33310 wxEffects
*result
= 0 ;
33312 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (wxEffects
*)new wxEffects();
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33326 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33327 PyObject
*resultobj
= 0;
33328 wxEffects
*arg1
= (wxEffects
*) 0 ;
33332 PyObject
*swig_obj
[1] ;
33334 if (!args
) SWIG_fail
;
33335 swig_obj
[0] = args
;
33336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33337 if (!SWIG_IsOK(res1
)) {
33338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33340 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33344 wxPyEndAllowThreads(__tstate
);
33345 if (PyErr_Occurred()) SWIG_fail
;
33347 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33354 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33355 PyObject
*resultobj
= 0;
33356 wxEffects
*arg1
= (wxEffects
*) 0 ;
33360 PyObject
*swig_obj
[1] ;
33362 if (!args
) SWIG_fail
;
33363 swig_obj
[0] = args
;
33364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33365 if (!SWIG_IsOK(res1
)) {
33366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33368 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33382 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33383 PyObject
*resultobj
= 0;
33384 wxEffects
*arg1
= (wxEffects
*) 0 ;
33388 PyObject
*swig_obj
[1] ;
33390 if (!args
) SWIG_fail
;
33391 swig_obj
[0] = args
;
33392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33396 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33403 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33410 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33411 PyObject
*resultobj
= 0;
33412 wxEffects
*arg1
= (wxEffects
*) 0 ;
33416 PyObject
*swig_obj
[1] ;
33418 if (!args
) SWIG_fail
;
33419 swig_obj
[0] = args
;
33420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33421 if (!SWIG_IsOK(res1
)) {
33422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33424 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33438 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33439 PyObject
*resultobj
= 0;
33440 wxEffects
*arg1
= (wxEffects
*) 0 ;
33444 PyObject
*swig_obj
[1] ;
33446 if (!args
) SWIG_fail
;
33447 swig_obj
[0] = args
;
33448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33449 if (!SWIG_IsOK(res1
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33452 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33455 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33466 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33467 PyObject
*resultobj
= 0;
33468 wxEffects
*arg1
= (wxEffects
*) 0 ;
33469 wxColour
*arg2
= 0 ;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 char * kwnames
[] = {
33476 (char *) "self",(char *) "c", NULL
33479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33481 if (!SWIG_IsOK(res1
)) {
33482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33484 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= SWIG_Py_Void();
33502 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33503 PyObject
*resultobj
= 0;
33504 wxEffects
*arg1
= (wxEffects
*) 0 ;
33505 wxColour
*arg2
= 0 ;
33509 PyObject
* obj0
= 0 ;
33510 PyObject
* obj1
= 0 ;
33511 char * kwnames
[] = {
33512 (char *) "self",(char *) "c", NULL
33515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33520 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33523 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33527 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33528 wxPyEndAllowThreads(__tstate
);
33529 if (PyErr_Occurred()) SWIG_fail
;
33531 resultobj
= SWIG_Py_Void();
33538 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33539 PyObject
*resultobj
= 0;
33540 wxEffects
*arg1
= (wxEffects
*) 0 ;
33541 wxColour
*arg2
= 0 ;
33545 PyObject
* obj0
= 0 ;
33546 PyObject
* obj1
= 0 ;
33547 char * kwnames
[] = {
33548 (char *) "self",(char *) "c", NULL
33551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33553 if (!SWIG_IsOK(res1
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33556 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= SWIG_Py_Void();
33574 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33575 PyObject
*resultobj
= 0;
33576 wxEffects
*arg1
= (wxEffects
*) 0 ;
33577 wxColour
*arg2
= 0 ;
33581 PyObject
* obj0
= 0 ;
33582 PyObject
* obj1
= 0 ;
33583 char * kwnames
[] = {
33584 (char *) "self",(char *) "c", NULL
33587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33589 if (!SWIG_IsOK(res1
)) {
33590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33592 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33595 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33600 wxPyEndAllowThreads(__tstate
);
33601 if (PyErr_Occurred()) SWIG_fail
;
33603 resultobj
= SWIG_Py_Void();
33610 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
= 0;
33612 wxEffects
*arg1
= (wxEffects
*) 0 ;
33613 wxColour
*arg2
= 0 ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 char * kwnames
[] = {
33620 (char *) "self",(char *) "c", NULL
33623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33628 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33631 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33639 resultobj
= SWIG_Py_Void();
33646 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33647 PyObject
*resultobj
= 0;
33648 wxEffects
*arg1
= (wxEffects
*) 0 ;
33649 wxColour
*arg2
= 0 ;
33650 wxColour
*arg3
= 0 ;
33651 wxColour
*arg4
= 0 ;
33652 wxColour
*arg5
= 0 ;
33653 wxColour
*arg6
= 0 ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 PyObject
* obj2
= 0 ;
33664 PyObject
* obj3
= 0 ;
33665 PyObject
* obj4
= 0 ;
33666 PyObject
* obj5
= 0 ;
33667 char * kwnames
[] = {
33668 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33673 if (!SWIG_IsOK(res1
)) {
33674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33676 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33679 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33683 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33687 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33691 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33695 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33699 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33700 wxPyEndAllowThreads(__tstate
);
33701 if (PyErr_Occurred()) SWIG_fail
;
33703 resultobj
= SWIG_Py_Void();
33710 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
= 0;
33712 wxEffects
*arg1
= (wxEffects
*) 0 ;
33715 int arg4
= (int) 1 ;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 PyObject
* obj2
= 0 ;
33726 PyObject
* obj3
= 0 ;
33727 char * kwnames
[] = {
33728 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33733 if (!SWIG_IsOK(res1
)) {
33734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33736 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33737 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33738 if (!SWIG_IsOK(res2
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33744 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33747 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33751 if (!SWIG_IsOK(ecode4
)) {
33752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33754 arg4
= static_cast< int >(val4
);
33757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33758 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33759 wxPyEndAllowThreads(__tstate
);
33760 if (PyErr_Occurred()) SWIG_fail
;
33762 resultobj
= SWIG_Py_Void();
33769 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33770 PyObject
*resultobj
= 0;
33771 wxEffects
*arg1
= (wxEffects
*) 0 ;
33774 wxBitmap
*arg4
= 0 ;
33783 PyObject
* obj0
= 0 ;
33784 PyObject
* obj1
= 0 ;
33785 PyObject
* obj2
= 0 ;
33786 PyObject
* obj3
= 0 ;
33787 char * kwnames
[] = {
33788 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33793 if (!SWIG_IsOK(res1
)) {
33794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33796 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33799 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33801 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33802 if (!SWIG_IsOK(res3
)) {
33803 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33808 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33809 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33810 if (!SWIG_IsOK(res4
)) {
33811 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33816 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33819 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33820 wxPyEndAllowThreads(__tstate
);
33821 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33832 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33835 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33836 return SWIG_Py_Void();
33839 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33840 return SWIG_Python_InitShadowInstance(args
);
33843 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33844 PyObject
*resultobj
= 0;
33848 wxSplitterRenderParams
*result
= 0 ;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 PyObject
* obj2
= 0 ;
33858 char * kwnames
[] = {
33859 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33864 if (!SWIG_IsOK(ecode1
)) {
33865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33867 arg1
= static_cast< int >(val1
);
33868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33869 if (!SWIG_IsOK(ecode2
)) {
33870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33872 arg2
= static_cast< int >(val2
);
33873 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33874 if (!SWIG_IsOK(ecode3
)) {
33875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33877 arg3
= static_cast< bool >(val3
);
33879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33880 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33881 wxPyEndAllowThreads(__tstate
);
33882 if (PyErr_Occurred()) SWIG_fail
;
33884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33891 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33892 PyObject
*resultobj
= 0;
33893 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33896 PyObject
*swig_obj
[1] ;
33898 if (!args
) SWIG_fail
;
33899 swig_obj
[0] = args
;
33900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33901 if (!SWIG_IsOK(res1
)) {
33902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33904 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 resultobj
= SWIG_Py_Void();
33919 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33920 PyObject
*resultobj
= 0;
33921 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33925 PyObject
*swig_obj
[1] ;
33927 if (!args
) SWIG_fail
;
33928 swig_obj
[0] = args
;
33929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33930 if (!SWIG_IsOK(res1
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33933 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33934 result
= (int)(int) ((arg1
)->widthSash
);
33935 resultobj
= SWIG_From_int(static_cast< int >(result
));
33942 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33943 PyObject
*resultobj
= 0;
33944 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33948 PyObject
*swig_obj
[1] ;
33950 if (!args
) SWIG_fail
;
33951 swig_obj
[0] = args
;
33952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33953 if (!SWIG_IsOK(res1
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33956 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33957 result
= (int)(int) ((arg1
)->border
);
33958 resultobj
= SWIG_From_int(static_cast< int >(result
));
33965 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33966 PyObject
*resultobj
= 0;
33967 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33971 PyObject
*swig_obj
[1] ;
33973 if (!args
) SWIG_fail
;
33974 swig_obj
[0] = args
;
33975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33976 if (!SWIG_IsOK(res1
)) {
33977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33979 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33980 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33981 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33988 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33991 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33992 return SWIG_Py_Void();
33995 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33996 return SWIG_Python_InitShadowInstance(args
);
33999 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34000 PyObject
*resultobj
= 0;
34001 wxHeaderButtonParams
*result
= 0 ;
34003 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34007 wxPyEndAllowThreads(__tstate
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34017 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34018 PyObject
*resultobj
= 0;
34019 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34022 PyObject
*swig_obj
[1] ;
34024 if (!args
) SWIG_fail
;
34025 swig_obj
[0] = args
;
34026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34027 if (!SWIG_IsOK(res1
)) {
34028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34030 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_Py_Void();
34045 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34046 PyObject
*resultobj
= 0;
34047 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34048 wxColour
*arg2
= (wxColour
*) 0 ;
34052 PyObject
*swig_obj
[2] ;
34054 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34059 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34062 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34064 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34066 resultobj
= SWIG_Py_Void();
34073 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34074 PyObject
*resultobj
= 0;
34075 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34076 wxColour
*result
= 0 ;
34079 PyObject
*swig_obj
[1] ;
34081 if (!args
) SWIG_fail
;
34082 swig_obj
[0] = args
;
34083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34084 if (!SWIG_IsOK(res1
)) {
34085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34087 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34088 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34096 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34097 PyObject
*resultobj
= 0;
34098 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34099 wxColour
*arg2
= (wxColour
*) 0 ;
34103 PyObject
*swig_obj
[2] ;
34105 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34107 if (!SWIG_IsOK(res1
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34110 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34113 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34115 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34117 resultobj
= SWIG_Py_Void();
34124 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34125 PyObject
*resultobj
= 0;
34126 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34127 wxColour
*result
= 0 ;
34130 PyObject
*swig_obj
[1] ;
34132 if (!args
) SWIG_fail
;
34133 swig_obj
[0] = args
;
34134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34135 if (!SWIG_IsOK(res1
)) {
34136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34138 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34139 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34147 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34148 PyObject
*resultobj
= 0;
34149 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34150 wxString
*arg2
= (wxString
*) 0 ;
34153 bool temp2
= false ;
34154 PyObject
*swig_obj
[2] ;
34156 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34158 if (!SWIG_IsOK(res1
)) {
34159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34161 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34163 arg2
= wxString_in_helper(swig_obj
[1]);
34164 if (arg2
== NULL
) SWIG_fail
;
34167 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34169 resultobj
= SWIG_Py_Void();
34184 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34185 PyObject
*resultobj
= 0;
34186 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34187 wxString
*result
= 0 ;
34190 PyObject
*swig_obj
[1] ;
34192 if (!args
) SWIG_fail
;
34193 swig_obj
[0] = args
;
34194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34195 if (!SWIG_IsOK(res1
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34198 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34199 result
= (wxString
*)& ((arg1
)->m_labelText
);
34202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34213 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34214 PyObject
*resultobj
= 0;
34215 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34216 wxFont
*arg2
= (wxFont
*) 0 ;
34221 PyObject
*swig_obj
[2] ;
34223 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34225 if (!SWIG_IsOK(res1
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34228 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34229 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34230 if (!SWIG_IsOK(res2
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34233 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34234 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34236 resultobj
= SWIG_Py_Void();
34243 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34244 PyObject
*resultobj
= 0;
34245 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34246 wxFont
*result
= 0 ;
34249 PyObject
*swig_obj
[1] ;
34251 if (!args
) SWIG_fail
;
34252 swig_obj
[0] = args
;
34253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34254 if (!SWIG_IsOK(res1
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34257 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34258 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34266 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34267 PyObject
*resultobj
= 0;
34268 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34269 wxColour
*arg2
= (wxColour
*) 0 ;
34273 PyObject
*swig_obj
[2] ;
34275 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34277 if (!SWIG_IsOK(res1
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34280 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34283 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34285 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34287 resultobj
= SWIG_Py_Void();
34294 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34295 PyObject
*resultobj
= 0;
34296 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34297 wxColour
*result
= 0 ;
34300 PyObject
*swig_obj
[1] ;
34302 if (!args
) SWIG_fail
;
34303 swig_obj
[0] = args
;
34304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34308 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34309 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34317 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34318 PyObject
*resultobj
= 0;
34319 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34320 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34325 PyObject
*swig_obj
[2] ;
34327 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34329 if (!SWIG_IsOK(res1
)) {
34330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34332 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34333 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34334 if (!SWIG_IsOK(res2
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34337 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34338 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34340 resultobj
= SWIG_Py_Void();
34347 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34348 PyObject
*resultobj
= 0;
34349 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34350 wxBitmap
*result
= 0 ;
34353 PyObject
*swig_obj
[1] ;
34355 if (!args
) SWIG_fail
;
34356 swig_obj
[0] = args
;
34357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34358 if (!SWIG_IsOK(res1
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34361 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34362 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34370 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34371 PyObject
*resultobj
= 0;
34372 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34378 PyObject
*swig_obj
[2] ;
34380 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34385 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34386 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34387 if (!SWIG_IsOK(ecode2
)) {
34388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34390 arg2
= static_cast< int >(val2
);
34391 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34393 resultobj
= SWIG_Py_Void();
34400 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34401 PyObject
*resultobj
= 0;
34402 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34406 PyObject
*swig_obj
[1] ;
34408 if (!args
) SWIG_fail
;
34409 swig_obj
[0] = args
;
34410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34411 if (!SWIG_IsOK(res1
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34414 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34415 result
= (int) ((arg1
)->m_labelAlignment
);
34416 resultobj
= SWIG_From_int(static_cast< int >(result
));
34423 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34426 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34427 return SWIG_Py_Void();
34430 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34431 return SWIG_Python_InitShadowInstance(args
);
34434 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34435 PyObject
*resultobj
= 0;
34438 wxRendererVersion
*result
= 0 ;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 char * kwnames
[] = {
34446 (char *) "version_",(char *) "age_", NULL
34449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34450 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34451 if (!SWIG_IsOK(ecode1
)) {
34452 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34454 arg1
= static_cast< int >(val1
);
34455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34456 if (!SWIG_IsOK(ecode2
)) {
34457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34459 arg2
= static_cast< int >(val2
);
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34463 wxPyEndAllowThreads(__tstate
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34473 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34474 PyObject
*resultobj
= 0;
34475 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34478 PyObject
*swig_obj
[1] ;
34480 if (!args
) SWIG_fail
;
34481 swig_obj
[0] = args
;
34482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34483 if (!SWIG_IsOK(res1
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34486 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 resultobj
= SWIG_Py_Void();
34501 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
= 0;
34503 wxRendererVersion
*arg1
= 0 ;
34507 PyObject
* obj0
= 0 ;
34508 char * kwnames
[] = {
34509 (char *) "ver", NULL
34512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34513 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34514 if (!SWIG_IsOK(res1
)) {
34515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34520 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34536 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34537 PyObject
*resultobj
= 0;
34538 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34542 PyObject
*swig_obj
[1] ;
34544 if (!args
) SWIG_fail
;
34545 swig_obj
[0] = args
;
34546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34547 if (!SWIG_IsOK(res1
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34550 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34551 result
= (int)(int) ((arg1
)->version
);
34552 resultobj
= SWIG_From_int(static_cast< int >(result
));
34559 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34560 PyObject
*resultobj
= 0;
34561 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34565 PyObject
*swig_obj
[1] ;
34567 if (!args
) SWIG_fail
;
34568 swig_obj
[0] = args
;
34569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34570 if (!SWIG_IsOK(res1
)) {
34571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34573 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34574 result
= (int)(int) ((arg1
)->age
);
34575 resultobj
= SWIG_From_int(static_cast< int >(result
));
34582 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34585 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34586 return SWIG_Py_Void();
34589 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34590 return SWIG_Python_InitShadowInstance(args
);
34593 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34594 PyObject
*resultobj
= 0;
34595 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34596 wxWindow
*arg2
= (wxWindow
*) 0 ;
34599 int arg5
= (int) 0 ;
34600 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34601 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 PyObject
* obj2
= 0 ;
34619 PyObject
* obj3
= 0 ;
34620 PyObject
* obj4
= 0 ;
34621 PyObject
* obj5
= 0 ;
34622 PyObject
* obj6
= 0 ;
34623 char * kwnames
[] = {
34624 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34629 if (!SWIG_IsOK(res1
)) {
34630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34632 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34634 if (!SWIG_IsOK(res2
)) {
34635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34638 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34639 if (!SWIG_IsOK(res3
)) {
34640 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34645 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34648 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34652 if (!SWIG_IsOK(ecode5
)) {
34653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34655 arg5
= static_cast< int >(val5
);
34658 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34659 if (!SWIG_IsOK(ecode6
)) {
34660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34662 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34665 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34666 if (!SWIG_IsOK(res7
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34669 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34673 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34674 wxPyEndAllowThreads(__tstate
);
34675 if (PyErr_Occurred()) SWIG_fail
;
34677 resultobj
= SWIG_From_int(static_cast< int >(result
));
34684 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34685 PyObject
*resultobj
= 0;
34686 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34687 wxWindow
*arg2
= (wxWindow
*) 0 ;
34690 int arg5
= (int) 0 ;
34691 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34692 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34707 PyObject
* obj0
= 0 ;
34708 PyObject
* obj1
= 0 ;
34709 PyObject
* obj2
= 0 ;
34710 PyObject
* obj3
= 0 ;
34711 PyObject
* obj4
= 0 ;
34712 PyObject
* obj5
= 0 ;
34713 PyObject
* obj6
= 0 ;
34714 char * kwnames
[] = {
34715 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34723 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34725 if (!SWIG_IsOK(res2
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34729 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34730 if (!SWIG_IsOK(res3
)) {
34731 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34736 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34739 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34742 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34743 if (!SWIG_IsOK(ecode5
)) {
34744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34746 arg5
= static_cast< int >(val5
);
34749 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34750 if (!SWIG_IsOK(ecode6
)) {
34751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34753 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34756 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34757 if (!SWIG_IsOK(res7
)) {
34758 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34760 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= SWIG_From_int(static_cast< int >(result
));
34775 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34776 PyObject
*resultobj
= 0;
34777 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34778 wxWindow
*arg2
= (wxWindow
*) 0 ;
34784 PyObject
* obj0
= 0 ;
34785 PyObject
* obj1
= 0 ;
34786 char * kwnames
[] = {
34787 (char *) "self",(char *) "win", NULL
34790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34792 if (!SWIG_IsOK(res1
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34795 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34797 if (!SWIG_IsOK(res2
)) {
34798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= SWIG_From_int(static_cast< int >(result
));
34814 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34815 PyObject
*resultobj
= 0;
34816 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34817 wxWindow
*arg2
= (wxWindow
*) 0 ;
34820 int arg5
= (int) 0 ;
34830 PyObject
* obj0
= 0 ;
34831 PyObject
* obj1
= 0 ;
34832 PyObject
* obj2
= 0 ;
34833 PyObject
* obj3
= 0 ;
34834 PyObject
* obj4
= 0 ;
34835 char * kwnames
[] = {
34836 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34841 if (!SWIG_IsOK(res1
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34844 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34846 if (!SWIG_IsOK(res2
)) {
34847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34850 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34851 if (!SWIG_IsOK(res3
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34857 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34860 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34864 if (!SWIG_IsOK(ecode5
)) {
34865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34867 arg5
= static_cast< int >(val5
);
34870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34871 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34872 wxPyEndAllowThreads(__tstate
);
34873 if (PyErr_Occurred()) SWIG_fail
;
34875 resultobj
= SWIG_Py_Void();
34882 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34883 PyObject
*resultobj
= 0;
34884 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34885 wxWindow
*arg2
= (wxWindow
*) 0 ;
34888 int arg5
= (int) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 PyObject
* obj2
= 0 ;
34901 PyObject
* obj3
= 0 ;
34902 PyObject
* obj4
= 0 ;
34903 char * kwnames
[] = {
34904 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34909 if (!SWIG_IsOK(res1
)) {
34910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34912 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34914 if (!SWIG_IsOK(res2
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34917 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34918 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34919 if (!SWIG_IsOK(res3
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34925 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34928 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34932 if (!SWIG_IsOK(ecode5
)) {
34933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34935 arg5
= static_cast< int >(val5
);
34938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34939 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34940 wxPyEndAllowThreads(__tstate
);
34941 if (PyErr_Occurred()) SWIG_fail
;
34943 resultobj
= SWIG_Py_Void();
34950 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34951 PyObject
*resultobj
= 0;
34952 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34953 wxWindow
*arg2
= (wxWindow
*) 0 ;
34957 wxOrientation arg6
;
34958 int arg7
= (int) 0 ;
34972 PyObject
* obj0
= 0 ;
34973 PyObject
* obj1
= 0 ;
34974 PyObject
* obj2
= 0 ;
34975 PyObject
* obj3
= 0 ;
34976 PyObject
* obj4
= 0 ;
34977 PyObject
* obj5
= 0 ;
34978 PyObject
* obj6
= 0 ;
34979 char * kwnames
[] = {
34980 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34985 if (!SWIG_IsOK(res1
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34988 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34990 if (!SWIG_IsOK(res2
)) {
34991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34995 if (!SWIG_IsOK(res3
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35001 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35004 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35007 if (!SWIG_IsOK(ecode5
)) {
35008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35010 arg5
= static_cast< int >(val5
);
35011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35012 if (!SWIG_IsOK(ecode6
)) {
35013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35015 arg6
= static_cast< wxOrientation
>(val6
);
35017 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35018 if (!SWIG_IsOK(ecode7
)) {
35019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35021 arg7
= static_cast< int >(val7
);
35024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35025 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35029 resultobj
= SWIG_Py_Void();
35036 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35037 PyObject
*resultobj
= 0;
35038 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35039 wxWindow
*arg2
= (wxWindow
*) 0 ;
35042 int arg5
= (int) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 PyObject
* obj2
= 0 ;
35055 PyObject
* obj3
= 0 ;
35056 PyObject
* obj4
= 0 ;
35057 char * kwnames
[] = {
35058 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35063 if (!SWIG_IsOK(res1
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35066 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35068 if (!SWIG_IsOK(res2
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35072 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35073 if (!SWIG_IsOK(res3
)) {
35074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35079 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35082 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35086 if (!SWIG_IsOK(ecode5
)) {
35087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35089 arg5
= static_cast< int >(val5
);
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35097 resultobj
= SWIG_Py_Void();
35104 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
= 0;
35106 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35107 wxWindow
*arg2
= (wxWindow
*) 0 ;
35110 int arg5
= (int) 0 ;
35120 PyObject
* obj0
= 0 ;
35121 PyObject
* obj1
= 0 ;
35122 PyObject
* obj2
= 0 ;
35123 PyObject
* obj3
= 0 ;
35124 PyObject
* obj4
= 0 ;
35125 char * kwnames
[] = {
35126 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35131 if (!SWIG_IsOK(res1
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35134 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35136 if (!SWIG_IsOK(res2
)) {
35137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35140 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35141 if (!SWIG_IsOK(res3
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35147 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35150 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35153 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35154 if (!SWIG_IsOK(ecode5
)) {
35155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35157 arg5
= static_cast< int >(val5
);
35160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35161 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35162 wxPyEndAllowThreads(__tstate
);
35163 if (PyErr_Occurred()) SWIG_fail
;
35165 resultobj
= SWIG_Py_Void();
35172 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35173 PyObject
*resultobj
= 0;
35174 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35175 wxWindow
*arg2
= (wxWindow
*) 0 ;
35178 int arg5
= (int) 0 ;
35188 PyObject
* obj0
= 0 ;
35189 PyObject
* obj1
= 0 ;
35190 PyObject
* obj2
= 0 ;
35191 PyObject
* obj3
= 0 ;
35192 PyObject
* obj4
= 0 ;
35193 char * kwnames
[] = {
35194 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35202 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35204 if (!SWIG_IsOK(res2
)) {
35205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35208 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35209 if (!SWIG_IsOK(res3
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35215 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35218 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35222 if (!SWIG_IsOK(ecode5
)) {
35223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35225 arg5
= static_cast< int >(val5
);
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35229 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= SWIG_Py_Void();
35240 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
= 0;
35242 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35243 wxWindow
*arg2
= (wxWindow
*) 0 ;
35246 int arg5
= (int) 0 ;
35256 PyObject
* obj0
= 0 ;
35257 PyObject
* obj1
= 0 ;
35258 PyObject
* obj2
= 0 ;
35259 PyObject
* obj3
= 0 ;
35260 PyObject
* obj4
= 0 ;
35261 char * kwnames
[] = {
35262 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35267 if (!SWIG_IsOK(res1
)) {
35268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35270 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35272 if (!SWIG_IsOK(res2
)) {
35273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35276 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35277 if (!SWIG_IsOK(res3
)) {
35278 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35283 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35286 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35290 if (!SWIG_IsOK(ecode5
)) {
35291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35293 arg5
= static_cast< int >(val5
);
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= SWIG_Py_Void();
35308 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
= 0;
35310 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35311 wxWindow
*arg2
= (wxWindow
*) 0 ;
35314 int arg5
= (int) 0 ;
35324 PyObject
* obj0
= 0 ;
35325 PyObject
* obj1
= 0 ;
35326 PyObject
* obj2
= 0 ;
35327 PyObject
* obj3
= 0 ;
35328 PyObject
* obj4
= 0 ;
35329 char * kwnames
[] = {
35330 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35335 if (!SWIG_IsOK(res1
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35338 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35340 if (!SWIG_IsOK(res2
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35344 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35345 if (!SWIG_IsOK(res3
)) {
35346 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35351 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35354 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35357 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35358 if (!SWIG_IsOK(ecode5
)) {
35359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35361 arg5
= static_cast< int >(val5
);
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_Py_Void();
35376 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
= 0;
35378 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35379 wxWindow
*arg2
= (wxWindow
*) 0 ;
35380 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 char * kwnames
[] = {
35388 (char *) "self",(char *) "win", NULL
35391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35396 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35398 if (!SWIG_IsOK(res2
)) {
35399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35401 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35408 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35415 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35416 PyObject
*resultobj
= 0;
35417 wxRendererNative
*result
= 0 ;
35419 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35421 if (!wxPyCheckForApp()) SWIG_fail
;
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35424 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35425 result
= (wxRendererNative
*) &_result_ref
;
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35437 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35438 PyObject
*resultobj
= 0;
35439 wxRendererNative
*result
= 0 ;
35441 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35443 if (!wxPyCheckForApp()) SWIG_fail
;
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35446 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35447 result
= (wxRendererNative
*) &_result_ref
;
35449 wxPyEndAllowThreads(__tstate
);
35450 if (PyErr_Occurred()) SWIG_fail
;
35452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35459 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35460 PyObject
*resultobj
= 0;
35461 wxRendererNative
*result
= 0 ;
35463 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35465 if (!wxPyCheckForApp()) SWIG_fail
;
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35469 result
= (wxRendererNative
*) &_result_ref
;
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35481 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
= 0;
35483 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35484 wxRendererNative
*result
= 0 ;
35487 PyObject
* obj0
= 0 ;
35488 char * kwnames
[] = {
35489 (char *) "renderer", NULL
35492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35497 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35499 if (!wxPyCheckForApp()) SWIG_fail
;
35500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35501 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35502 wxPyEndAllowThreads(__tstate
);
35503 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35512 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35513 PyObject
*resultobj
= 0;
35514 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35515 SwigValueWrapper
<wxRendererVersion
> result
;
35518 PyObject
*swig_obj
[1] ;
35520 if (!args
) SWIG_fail
;
35521 swig_obj
[0] = args
;
35522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35523 if (!SWIG_IsOK(res1
)) {
35524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35526 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35529 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35530 wxPyEndAllowThreads(__tstate
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35533 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35540 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35543 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35544 return SWIG_Py_Void();
35547 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35548 PyObject
*resultobj
= 0;
35549 wxPseudoDC
*result
= 0 ;
35551 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35554 result
= (wxPseudoDC
*)new wxPseudoDC();
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35565 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35566 PyObject
*resultobj
= 0;
35567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35570 PyObject
*swig_obj
[1] ;
35572 if (!args
) SWIG_fail
;
35573 swig_obj
[0] = args
;
35574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35575 if (!SWIG_IsOK(res1
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 (arg1
)->BeginDrawing();
35582 wxPyEndAllowThreads(__tstate
);
35583 if (PyErr_Occurred()) SWIG_fail
;
35585 resultobj
= SWIG_Py_Void();
35592 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35593 PyObject
*resultobj
= 0;
35594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35597 PyObject
*swig_obj
[1] ;
35599 if (!args
) SWIG_fail
;
35600 swig_obj
[0] = args
;
35601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35602 if (!SWIG_IsOK(res1
)) {
35603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35605 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 (arg1
)->EndDrawing();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_Py_Void();
35619 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35620 PyObject
*resultobj
= 0;
35621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35624 PyObject
*swig_obj
[1] ;
35626 if (!args
) SWIG_fail
;
35627 swig_obj
[0] = args
;
35628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35629 if (!SWIG_IsOK(res1
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35640 resultobj
= SWIG_Py_Void();
35647 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35648 PyObject
*resultobj
= 0;
35649 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35652 PyObject
*swig_obj
[1] ;
35654 if (!args
) SWIG_fail
;
35655 swig_obj
[0] = args
;
35656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35657 if (!SWIG_IsOK(res1
)) {
35658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35663 (arg1
)->RemoveAll();
35664 wxPyEndAllowThreads(__tstate
);
35665 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= SWIG_Py_Void();
35674 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35675 PyObject
*resultobj
= 0;
35676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35680 PyObject
*swig_obj
[1] ;
35682 if (!args
) SWIG_fail
;
35683 swig_obj
[0] = args
;
35684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 result
= (int)(arg1
)->GetLen();
35692 wxPyEndAllowThreads(__tstate
);
35693 if (PyErr_Occurred()) SWIG_fail
;
35695 resultobj
= SWIG_From_int(static_cast< int >(result
));
35702 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35703 PyObject
*resultobj
= 0;
35704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35710 PyObject
* obj0
= 0 ;
35711 PyObject
* obj1
= 0 ;
35712 char * kwnames
[] = {
35713 (char *) "self",(char *) "id", NULL
35716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) 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_SetId" "', 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_SetId" "', expected argument " "2"" of type '" "int""'");
35726 arg2
= static_cast< int >(val2
);
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 (arg1
)->SetId(arg2
);
35730 wxPyEndAllowThreads(__tstate
);
35731 if (PyErr_Occurred()) SWIG_fail
;
35733 resultobj
= SWIG_Py_Void();
35740 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35741 PyObject
*resultobj
= 0;
35742 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35748 PyObject
* obj0
= 0 ;
35749 PyObject
* obj1
= 0 ;
35750 char * kwnames
[] = {
35751 (char *) "self",(char *) "id", NULL
35754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35756 if (!SWIG_IsOK(res1
)) {
35757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35761 if (!SWIG_IsOK(ecode2
)) {
35762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35764 arg2
= static_cast< int >(val2
);
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 (arg1
)->ClearId(arg2
);
35768 wxPyEndAllowThreads(__tstate
);
35769 if (PyErr_Occurred()) SWIG_fail
;
35771 resultobj
= SWIG_Py_Void();
35778 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35779 PyObject
*resultobj
= 0;
35780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35786 PyObject
* obj0
= 0 ;
35787 PyObject
* obj1
= 0 ;
35788 char * kwnames
[] = {
35789 (char *) "self",(char *) "id", NULL
35792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35794 if (!SWIG_IsOK(res1
)) {
35795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35797 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35799 if (!SWIG_IsOK(ecode2
)) {
35800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35802 arg2
= static_cast< int >(val2
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 (arg1
)->RemoveId(arg2
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= SWIG_Py_Void();
35816 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35830 PyObject
* obj0
= 0 ;
35831 PyObject
* obj1
= 0 ;
35832 PyObject
* obj2
= 0 ;
35833 PyObject
* obj3
= 0 ;
35834 char * kwnames
[] = {
35835 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35840 if (!SWIG_IsOK(res1
)) {
35841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35845 if (!SWIG_IsOK(ecode2
)) {
35846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35848 arg2
= static_cast< int >(val2
);
35849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35850 if (!SWIG_IsOK(ecode3
)) {
35851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35853 arg3
= static_cast< int >(val3
);
35854 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35855 if (!SWIG_IsOK(ecode4
)) {
35856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35858 arg4
= static_cast< int >(val4
);
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35862 wxPyEndAllowThreads(__tstate
);
35863 if (PyErr_Occurred()) SWIG_fail
;
35865 resultobj
= SWIG_Py_Void();
35872 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
= 0;
35874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35876 bool arg3
= (bool) true ;
35883 PyObject
* obj0
= 0 ;
35884 PyObject
* obj1
= 0 ;
35885 PyObject
* obj2
= 0 ;
35886 char * kwnames
[] = {
35887 (char *) "self",(char *) "id",(char *) "greyout", NULL
35890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35892 if (!SWIG_IsOK(res1
)) {
35893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35897 if (!SWIG_IsOK(ecode2
)) {
35898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35900 arg2
= static_cast< int >(val2
);
35902 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35903 if (!SWIG_IsOK(ecode3
)) {
35904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35906 arg3
= static_cast< bool >(val3
);
35909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35910 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35914 resultobj
= SWIG_Py_Void();
35921 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35922 PyObject
*resultobj
= 0;
35923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35930 PyObject
* obj0
= 0 ;
35931 PyObject
* obj1
= 0 ;
35932 char * kwnames
[] = {
35933 (char *) "self",(char *) "id", NULL
35936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35938 if (!SWIG_IsOK(res1
)) {
35939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35941 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35943 if (!SWIG_IsOK(ecode2
)) {
35944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35946 arg2
= static_cast< int >(val2
);
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35950 wxPyEndAllowThreads(__tstate
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35962 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
= 0;
35964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35967 int arg4
= (int) 1 ;
35968 wxColour
const &arg5_defvalue
= *wxWHITE
;
35969 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35970 PyObject
*result
= 0 ;
35980 PyObject
* obj0
= 0 ;
35981 PyObject
* obj1
= 0 ;
35982 PyObject
* obj2
= 0 ;
35983 PyObject
* obj3
= 0 ;
35984 PyObject
* obj4
= 0 ;
35985 char * kwnames
[] = {
35986 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35991 if (!SWIG_IsOK(res1
)) {
35992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35996 if (!SWIG_IsOK(ecode2
)) {
35997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35999 arg2
= static_cast< int >(val2
);
36000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36001 if (!SWIG_IsOK(ecode3
)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36004 arg3
= static_cast< int >(val3
);
36006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36007 if (!SWIG_IsOK(ecode4
)) {
36008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36010 arg4
= static_cast< int >(val4
);
36015 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36019 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36020 if (PyErr_Occurred()) SWIG_fail
;
36022 resultobj
= result
;
36029 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36030 PyObject
*resultobj
= 0;
36031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36034 PyObject
*result
= 0 ;
36041 PyObject
* obj0
= 0 ;
36042 PyObject
* obj1
= 0 ;
36043 PyObject
* obj2
= 0 ;
36044 char * kwnames
[] = {
36045 (char *) "self",(char *) "x",(char *) "y", NULL
36048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36050 if (!SWIG_IsOK(res1
)) {
36051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36055 if (!SWIG_IsOK(ecode2
)) {
36056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36058 arg2
= static_cast< int >(val2
);
36059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36060 if (!SWIG_IsOK(ecode3
)) {
36061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36063 arg3
= static_cast< int >(val3
);
36065 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36066 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= result
;
36075 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
= 0;
36077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36079 wxDC
*arg3
= (wxDC
*) 0 ;
36086 PyObject
* obj0
= 0 ;
36087 PyObject
* obj1
= 0 ;
36088 PyObject
* obj2
= 0 ;
36089 char * kwnames
[] = {
36090 (char *) "self",(char *) "id",(char *) "dc", NULL
36093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36095 if (!SWIG_IsOK(res1
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36100 if (!SWIG_IsOK(ecode2
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36103 arg2
= static_cast< int >(val2
);
36104 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36105 if (!SWIG_IsOK(res3
)) {
36106 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36108 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36111 (arg1
)->DrawIdToDC(arg2
,arg3
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 resultobj
= SWIG_Py_Void();
36122 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
= 0;
36124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 PyObject
* obj2
= 0 ;
36135 char * kwnames
[] = {
36136 (char *) "self",(char *) "id",(char *) "rect", NULL
36139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36141 if (!SWIG_IsOK(res1
)) {
36142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36144 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36146 if (!SWIG_IsOK(ecode2
)) {
36147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36149 arg2
= static_cast< int >(val2
);
36152 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36156 (arg1
)->SetIdBounds(arg2
,*arg3
);
36157 wxPyEndAllowThreads(__tstate
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36160 resultobj
= SWIG_Py_Void();
36167 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
= 0;
36169 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36176 PyObject
* obj0
= 0 ;
36177 PyObject
* obj1
= 0 ;
36178 char * kwnames
[] = {
36179 (char *) "self",(char *) "id", NULL
36182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36184 if (!SWIG_IsOK(res1
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36189 if (!SWIG_IsOK(ecode2
)) {
36190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36192 arg2
= static_cast< int >(val2
);
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36206 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
= 0;
36208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36209 wxDC
*arg2
= (wxDC
*) 0 ;
36216 PyObject
* obj0
= 0 ;
36217 PyObject
* obj1
= 0 ;
36218 PyObject
* obj2
= 0 ;
36219 char * kwnames
[] = {
36220 (char *) "self",(char *) "dc",(char *) "rect", NULL
36223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36230 if (!SWIG_IsOK(res2
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36233 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36236 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_Py_Void();
36251 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36254 wxDC
*arg2
= (wxDC
*) 0 ;
36255 wxRegion
*arg3
= 0 ;
36262 PyObject
* obj0
= 0 ;
36263 PyObject
* obj1
= 0 ;
36264 PyObject
* obj2
= 0 ;
36265 char * kwnames
[] = {
36266 (char *) "self",(char *) "dc",(char *) "region", NULL
36269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36271 if (!SWIG_IsOK(res1
)) {
36272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36276 if (!SWIG_IsOK(res2
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36279 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36280 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36281 if (!SWIG_IsOK(res3
)) {
36282 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36287 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36291 wxPyEndAllowThreads(__tstate
);
36292 if (PyErr_Occurred()) SWIG_fail
;
36294 resultobj
= SWIG_Py_Void();
36301 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36302 PyObject
*resultobj
= 0;
36303 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36304 wxDC
*arg2
= (wxDC
*) 0 ;
36309 PyObject
* obj0
= 0 ;
36310 PyObject
* obj1
= 0 ;
36311 char * kwnames
[] = {
36312 (char *) "self",(char *) "dc", NULL
36315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36317 if (!SWIG_IsOK(res1
)) {
36318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36322 if (!SWIG_IsOK(res2
)) {
36323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36325 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36328 (arg1
)->DrawToDC(arg2
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 resultobj
= SWIG_Py_Void();
36339 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
= 0;
36341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36344 wxColour
*arg4
= 0 ;
36345 int arg5
= (int) wxFLOOD_SURFACE
;
36355 PyObject
* obj0
= 0 ;
36356 PyObject
* obj1
= 0 ;
36357 PyObject
* obj2
= 0 ;
36358 PyObject
* obj3
= 0 ;
36359 PyObject
* obj4
= 0 ;
36360 char * kwnames
[] = {
36361 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36371 if (!SWIG_IsOK(ecode2
)) {
36372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36374 arg2
= static_cast< int >(val2
);
36375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36376 if (!SWIG_IsOK(ecode3
)) {
36377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36379 arg3
= static_cast< int >(val3
);
36382 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36385 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36386 if (!SWIG_IsOK(ecode5
)) {
36387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36389 arg5
= static_cast< int >(val5
);
36392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= SWIG_Py_Void();
36404 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
= 0;
36406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36407 wxPoint
*arg2
= 0 ;
36408 wxColour
*arg3
= 0 ;
36409 int arg4
= (int) wxFLOOD_SURFACE
;
36416 PyObject
* obj0
= 0 ;
36417 PyObject
* obj1
= 0 ;
36418 PyObject
* obj2
= 0 ;
36419 PyObject
* obj3
= 0 ;
36420 char * kwnames
[] = {
36421 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36426 if (!SWIG_IsOK(res1
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36436 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36440 if (!SWIG_IsOK(ecode4
)) {
36441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36443 arg4
= static_cast< int >(val4
);
36446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36447 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36448 wxPyEndAllowThreads(__tstate
);
36449 if (PyErr_Occurred()) SWIG_fail
;
36451 resultobj
= SWIG_Py_Void();
36458 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36459 PyObject
*resultobj
= 0;
36460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 PyObject
* obj2
= 0 ;
36478 PyObject
* obj3
= 0 ;
36479 PyObject
* obj4
= 0 ;
36480 char * kwnames
[] = {
36481 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36486 if (!SWIG_IsOK(res1
)) {
36487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36491 if (!SWIG_IsOK(ecode2
)) {
36492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36494 arg2
= static_cast< int >(val2
);
36495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36496 if (!SWIG_IsOK(ecode3
)) {
36497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36499 arg3
= static_cast< int >(val3
);
36500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36501 if (!SWIG_IsOK(ecode4
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36504 arg4
= static_cast< int >(val4
);
36505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36506 if (!SWIG_IsOK(ecode5
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36509 arg5
= static_cast< int >(val5
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 wxPoint
*arg2
= 0 ;
36527 wxPoint
*arg3
= 0 ;
36532 PyObject
* obj0
= 0 ;
36533 PyObject
* obj1
= 0 ;
36534 PyObject
* obj2
= 0 ;
36535 char * kwnames
[] = {
36536 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36541 if (!SWIG_IsOK(res1
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36544 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36551 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36556 wxPyEndAllowThreads(__tstate
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 resultobj
= SWIG_Py_Void();
36566 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
= 0;
36568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36577 PyObject
* obj0
= 0 ;
36578 PyObject
* obj1
= 0 ;
36579 PyObject
* obj2
= 0 ;
36580 char * kwnames
[] = {
36581 (char *) "self",(char *) "x",(char *) "y", NULL
36584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36586 if (!SWIG_IsOK(res1
)) {
36587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36591 if (!SWIG_IsOK(ecode2
)) {
36592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36594 arg2
= static_cast< int >(val2
);
36595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36596 if (!SWIG_IsOK(ecode3
)) {
36597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36599 arg3
= static_cast< int >(val3
);
36601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36602 (arg1
)->CrossHair(arg2
,arg3
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36606 resultobj
= SWIG_Py_Void();
36613 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36614 PyObject
*resultobj
= 0;
36615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36616 wxPoint
*arg2
= 0 ;
36620 PyObject
* obj0
= 0 ;
36621 PyObject
* obj1
= 0 ;
36622 char * kwnames
[] = {
36623 (char *) "self",(char *) "pt", NULL
36626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36628 if (!SWIG_IsOK(res1
)) {
36629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36638 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36639 wxPyEndAllowThreads(__tstate
);
36640 if (PyErr_Occurred()) SWIG_fail
;
36642 resultobj
= SWIG_Py_Void();
36649 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36650 PyObject
*resultobj
= 0;
36651 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36672 PyObject
* obj0
= 0 ;
36673 PyObject
* obj1
= 0 ;
36674 PyObject
* obj2
= 0 ;
36675 PyObject
* obj3
= 0 ;
36676 PyObject
* obj4
= 0 ;
36677 PyObject
* obj5
= 0 ;
36678 PyObject
* obj6
= 0 ;
36679 char * kwnames
[] = {
36680 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36690 if (!SWIG_IsOK(ecode2
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36693 arg2
= static_cast< int >(val2
);
36694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36695 if (!SWIG_IsOK(ecode3
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36698 arg3
= static_cast< int >(val3
);
36699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36700 if (!SWIG_IsOK(ecode4
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36703 arg4
= static_cast< int >(val4
);
36704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36705 if (!SWIG_IsOK(ecode5
)) {
36706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36708 arg5
= static_cast< int >(val5
);
36709 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36710 if (!SWIG_IsOK(ecode6
)) {
36711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36713 arg6
= static_cast< int >(val6
);
36714 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36715 if (!SWIG_IsOK(ecode7
)) {
36716 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36718 arg7
= static_cast< int >(val7
);
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36722 wxPyEndAllowThreads(__tstate
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= SWIG_Py_Void();
36732 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36733 PyObject
*resultobj
= 0;
36734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36735 wxPoint
*arg2
= 0 ;
36736 wxPoint
*arg3
= 0 ;
36737 wxPoint
*arg4
= 0 ;
36743 PyObject
* obj0
= 0 ;
36744 PyObject
* obj1
= 0 ;
36745 PyObject
* obj2
= 0 ;
36746 PyObject
* obj3
= 0 ;
36747 char * kwnames
[] = {
36748 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36753 if (!SWIG_IsOK(res1
)) {
36754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36756 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36763 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36767 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36772 wxPyEndAllowThreads(__tstate
);
36773 if (PyErr_Occurred()) SWIG_fail
;
36775 resultobj
= SWIG_Py_Void();
36782 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36783 PyObject
*resultobj
= 0;
36784 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36799 PyObject
* obj0
= 0 ;
36800 PyObject
* obj1
= 0 ;
36801 PyObject
* obj2
= 0 ;
36802 PyObject
* obj3
= 0 ;
36803 PyObject
* obj4
= 0 ;
36804 char * kwnames
[] = {
36805 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36810 if (!SWIG_IsOK(res1
)) {
36811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36815 if (!SWIG_IsOK(ecode2
)) {
36816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36818 arg2
= static_cast< int >(val2
);
36819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36820 if (!SWIG_IsOK(ecode3
)) {
36821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36823 arg3
= static_cast< int >(val3
);
36824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36825 if (!SWIG_IsOK(ecode4
)) {
36826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36828 arg4
= static_cast< int >(val4
);
36829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36830 if (!SWIG_IsOK(ecode5
)) {
36831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36833 arg5
= static_cast< int >(val5
);
36835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= SWIG_Py_Void();
36847 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36848 PyObject
*resultobj
= 0;
36849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 char * kwnames
[] = {
36857 (char *) "self",(char *) "rect", NULL
36860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36868 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36884 PyObject
*resultobj
= 0;
36885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36906 PyObject
* obj0
= 0 ;
36907 PyObject
* obj1
= 0 ;
36908 PyObject
* obj2
= 0 ;
36909 PyObject
* obj3
= 0 ;
36910 PyObject
* obj4
= 0 ;
36911 PyObject
* obj5
= 0 ;
36912 PyObject
* obj6
= 0 ;
36913 char * kwnames
[] = {
36914 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36919 if (!SWIG_IsOK(res1
)) {
36920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36922 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36924 if (!SWIG_IsOK(ecode2
)) {
36925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36927 arg2
= static_cast< int >(val2
);
36928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36929 if (!SWIG_IsOK(ecode3
)) {
36930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36932 arg3
= static_cast< int >(val3
);
36933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36934 if (!SWIG_IsOK(ecode4
)) {
36935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36937 arg4
= static_cast< int >(val4
);
36938 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36939 if (!SWIG_IsOK(ecode5
)) {
36940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36942 arg5
= static_cast< int >(val5
);
36943 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36944 if (!SWIG_IsOK(ecode6
)) {
36945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36947 arg6
= static_cast< double >(val6
);
36948 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36949 if (!SWIG_IsOK(ecode7
)) {
36950 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36952 arg7
= static_cast< double >(val7
);
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 resultobj
= SWIG_Py_Void();
36966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
= 0;
36968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36969 wxPoint
*arg2
= 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 PyObject
* obj2
= 0 ;
36984 PyObject
* obj3
= 0 ;
36985 PyObject
* obj4
= 0 ;
36986 char * kwnames
[] = {
36987 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36992 if (!SWIG_IsOK(res1
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37002 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37004 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37005 if (!SWIG_IsOK(ecode4
)) {
37006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37008 arg4
= static_cast< double >(val4
);
37009 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37010 if (!SWIG_IsOK(ecode5
)) {
37011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37013 arg5
= static_cast< double >(val5
);
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_Py_Void();
37027 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
= 0;
37029 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37038 PyObject
* obj0
= 0 ;
37039 PyObject
* obj1
= 0 ;
37040 PyObject
* obj2
= 0 ;
37041 char * kwnames
[] = {
37042 (char *) "self",(char *) "x",(char *) "y", NULL
37045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37047 if (!SWIG_IsOK(res1
)) {
37048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37052 if (!SWIG_IsOK(ecode2
)) {
37053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37055 arg2
= static_cast< int >(val2
);
37056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37057 if (!SWIG_IsOK(ecode3
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37060 arg3
= static_cast< int >(val3
);
37062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37063 (arg1
)->DrawPoint(arg2
,arg3
);
37064 wxPyEndAllowThreads(__tstate
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= SWIG_Py_Void();
37074 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37075 PyObject
*resultobj
= 0;
37076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37077 wxPoint
*arg2
= 0 ;
37081 PyObject
* obj0
= 0 ;
37082 PyObject
* obj1
= 0 ;
37083 char * kwnames
[] = {
37084 (char *) "self",(char *) "pt", NULL
37087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37089 if (!SWIG_IsOK(res1
)) {
37090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37099 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37100 wxPyEndAllowThreads(__tstate
);
37101 if (PyErr_Occurred()) SWIG_fail
;
37103 resultobj
= SWIG_Py_Void();
37110 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37111 PyObject
*resultobj
= 0;
37112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37127 PyObject
* obj0
= 0 ;
37128 PyObject
* obj1
= 0 ;
37129 PyObject
* obj2
= 0 ;
37130 PyObject
* obj3
= 0 ;
37131 PyObject
* obj4
= 0 ;
37132 char * kwnames
[] = {
37133 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37138 if (!SWIG_IsOK(res1
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37143 if (!SWIG_IsOK(ecode2
)) {
37144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37146 arg2
= static_cast< int >(val2
);
37147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37148 if (!SWIG_IsOK(ecode3
)) {
37149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37151 arg3
= static_cast< int >(val3
);
37152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37153 if (!SWIG_IsOK(ecode4
)) {
37154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37156 arg4
= static_cast< int >(val4
);
37157 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37158 if (!SWIG_IsOK(ecode5
)) {
37159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37161 arg5
= static_cast< int >(val5
);
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37164 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37168 resultobj
= SWIG_Py_Void();
37175 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37176 PyObject
*resultobj
= 0;
37177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37182 PyObject
* obj0
= 0 ;
37183 PyObject
* obj1
= 0 ;
37184 char * kwnames
[] = {
37185 (char *) "self",(char *) "rect", NULL
37188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37190 if (!SWIG_IsOK(res1
)) {
37191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37196 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37200 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37204 resultobj
= SWIG_Py_Void();
37211 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37212 PyObject
*resultobj
= 0;
37213 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37214 wxPoint
*arg2
= 0 ;
37220 PyObject
* obj0
= 0 ;
37221 PyObject
* obj1
= 0 ;
37222 PyObject
* obj2
= 0 ;
37223 char * kwnames
[] = {
37224 (char *) "self",(char *) "pt",(char *) "sz", NULL
37227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37229 if (!SWIG_IsOK(res1
)) {
37230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37239 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37247 resultobj
= SWIG_Py_Void();
37254 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
= 0;
37256 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37274 PyObject
* obj0
= 0 ;
37275 PyObject
* obj1
= 0 ;
37276 PyObject
* obj2
= 0 ;
37277 PyObject
* obj3
= 0 ;
37278 PyObject
* obj4
= 0 ;
37279 PyObject
* obj5
= 0 ;
37280 char * kwnames
[] = {
37281 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37286 if (!SWIG_IsOK(res1
)) {
37287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37289 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37291 if (!SWIG_IsOK(ecode2
)) {
37292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37294 arg2
= static_cast< int >(val2
);
37295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37296 if (!SWIG_IsOK(ecode3
)) {
37297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37299 arg3
= static_cast< int >(val3
);
37300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37301 if (!SWIG_IsOK(ecode4
)) {
37302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37304 arg4
= static_cast< int >(val4
);
37305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37306 if (!SWIG_IsOK(ecode5
)) {
37307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37309 arg5
= static_cast< int >(val5
);
37310 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37311 if (!SWIG_IsOK(ecode6
)) {
37312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37314 arg6
= static_cast< double >(val6
);
37316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37317 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= SWIG_Py_Void();
37328 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37329 PyObject
*resultobj
= 0;
37330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37338 PyObject
* obj0
= 0 ;
37339 PyObject
* obj1
= 0 ;
37340 PyObject
* obj2
= 0 ;
37341 char * kwnames
[] = {
37342 (char *) "self",(char *) "r",(char *) "radius", NULL
37345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37347 if (!SWIG_IsOK(res1
)) {
37348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37353 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37355 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37356 if (!SWIG_IsOK(ecode3
)) {
37357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37359 arg3
= static_cast< double >(val3
);
37361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37362 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= SWIG_Py_Void();
37373 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37374 PyObject
*resultobj
= 0;
37375 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37376 wxPoint
*arg2
= 0 ;
37385 PyObject
* obj0
= 0 ;
37386 PyObject
* obj1
= 0 ;
37387 PyObject
* obj2
= 0 ;
37388 PyObject
* obj3
= 0 ;
37389 char * kwnames
[] = {
37390 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37395 if (!SWIG_IsOK(res1
)) {
37396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37405 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37407 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37408 if (!SWIG_IsOK(ecode4
)) {
37409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37411 arg4
= static_cast< double >(val4
);
37413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37414 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37415 wxPyEndAllowThreads(__tstate
);
37416 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= SWIG_Py_Void();
37425 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37426 PyObject
*resultobj
= 0;
37427 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37439 PyObject
* obj0
= 0 ;
37440 PyObject
* obj1
= 0 ;
37441 PyObject
* obj2
= 0 ;
37442 PyObject
* obj3
= 0 ;
37443 char * kwnames
[] = {
37444 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37449 if (!SWIG_IsOK(res1
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37454 if (!SWIG_IsOK(ecode2
)) {
37455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37457 arg2
= static_cast< int >(val2
);
37458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37459 if (!SWIG_IsOK(ecode3
)) {
37460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37462 arg3
= static_cast< int >(val3
);
37463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37464 if (!SWIG_IsOK(ecode4
)) {
37465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37467 arg4
= static_cast< int >(val4
);
37469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37470 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= SWIG_Py_Void();
37481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37482 PyObject
*resultobj
= 0;
37483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37484 wxPoint
*arg2
= 0 ;
37491 PyObject
* obj0
= 0 ;
37492 PyObject
* obj1
= 0 ;
37493 PyObject
* obj2
= 0 ;
37494 char * kwnames
[] = {
37495 (char *) "self",(char *) "pt",(char *) "radius", NULL
37498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37500 if (!SWIG_IsOK(res1
)) {
37501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37503 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37509 if (!SWIG_IsOK(ecode3
)) {
37510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37512 arg3
= static_cast< int >(val3
);
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37516 wxPyEndAllowThreads(__tstate
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= SWIG_Py_Void();
37526 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37527 PyObject
*resultobj
= 0;
37528 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37543 PyObject
* obj0
= 0 ;
37544 PyObject
* obj1
= 0 ;
37545 PyObject
* obj2
= 0 ;
37546 PyObject
* obj3
= 0 ;
37547 PyObject
* obj4
= 0 ;
37548 char * kwnames
[] = {
37549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37554 if (!SWIG_IsOK(res1
)) {
37555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37557 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37559 if (!SWIG_IsOK(ecode2
)) {
37560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37562 arg2
= static_cast< int >(val2
);
37563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37564 if (!SWIG_IsOK(ecode3
)) {
37565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37567 arg3
= static_cast< int >(val3
);
37568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37569 if (!SWIG_IsOK(ecode4
)) {
37570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37572 arg4
= static_cast< int >(val4
);
37573 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37574 if (!SWIG_IsOK(ecode5
)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37577 arg5
= static_cast< int >(val5
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37584 resultobj
= SWIG_Py_Void();
37591 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37592 PyObject
*resultobj
= 0;
37593 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37598 PyObject
* obj0
= 0 ;
37599 PyObject
* obj1
= 0 ;
37600 char * kwnames
[] = {
37601 (char *) "self",(char *) "rect", NULL
37604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37606 if (!SWIG_IsOK(res1
)) {
37607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37616 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37620 resultobj
= SWIG_Py_Void();
37627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37628 PyObject
*resultobj
= 0;
37629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37630 wxPoint
*arg2
= 0 ;
37636 PyObject
* obj0
= 0 ;
37637 PyObject
* obj1
= 0 ;
37638 PyObject
* obj2
= 0 ;
37639 char * kwnames
[] = {
37640 (char *) "self",(char *) "pt",(char *) "sz", NULL
37643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37645 if (!SWIG_IsOK(res1
)) {
37646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37648 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37655 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37660 wxPyEndAllowThreads(__tstate
);
37661 if (PyErr_Occurred()) SWIG_fail
;
37663 resultobj
= SWIG_Py_Void();
37670 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37671 PyObject
*resultobj
= 0;
37672 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37684 PyObject
* obj0
= 0 ;
37685 PyObject
* obj1
= 0 ;
37686 PyObject
* obj2
= 0 ;
37687 PyObject
* obj3
= 0 ;
37688 char * kwnames
[] = {
37689 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37694 if (!SWIG_IsOK(res1
)) {
37695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37699 if (!SWIG_IsOK(res2
)) {
37700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37705 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37707 if (!SWIG_IsOK(ecode3
)) {
37708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37710 arg3
= static_cast< int >(val3
);
37711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37712 if (!SWIG_IsOK(ecode4
)) {
37713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37715 arg4
= static_cast< int >(val4
);
37717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37718 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37722 resultobj
= SWIG_Py_Void();
37729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37730 PyObject
*resultobj
= 0;
37731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37733 wxPoint
*arg3
= 0 ;
37739 PyObject
* obj0
= 0 ;
37740 PyObject
* obj1
= 0 ;
37741 PyObject
* obj2
= 0 ;
37742 char * kwnames
[] = {
37743 (char *) "self",(char *) "icon",(char *) "pt", NULL
37746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37748 if (!SWIG_IsOK(res1
)) {
37749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37753 if (!SWIG_IsOK(res2
)) {
37754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37759 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37767 wxPyEndAllowThreads(__tstate
);
37768 if (PyErr_Occurred()) SWIG_fail
;
37770 resultobj
= SWIG_Py_Void();
37777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
= 0;
37779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37780 wxBitmap
*arg2
= 0 ;
37783 bool arg5
= (bool) false ;
37794 PyObject
* obj0
= 0 ;
37795 PyObject
* obj1
= 0 ;
37796 PyObject
* obj2
= 0 ;
37797 PyObject
* obj3
= 0 ;
37798 PyObject
* obj4
= 0 ;
37799 char * kwnames
[] = {
37800 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37805 if (!SWIG_IsOK(res1
)) {
37806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37808 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37810 if (!SWIG_IsOK(res2
)) {
37811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37816 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37818 if (!SWIG_IsOK(ecode3
)) {
37819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37821 arg3
= static_cast< int >(val3
);
37822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37823 if (!SWIG_IsOK(ecode4
)) {
37824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37826 arg4
= static_cast< int >(val4
);
37828 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37829 if (!SWIG_IsOK(ecode5
)) {
37830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37832 arg5
= static_cast< bool >(val5
);
37835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37836 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37837 wxPyEndAllowThreads(__tstate
);
37838 if (PyErr_Occurred()) SWIG_fail
;
37840 resultobj
= SWIG_Py_Void();
37847 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37848 PyObject
*resultobj
= 0;
37849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37850 wxBitmap
*arg2
= 0 ;
37851 wxPoint
*arg3
= 0 ;
37852 bool arg4
= (bool) false ;
37860 PyObject
* obj0
= 0 ;
37861 PyObject
* obj1
= 0 ;
37862 PyObject
* obj2
= 0 ;
37863 PyObject
* obj3
= 0 ;
37864 char * kwnames
[] = {
37865 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37870 if (!SWIG_IsOK(res1
)) {
37871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37873 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37875 if (!SWIG_IsOK(res2
)) {
37876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37881 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37887 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37888 if (!SWIG_IsOK(ecode4
)) {
37889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37891 arg4
= static_cast< bool >(val4
);
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= SWIG_Py_Void();
37906 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37907 PyObject
*resultobj
= 0;
37908 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37909 wxString
*arg2
= 0 ;
37914 bool temp2
= false ;
37919 PyObject
* obj0
= 0 ;
37920 PyObject
* obj1
= 0 ;
37921 PyObject
* obj2
= 0 ;
37922 PyObject
* obj3
= 0 ;
37923 char * kwnames
[] = {
37924 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37929 if (!SWIG_IsOK(res1
)) {
37930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37932 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37934 arg2
= wxString_in_helper(obj1
);
37935 if (arg2
== NULL
) SWIG_fail
;
37938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37939 if (!SWIG_IsOK(ecode3
)) {
37940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37942 arg3
= static_cast< int >(val3
);
37943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37944 if (!SWIG_IsOK(ecode4
)) {
37945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37947 arg4
= static_cast< int >(val4
);
37949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37950 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= SWIG_Py_Void();
37969 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37970 PyObject
*resultobj
= 0;
37971 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37972 wxString
*arg2
= 0 ;
37973 wxPoint
*arg3
= 0 ;
37976 bool temp2
= false ;
37978 PyObject
* obj0
= 0 ;
37979 PyObject
* obj1
= 0 ;
37980 PyObject
* obj2
= 0 ;
37981 char * kwnames
[] = {
37982 (char *) "self",(char *) "text",(char *) "pt", NULL
37985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37987 if (!SWIG_IsOK(res1
)) {
37988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37990 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37992 arg2
= wxString_in_helper(obj1
);
37993 if (arg2
== NULL
) SWIG_fail
;
37998 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= SWIG_Py_Void();
38021 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38022 PyObject
*resultobj
= 0;
38023 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38024 wxString
*arg2
= 0 ;
38030 bool temp2
= false ;
38037 PyObject
* obj0
= 0 ;
38038 PyObject
* obj1
= 0 ;
38039 PyObject
* obj2
= 0 ;
38040 PyObject
* obj3
= 0 ;
38041 PyObject
* obj4
= 0 ;
38042 char * kwnames
[] = {
38043 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38048 if (!SWIG_IsOK(res1
)) {
38049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38053 arg2
= wxString_in_helper(obj1
);
38054 if (arg2
== NULL
) SWIG_fail
;
38057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38058 if (!SWIG_IsOK(ecode3
)) {
38059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38061 arg3
= static_cast< int >(val3
);
38062 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38063 if (!SWIG_IsOK(ecode4
)) {
38064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38066 arg4
= static_cast< int >(val4
);
38067 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38068 if (!SWIG_IsOK(ecode5
)) {
38069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38071 arg5
= static_cast< double >(val5
);
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38075 wxPyEndAllowThreads(__tstate
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38078 resultobj
= SWIG_Py_Void();
38093 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38094 PyObject
*resultobj
= 0;
38095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38096 wxString
*arg2
= 0 ;
38097 wxPoint
*arg3
= 0 ;
38101 bool temp2
= false ;
38105 PyObject
* obj0
= 0 ;
38106 PyObject
* obj1
= 0 ;
38107 PyObject
* obj2
= 0 ;
38108 PyObject
* obj3
= 0 ;
38109 char * kwnames
[] = {
38110 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38120 arg2
= wxString_in_helper(obj1
);
38121 if (arg2
== NULL
) SWIG_fail
;
38126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38128 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38129 if (!SWIG_IsOK(ecode4
)) {
38130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38132 arg4
= static_cast< double >(val4
);
38134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38135 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38136 wxPyEndAllowThreads(__tstate
);
38137 if (PyErr_Occurred()) SWIG_fail
;
38139 resultobj
= SWIG_Py_Void();
38154 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
= 0;
38156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38158 wxPoint
*arg3
= (wxPoint
*) 0 ;
38159 int arg4
= (int) 0 ;
38160 int arg5
= (int) 0 ;
38167 PyObject
* obj0
= 0 ;
38168 PyObject
* obj1
= 0 ;
38169 PyObject
* obj2
= 0 ;
38170 PyObject
* obj3
= 0 ;
38171 char * kwnames
[] = {
38172 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38177 if (!SWIG_IsOK(res1
)) {
38178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38182 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38183 if (arg3
== NULL
) SWIG_fail
;
38186 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38187 if (!SWIG_IsOK(ecode4
)) {
38188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38190 arg4
= static_cast< int >(val4
);
38193 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38194 if (!SWIG_IsOK(ecode5
)) {
38195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38197 arg5
= static_cast< int >(val5
);
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38202 wxPyEndAllowThreads(__tstate
);
38203 if (PyErr_Occurred()) SWIG_fail
;
38205 resultobj
= SWIG_Py_Void();
38207 if (arg3
) delete [] arg3
;
38212 if (arg3
) delete [] arg3
;
38218 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38219 PyObject
*resultobj
= 0;
38220 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38222 wxPoint
*arg3
= (wxPoint
*) 0 ;
38223 int arg4
= (int) 0 ;
38224 int arg5
= (int) 0 ;
38225 int arg6
= (int) wxODDEVEN_RULE
;
38234 PyObject
* obj0
= 0 ;
38235 PyObject
* obj1
= 0 ;
38236 PyObject
* obj2
= 0 ;
38237 PyObject
* obj3
= 0 ;
38238 PyObject
* obj4
= 0 ;
38239 char * kwnames
[] = {
38240 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38245 if (!SWIG_IsOK(res1
)) {
38246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38250 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38251 if (arg3
== NULL
) SWIG_fail
;
38254 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38255 if (!SWIG_IsOK(ecode4
)) {
38256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38258 arg4
= static_cast< int >(val4
);
38261 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38262 if (!SWIG_IsOK(ecode5
)) {
38263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38265 arg5
= static_cast< int >(val5
);
38268 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38269 if (!SWIG_IsOK(ecode6
)) {
38270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38272 arg6
= static_cast< int >(val6
);
38275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38276 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38277 wxPyEndAllowThreads(__tstate
);
38278 if (PyErr_Occurred()) SWIG_fail
;
38280 resultobj
= SWIG_Py_Void();
38282 if (arg3
) delete [] arg3
;
38287 if (arg3
) delete [] arg3
;
38293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38294 PyObject
*resultobj
= 0;
38295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38296 wxString
*arg2
= 0 ;
38298 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38299 int arg5
= (int) -1 ;
38302 bool temp2
= false ;
38308 PyObject
* obj0
= 0 ;
38309 PyObject
* obj1
= 0 ;
38310 PyObject
* obj2
= 0 ;
38311 PyObject
* obj3
= 0 ;
38312 PyObject
* obj4
= 0 ;
38313 char * kwnames
[] = {
38314 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38319 if (!SWIG_IsOK(res1
)) {
38320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38322 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38324 arg2
= wxString_in_helper(obj1
);
38325 if (arg2
== NULL
) SWIG_fail
;
38330 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38334 if (!SWIG_IsOK(ecode4
)) {
38335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38337 arg4
= static_cast< int >(val4
);
38340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38341 if (!SWIG_IsOK(ecode5
)) {
38342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38344 arg5
= static_cast< int >(val5
);
38347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38348 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38349 wxPyEndAllowThreads(__tstate
);
38350 if (PyErr_Occurred()) SWIG_fail
;
38352 resultobj
= SWIG_Py_Void();
38367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38368 PyObject
*resultobj
= 0;
38369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38370 wxString
*arg2
= 0 ;
38371 wxBitmap
*arg3
= 0 ;
38373 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38374 int arg6
= (int) -1 ;
38377 bool temp2
= false ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 PyObject
* obj2
= 0 ;
38388 PyObject
* obj3
= 0 ;
38389 PyObject
* obj4
= 0 ;
38390 PyObject
* obj5
= 0 ;
38391 char * kwnames
[] = {
38392 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38397 if (!SWIG_IsOK(res1
)) {
38398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38402 arg2
= wxString_in_helper(obj1
);
38403 if (arg2
== NULL
) SWIG_fail
;
38406 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38407 if (!SWIG_IsOK(res3
)) {
38408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38413 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38416 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38419 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38420 if (!SWIG_IsOK(ecode5
)) {
38421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38423 arg5
= static_cast< int >(val5
);
38426 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38427 if (!SWIG_IsOK(ecode6
)) {
38428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38430 arg6
= static_cast< int >(val6
);
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_Py_Void();
38453 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38454 PyObject
*resultobj
= 0;
38455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38457 wxPoint
*arg3
= (wxPoint
*) 0 ;
38460 PyObject
* obj0
= 0 ;
38461 PyObject
* obj1
= 0 ;
38462 char * kwnames
[] = {
38463 (char *) "self",(char *) "points", NULL
38466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38468 if (!SWIG_IsOK(res1
)) {
38469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38473 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38474 if (arg3
== NULL
) SWIG_fail
;
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 (arg1
)->DrawSpline(arg2
,arg3
);
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38482 resultobj
= SWIG_Py_Void();
38484 if (arg3
) delete [] arg3
;
38489 if (arg3
) delete [] arg3
;
38495 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38496 PyObject
*resultobj
= 0;
38497 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38500 PyObject
*swig_obj
[1] ;
38502 if (!args
) SWIG_fail
;
38503 swig_obj
[0] = args
;
38504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38505 if (!SWIG_IsOK(res1
)) {
38506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38512 wxPyEndAllowThreads(__tstate
);
38513 if (PyErr_Occurred()) SWIG_fail
;
38515 resultobj
= SWIG_Py_Void();
38522 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38523 PyObject
*resultobj
= 0;
38524 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38530 PyObject
* obj0
= 0 ;
38531 PyObject
* obj1
= 0 ;
38532 char * kwnames
[] = {
38533 (char *) "self",(char *) "font", NULL
38536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38538 if (!SWIG_IsOK(res1
)) {
38539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38541 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38543 if (!SWIG_IsOK(res2
)) {
38544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38549 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38552 (arg1
)->SetFont((wxFont
const &)*arg2
);
38553 wxPyEndAllowThreads(__tstate
);
38554 if (PyErr_Occurred()) SWIG_fail
;
38556 resultobj
= SWIG_Py_Void();
38563 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38564 PyObject
*resultobj
= 0;
38565 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38571 PyObject
* obj0
= 0 ;
38572 PyObject
* obj1
= 0 ;
38573 char * kwnames
[] = {
38574 (char *) "self",(char *) "pen", NULL
38577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38579 if (!SWIG_IsOK(res1
)) {
38580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38582 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38584 if (!SWIG_IsOK(res2
)) {
38585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38590 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38593 (arg1
)->SetPen((wxPen
const &)*arg2
);
38594 wxPyEndAllowThreads(__tstate
);
38595 if (PyErr_Occurred()) SWIG_fail
;
38597 resultobj
= SWIG_Py_Void();
38604 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38605 PyObject
*resultobj
= 0;
38606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38607 wxBrush
*arg2
= 0 ;
38612 PyObject
* obj0
= 0 ;
38613 PyObject
* obj1
= 0 ;
38614 char * kwnames
[] = {
38615 (char *) "self",(char *) "brush", NULL
38618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38620 if (!SWIG_IsOK(res1
)) {
38621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38623 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38625 if (!SWIG_IsOK(res2
)) {
38626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38631 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38634 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38635 wxPyEndAllowThreads(__tstate
);
38636 if (PyErr_Occurred()) SWIG_fail
;
38638 resultobj
= SWIG_Py_Void();
38645 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38646 PyObject
*resultobj
= 0;
38647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38648 wxBrush
*arg2
= 0 ;
38653 PyObject
* obj0
= 0 ;
38654 PyObject
* obj1
= 0 ;
38655 char * kwnames
[] = {
38656 (char *) "self",(char *) "brush", NULL
38659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38661 if (!SWIG_IsOK(res1
)) {
38662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38664 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38666 if (!SWIG_IsOK(res2
)) {
38667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38672 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38676 wxPyEndAllowThreads(__tstate
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38679 resultobj
= SWIG_Py_Void();
38686 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38687 PyObject
*resultobj
= 0;
38688 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38694 PyObject
* obj0
= 0 ;
38695 PyObject
* obj1
= 0 ;
38696 char * kwnames
[] = {
38697 (char *) "self",(char *) "mode", NULL
38700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38702 if (!SWIG_IsOK(res1
)) {
38703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38707 if (!SWIG_IsOK(ecode2
)) {
38708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38710 arg2
= static_cast< int >(val2
);
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 (arg1
)->SetBackgroundMode(arg2
);
38714 wxPyEndAllowThreads(__tstate
);
38715 if (PyErr_Occurred()) SWIG_fail
;
38717 resultobj
= SWIG_Py_Void();
38724 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38725 PyObject
*resultobj
= 0;
38726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38727 wxPalette
*arg2
= 0 ;
38732 PyObject
* obj0
= 0 ;
38733 PyObject
* obj1
= 0 ;
38734 char * kwnames
[] = {
38735 (char *) "self",(char *) "palette", NULL
38738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38740 if (!SWIG_IsOK(res1
)) {
38741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38745 if (!SWIG_IsOK(res2
)) {
38746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38751 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38758 resultobj
= SWIG_Py_Void();
38765 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38766 PyObject
*resultobj
= 0;
38767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38768 wxColour
*arg2
= 0 ;
38772 PyObject
* obj0
= 0 ;
38773 PyObject
* obj1
= 0 ;
38774 char * kwnames
[] = {
38775 (char *) "self",(char *) "colour", NULL
38778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38780 if (!SWIG_IsOK(res1
)) {
38781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38783 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38790 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38791 wxPyEndAllowThreads(__tstate
);
38792 if (PyErr_Occurred()) SWIG_fail
;
38794 resultobj
= SWIG_Py_Void();
38801 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38802 PyObject
*resultobj
= 0;
38803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38804 wxColour
*arg2
= 0 ;
38808 PyObject
* obj0
= 0 ;
38809 PyObject
* obj1
= 0 ;
38810 char * kwnames
[] = {
38811 (char *) "self",(char *) "colour", NULL
38814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38816 if (!SWIG_IsOK(res1
)) {
38817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38822 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38826 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38827 wxPyEndAllowThreads(__tstate
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38830 resultobj
= SWIG_Py_Void();
38837 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38838 PyObject
*resultobj
= 0;
38839 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38845 PyObject
* obj0
= 0 ;
38846 PyObject
* obj1
= 0 ;
38847 char * kwnames
[] = {
38848 (char *) "self",(char *) "function", NULL
38851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38853 if (!SWIG_IsOK(res1
)) {
38854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38856 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38858 if (!SWIG_IsOK(ecode2
)) {
38859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38861 arg2
= static_cast< int >(val2
);
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 (arg1
)->SetLogicalFunction(arg2
);
38865 wxPyEndAllowThreads(__tstate
);
38866 if (PyErr_Occurred()) SWIG_fail
;
38868 resultobj
= SWIG_Py_Void();
38875 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38879 return SWIG_Py_Void();
38882 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38883 return SWIG_Python_InitShadowInstance(args
);
38886 static PyMethodDef SwigMethods
[] = {
38887 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38888 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38889 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38890 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38891 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38892 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38896 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38897 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38898 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38899 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38900 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38901 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38906 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38910 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38911 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38912 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38914 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38917 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38918 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38919 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38920 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38922 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38923 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38924 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38925 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38926 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38927 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38928 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38935 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38939 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38940 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38943 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38947 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38948 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38949 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38950 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38951 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38952 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38954 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38955 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38957 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38963 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38964 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38965 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38966 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38967 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38968 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38969 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38975 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38985 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38986 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38990 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38991 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38992 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38993 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38994 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38995 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38996 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38997 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38998 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38999 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39000 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39001 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39002 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39003 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39004 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39006 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39007 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39013 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39015 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39016 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39017 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39018 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39019 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39020 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39023 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39024 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39026 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39027 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39033 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39034 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39035 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39037 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39038 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39039 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39041 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39042 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39046 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39047 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39048 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39049 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39054 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39055 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39057 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39058 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39060 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39062 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39063 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39064 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39065 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39068 { (char *)"IconBundle_IsOk", (PyCFunction
)_wrap_IconBundle_IsOk
, METH_O
, NULL
},
39069 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction
) _wrap_IconBundle_GetIconOfExactSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"IconBundle_GetIconCount", (PyCFunction
)_wrap_IconBundle_GetIconCount
, METH_O
, NULL
},
39074 { (char *)"IconBundle_GetIconByIndex", (PyCFunction
) _wrap_IconBundle_GetIconByIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"IconBundle_IsEmpty", (PyCFunction
)_wrap_IconBundle_IsEmpty
, METH_O
, NULL
},
39076 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39077 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39078 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39080 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39083 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39084 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39085 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39090 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39091 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39097 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39101 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39112 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39115 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39116 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39118 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39119 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39120 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39121 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39122 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39123 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39124 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39125 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39126 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39127 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39128 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39129 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39130 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39131 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39132 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39133 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39134 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39136 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39137 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39138 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39139 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39140 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39141 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39142 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39151 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39152 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39154 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39155 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39156 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39157 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39158 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39159 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39160 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39161 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39162 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39164 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39165 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39166 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39169 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39170 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39171 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39174 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39180 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39185 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39186 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39188 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39194 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39197 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39198 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39199 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39200 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39201 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39202 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39203 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39204 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39205 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39206 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39207 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39208 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39209 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39221 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39222 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39223 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39225 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39226 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39228 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39229 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39230 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39231 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39235 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39236 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39238 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39239 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39240 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39241 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39242 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39243 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39244 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39245 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39246 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39248 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39251 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39252 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39253 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39254 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39255 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39256 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39257 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39258 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39268 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39269 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39270 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39272 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39276 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39277 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39278 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39279 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39280 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39281 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39287 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39288 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39289 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39341 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39343 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39344 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39345 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39352 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39353 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39354 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39355 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39356 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39361 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39362 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39363 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39364 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39373 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39374 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39375 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39376 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39377 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39378 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39379 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39380 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39381 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39382 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39383 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39384 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39387 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39389 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39391 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39393 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39394 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39397 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39398 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39402 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39404 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39407 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39408 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39409 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39410 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39411 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39412 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39413 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39423 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39424 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39425 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39427 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39428 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39429 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39431 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39432 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39433 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39434 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39435 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39436 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39437 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39438 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39441 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39442 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39443 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39445 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39446 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39448 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39449 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39451 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39452 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39457 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39458 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39459 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39460 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39461 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39463 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39464 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39465 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39467 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39468 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39471 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39474 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39475 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39477 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39480 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39481 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39482 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39484 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39485 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39487 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39488 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39489 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39490 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39491 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39493 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39494 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39495 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39497 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39498 { (char *)"SVGFileDC_swigregister", SVGFileDC_swigregister
, METH_VARARGS
, NULL
},
39499 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39501 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39502 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39503 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39504 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39505 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39506 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39507 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39508 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39509 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39510 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39511 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39512 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39513 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39514 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39515 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39516 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39517 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39518 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39521 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39522 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39524 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39530 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39531 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39532 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39533 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39534 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39535 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39537 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39538 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39539 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39546 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39549 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39550 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39551 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39552 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39553 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39554 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39557 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39564 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39565 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39568 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39569 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39570 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39577 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39578 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39579 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39580 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39598 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39599 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39600 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39601 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39602 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39603 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39606 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39613 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39614 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39615 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39616 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39618 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39619 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39620 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39621 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39622 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39623 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39624 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39625 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39626 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39627 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39628 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39629 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39631 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39639 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39641 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39643 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39644 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39645 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39646 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39647 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39648 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39654 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39655 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39656 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39657 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39658 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39659 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39661 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39663 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39665 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39666 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39667 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39672 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39673 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39674 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39675 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39676 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39677 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39678 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39679 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39680 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39681 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39682 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39683 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39692 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39693 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39695 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39696 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39697 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39698 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39699 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39700 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39701 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39702 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39703 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39704 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39705 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39706 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39707 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39708 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39709 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39710 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39711 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39712 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39713 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39714 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39715 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39716 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39717 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39718 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39720 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39722 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39723 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39724 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39725 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39738 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39739 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39740 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39742 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39743 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39744 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39745 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39746 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39747 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39748 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39749 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39802 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39812 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39813 { NULL
, NULL
, 0, NULL
}
39817 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39819 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39820 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39822 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39823 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39825 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39826 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39828 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39829 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39831 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39832 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39834 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39835 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39837 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39838 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39840 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39841 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39843 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39844 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39846 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39847 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39849 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39850 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39852 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39853 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39855 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39856 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39858 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39859 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39861 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39862 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39864 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39865 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39867 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39868 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39870 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39871 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39873 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39874 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39876 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39877 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39879 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39880 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39882 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39883 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39885 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39886 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39888 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39889 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39891 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39892 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39894 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39895 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39897 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39898 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39900 static void *_p_wxSVGFileDCTo_p_wxDC(void *x
) {
39901 return (void *)((wxDC
*) ((wxSVGFileDC
*) x
));
39903 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39904 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39906 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39907 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39909 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39910 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39912 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39913 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39915 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39916 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39918 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39919 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39921 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39922 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39924 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39925 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39927 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39928 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39930 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39931 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39933 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39934 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39936 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39937 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39939 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39940 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39942 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39943 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39945 static void *_p_wxPenTo_p_wxObject(void *x
) {
39946 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39948 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39949 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39951 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39952 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39954 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39955 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39957 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39958 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39960 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39963 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39964 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39966 static void *_p_wxIconTo_p_wxObject(void *x
) {
39967 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39969 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39970 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39972 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39973 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39975 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39976 return (void *)((wxObject
*) ((wxSizer
*) x
));
39978 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39979 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39981 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39984 static void *_p_wxEventTo_p_wxObject(void *x
) {
39985 return (void *)((wxObject
*) ((wxEvent
*) x
));
39987 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39988 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39990 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39991 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39993 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39994 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39996 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39997 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39999 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40000 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40002 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40003 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40005 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40006 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40008 static void *_p_wxDCTo_p_wxObject(void *x
) {
40009 return (void *)((wxObject
*) ((wxDC
*) x
));
40011 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40012 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40014 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40015 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40017 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40018 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40020 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40021 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40023 static void *_p_wxControlTo_p_wxObject(void *x
) {
40024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40026 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40027 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40029 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40030 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40032 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40033 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40035 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40036 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40038 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40039 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40041 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40042 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40044 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40045 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40047 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40048 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40050 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40051 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40053 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40054 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40056 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40057 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40059 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40060 return (void *)((wxObject
*) ((wxEffects
*) x
));
40062 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40063 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40065 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40068 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40069 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40071 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40072 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40074 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40075 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40077 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40078 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40080 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40083 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40084 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40086 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40089 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40090 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40092 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40093 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40095 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40096 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40098 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40099 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40101 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40102 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40104 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40105 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40107 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40110 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40111 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40113 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40114 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40116 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40119 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40122 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40123 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40125 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40126 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40128 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40129 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40131 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40132 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40134 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40135 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40137 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40138 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40140 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40141 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40143 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40144 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40146 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40149 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40150 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40152 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40153 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40155 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40156 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40158 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40159 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40161 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40162 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40164 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40165 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40167 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40168 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40170 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40171 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40173 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40174 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40176 static void *_p_wxImageTo_p_wxObject(void *x
) {
40177 return (void *)((wxObject
*) ((wxImage
*) x
));
40179 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40180 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40182 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40183 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40185 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40186 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40188 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40189 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40191 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40192 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40194 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40195 return (void *)((wxObject
*) ((wxImageList
*) x
));
40197 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40198 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40200 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40201 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40203 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40204 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40206 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40207 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40209 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40210 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40212 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40213 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40215 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40216 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40218 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40219 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40221 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40222 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40224 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40225 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40227 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40230 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40231 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40233 static void *_p_wxSVGFileDCTo_p_wxObject(void *x
) {
40234 return (void *)((wxObject
*) (wxDC
*) ((wxSVGFileDC
*) x
));
40236 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40237 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40239 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40240 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40242 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40243 return (void *)((wxObject
*) ((wxMask
*) x
));
40245 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40246 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40248 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40251 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40252 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40254 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40255 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40257 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40258 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40260 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40261 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40263 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40264 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40266 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40269 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40270 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40272 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40273 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40275 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40276 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40278 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40281 static void *_p_wxFontTo_p_wxObject(void *x
) {
40282 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40284 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40285 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40287 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40288 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40290 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40291 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40293 static void *_p_wxColourTo_p_wxObject(void *x
) {
40294 return (void *)((wxObject
*) ((wxColour
*) x
));
40296 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40299 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40300 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40302 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40303 return (void *)((wxWindow
*) ((wxControl
*) x
));
40305 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40306 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40308 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40309 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40311 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40312 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40314 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40315 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40317 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40318 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40319 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40320 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};
40321 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40322 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40323 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40324 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40325 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40326 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40327 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40328 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40329 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40330 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40331 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40332 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40333 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40334 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40335 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40336 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40337 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40338 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40339 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40340 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40341 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40342 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40343 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40344 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40345 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40346 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40347 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40348 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40349 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40350 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40351 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40352 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40353 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40354 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40355 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40356 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40357 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40358 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40359 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40360 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40361 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40362 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40363 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40364 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40365 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40366 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40367 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40368 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40369 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40370 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40371 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40372 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40373 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40374 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40375 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40376 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40377 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40378 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40379 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40380 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40381 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40382 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40383 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40384 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40385 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40386 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40387 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40388 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40389 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40390 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40391 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40392 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40393 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40394 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40395 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40396 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40397 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40398 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40399 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40400 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40401 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40402 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40403 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40404 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40405 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40406 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40407 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40408 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40409 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40410 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40411 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40412 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40413 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40414 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40415 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40416 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40417 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40418 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40419 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40420 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40421 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40422 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40423 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40424 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40425 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40426 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40427 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40428 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40429 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40430 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40431 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40432 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40433 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40434 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40435 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40436 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40437 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40438 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40439 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40440 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40441 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40442 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40443 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40444 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40445 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40446 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40447 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40448 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40449 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40450 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40451 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40452 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40453 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40454 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40455 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40456 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40457 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40458 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40459 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40460 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40461 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40462 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40463 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40464 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40465 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40466 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40467 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40468 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40469 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40470 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40471 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40472 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40473 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40474 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40475 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40476 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40477 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40478 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40479 static swig_type_info _swigt__p_wxSVGFileDC
= {"_p_wxSVGFileDC", "wxSVGFileDC *", 0, 0, (void*)0, 0};
40480 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40481 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40482 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40483 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40484 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40485 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40486 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40488 static swig_type_info
*swig_type_initial
[] = {
40492 &_swigt__p_form_ops_t
,
40494 &_swigt__p_unsigned_char
,
40495 &_swigt__p_unsigned_int
,
40496 &_swigt__p_unsigned_long
,
40498 &_swigt__p_wxANIHandler
,
40499 &_swigt__p_wxAcceleratorTable
,
40500 &_swigt__p_wxActivateEvent
,
40501 &_swigt__p_wxAlphaPixelData
,
40502 &_swigt__p_wxAlphaPixelData_Accessor
,
40503 &_swigt__p_wxAutoBufferedPaintDC
,
40504 &_swigt__p_wxBMPHandler
,
40505 &_swigt__p_wxBitmap
,
40506 &_swigt__p_wxBoxSizer
,
40507 &_swigt__p_wxBrush
,
40508 &_swigt__p_wxBrushList
,
40509 &_swigt__p_wxBufferedDC
,
40510 &_swigt__p_wxBufferedPaintDC
,
40511 &_swigt__p_wxCURHandler
,
40512 &_swigt__p_wxChildFocusEvent
,
40513 &_swigt__p_wxClientDC
,
40514 &_swigt__p_wxClipboardTextEvent
,
40515 &_swigt__p_wxCloseEvent
,
40516 &_swigt__p_wxColour
,
40517 &_swigt__p_wxColourDatabase
,
40518 &_swigt__p_wxCommandEvent
,
40519 &_swigt__p_wxContextMenuEvent
,
40520 &_swigt__p_wxControl
,
40521 &_swigt__p_wxControlWithItems
,
40522 &_swigt__p_wxCursor
,
40524 &_swigt__p_wxDCBrushChanger
,
40525 &_swigt__p_wxDCClipper
,
40526 &_swigt__p_wxDCOverlay
,
40527 &_swigt__p_wxDCPenChanger
,
40528 &_swigt__p_wxDCTextColourChanger
,
40530 &_swigt__p_wxDateEvent
,
40531 &_swigt__p_wxDisplayChangedEvent
,
40532 &_swigt__p_wxDropFilesEvent
,
40533 &_swigt__p_wxDuplexMode
,
40534 &_swigt__p_wxEffects
,
40535 &_swigt__p_wxEncodingConverter
,
40536 &_swigt__p_wxEraseEvent
,
40537 &_swigt__p_wxEvent
,
40538 &_swigt__p_wxEventBlocker
,
40539 &_swigt__p_wxEvtHandler
,
40540 &_swigt__p_wxFSFile
,
40541 &_swigt__p_wxFileSystem
,
40542 &_swigt__p_wxFlexGridSizer
,
40543 &_swigt__p_wxFocusEvent
,
40545 &_swigt__p_wxFontList
,
40546 &_swigt__p_wxFontMapper
,
40547 &_swigt__p_wxGBSizerItem
,
40549 &_swigt__p_wxGDIObjListBase
,
40550 &_swigt__p_wxGDIObject
,
40551 &_swigt__p_wxGIFHandler
,
40552 &_swigt__p_wxGraphicsBrush
,
40553 &_swigt__p_wxGraphicsContext
,
40554 &_swigt__p_wxGraphicsFont
,
40555 &_swigt__p_wxGraphicsMatrix
,
40556 &_swigt__p_wxGraphicsObject
,
40557 &_swigt__p_wxGraphicsPath
,
40558 &_swigt__p_wxGraphicsPen
,
40559 &_swigt__p_wxGraphicsRenderer
,
40560 &_swigt__p_wxGridBagSizer
,
40561 &_swigt__p_wxGridSizer
,
40562 &_swigt__p_wxHeaderButtonParams
,
40563 &_swigt__p_wxICOHandler
,
40565 &_swigt__p_wxIconBundle
,
40566 &_swigt__p_wxIconLocation
,
40567 &_swigt__p_wxIconizeEvent
,
40568 &_swigt__p_wxIdleEvent
,
40569 &_swigt__p_wxImage
,
40570 &_swigt__p_wxImageHandler
,
40571 &_swigt__p_wxImageList
,
40572 &_swigt__p_wxIndividualLayoutConstraint
,
40573 &_swigt__p_wxInitDialogEvent
,
40574 &_swigt__p_wxJPEGHandler
,
40575 &_swigt__p_wxKeyEvent
,
40576 &_swigt__p_wxLanguageInfo
,
40577 &_swigt__p_wxLayoutConstraints
,
40578 &_swigt__p_wxLocale
,
40580 &_swigt__p_wxMaximizeEvent
,
40581 &_swigt__p_wxMemoryDC
,
40583 &_swigt__p_wxMenuBar
,
40584 &_swigt__p_wxMenuEvent
,
40585 &_swigt__p_wxMenuItem
,
40586 &_swigt__p_wxMetaFile
,
40587 &_swigt__p_wxMetaFileDC
,
40588 &_swigt__p_wxMirrorDC
,
40589 &_swigt__p_wxMouseCaptureChangedEvent
,
40590 &_swigt__p_wxMouseCaptureLostEvent
,
40591 &_swigt__p_wxMouseEvent
,
40592 &_swigt__p_wxMoveEvent
,
40593 &_swigt__p_wxNativeEncodingInfo
,
40594 &_swigt__p_wxNativeFontInfo
,
40595 &_swigt__p_wxNativePixelData
,
40596 &_swigt__p_wxNativePixelData_Accessor
,
40597 &_swigt__p_wxNavigationKeyEvent
,
40598 &_swigt__p_wxNcPaintEvent
,
40599 &_swigt__p_wxNotifyEvent
,
40600 &_swigt__p_wxObject
,
40601 &_swigt__p_wxOverlay
,
40602 &_swigt__p_wxPCXHandler
,
40603 &_swigt__p_wxPNGHandler
,
40604 &_swigt__p_wxPNMHandler
,
40605 &_swigt__p_wxPaintDC
,
40606 &_swigt__p_wxPaintEvent
,
40607 &_swigt__p_wxPalette
,
40608 &_swigt__p_wxPaletteChangedEvent
,
40609 &_swigt__p_wxPaperSize
,
40611 &_swigt__p_wxPenList
,
40612 &_swigt__p_wxPixelDataBase
,
40613 &_swigt__p_wxPoint
,
40614 &_swigt__p_wxPoint2D
,
40615 &_swigt__p_wxPostScriptDC
,
40616 &_swigt__p_wxPrintData
,
40617 &_swigt__p_wxPrinterDC
,
40618 &_swigt__p_wxPseudoDC
,
40619 &_swigt__p_wxPyApp
,
40620 &_swigt__p_wxPyCommandEvent
,
40621 &_swigt__p_wxPyEvent
,
40622 &_swigt__p_wxPyFontEnumerator
,
40623 &_swigt__p_wxPyImageHandler
,
40624 &_swigt__p_wxPyLocale
,
40625 &_swigt__p_wxPySizer
,
40626 &_swigt__p_wxPyValidator
,
40627 &_swigt__p_wxQueryNewPaletteEvent
,
40629 &_swigt__p_wxRect2D
,
40630 &_swigt__p_wxRegion
,
40631 &_swigt__p_wxRegionIterator
,
40632 &_swigt__p_wxRendererNative
,
40633 &_swigt__p_wxRendererVersion
,
40634 &_swigt__p_wxSVGFileDC
,
40635 &_swigt__p_wxScreenDC
,
40636 &_swigt__p_wxScrollEvent
,
40637 &_swigt__p_wxScrollWinEvent
,
40638 &_swigt__p_wxSetCursorEvent
,
40639 &_swigt__p_wxShowEvent
,
40641 &_swigt__p_wxSizeEvent
,
40642 &_swigt__p_wxSizer
,
40643 &_swigt__p_wxSizerItem
,
40644 &_swigt__p_wxSplitterRenderParams
,
40645 &_swigt__p_wxStaticBoxSizer
,
40646 &_swigt__p_wxStdDialogButtonSizer
,
40647 &_swigt__p_wxStockGDI
,
40648 &_swigt__p_wxString
,
40649 &_swigt__p_wxSysColourChangedEvent
,
40650 &_swigt__p_wxTGAHandler
,
40651 &_swigt__p_wxTIFFHandler
,
40652 &_swigt__p_wxUpdateUIEvent
,
40653 &_swigt__p_wxValidator
,
40654 &_swigt__p_wxWindow
,
40655 &_swigt__p_wxWindowCreateEvent
,
40656 &_swigt__p_wxWindowDC
,
40657 &_swigt__p_wxWindowDestroyEvent
,
40658 &_swigt__p_wxXPMHandler
,
40661 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40662 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40663 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40664 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40665 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40666 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40667 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40668 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40669 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40670 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40671 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40672 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40673 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40674 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40675 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40676 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}};
40677 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40678 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}};
40679 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40680 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40681 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40682 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxSVGFileDC
, _p_wxSVGFileDCTo_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}};
40683 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40684 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40685 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40686 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40687 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40688 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40689 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40690 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40691 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40692 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40693 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40694 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40695 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40696 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}};
40697 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}};
40698 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40699 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40700 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40701 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40702 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}};
40703 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40704 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40705 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40706 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40707 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40708 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40709 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40710 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40711 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40712 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40713 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}};
40714 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40715 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}};
40716 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40717 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40718 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40719 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40720 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40721 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40722 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40723 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40724 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40725 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40726 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40727 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40728 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40729 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40730 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40731 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40732 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40733 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40734 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40735 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40736 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40737 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40738 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40739 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40740 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40741 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40742 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40743 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40744 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40745 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40746 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40747 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40748 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40749 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40750 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40751 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40752 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40753 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40754 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40755 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40756 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40757 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40758 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40759 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40760 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40761 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40762 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40763 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40764 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40765 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40766 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40767 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40768 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40769 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40770 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40771 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40772 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40773 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40774 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40775 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40776 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40777 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40778 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40779 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40780 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40781 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40782 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40783 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40784 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40785 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40786 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40787 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40788 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40789 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40790 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40791 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40792 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40793 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40794 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40795 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40796 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40797 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40798 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40799 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40800 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40801 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_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_wxSVGFileDC
, _p_wxSVGFileDCTo_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}};
40802 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40803 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40804 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40805 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40806 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40807 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40808 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}};
40809 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40810 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40811 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40812 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40813 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40814 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40815 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40816 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40817 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40818 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40819 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40820 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40821 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40822 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40823 static swig_cast_info _swigc__p_wxSVGFileDC
[] = { {&_swigt__p_wxSVGFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40824 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40825 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40826 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40827 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40828 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40829 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}};
40830 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}};
40832 static swig_cast_info
*swig_cast_initial
[] = {
40836 _swigc__p_form_ops_t
,
40838 _swigc__p_unsigned_char
,
40839 _swigc__p_unsigned_int
,
40840 _swigc__p_unsigned_long
,
40842 _swigc__p_wxANIHandler
,
40843 _swigc__p_wxAcceleratorTable
,
40844 _swigc__p_wxActivateEvent
,
40845 _swigc__p_wxAlphaPixelData
,
40846 _swigc__p_wxAlphaPixelData_Accessor
,
40847 _swigc__p_wxAutoBufferedPaintDC
,
40848 _swigc__p_wxBMPHandler
,
40849 _swigc__p_wxBitmap
,
40850 _swigc__p_wxBoxSizer
,
40852 _swigc__p_wxBrushList
,
40853 _swigc__p_wxBufferedDC
,
40854 _swigc__p_wxBufferedPaintDC
,
40855 _swigc__p_wxCURHandler
,
40856 _swigc__p_wxChildFocusEvent
,
40857 _swigc__p_wxClientDC
,
40858 _swigc__p_wxClipboardTextEvent
,
40859 _swigc__p_wxCloseEvent
,
40860 _swigc__p_wxColour
,
40861 _swigc__p_wxColourDatabase
,
40862 _swigc__p_wxCommandEvent
,
40863 _swigc__p_wxContextMenuEvent
,
40864 _swigc__p_wxControl
,
40865 _swigc__p_wxControlWithItems
,
40866 _swigc__p_wxCursor
,
40868 _swigc__p_wxDCBrushChanger
,
40869 _swigc__p_wxDCClipper
,
40870 _swigc__p_wxDCOverlay
,
40871 _swigc__p_wxDCPenChanger
,
40872 _swigc__p_wxDCTextColourChanger
,
40874 _swigc__p_wxDateEvent
,
40875 _swigc__p_wxDisplayChangedEvent
,
40876 _swigc__p_wxDropFilesEvent
,
40877 _swigc__p_wxDuplexMode
,
40878 _swigc__p_wxEffects
,
40879 _swigc__p_wxEncodingConverter
,
40880 _swigc__p_wxEraseEvent
,
40882 _swigc__p_wxEventBlocker
,
40883 _swigc__p_wxEvtHandler
,
40884 _swigc__p_wxFSFile
,
40885 _swigc__p_wxFileSystem
,
40886 _swigc__p_wxFlexGridSizer
,
40887 _swigc__p_wxFocusEvent
,
40889 _swigc__p_wxFontList
,
40890 _swigc__p_wxFontMapper
,
40891 _swigc__p_wxGBSizerItem
,
40893 _swigc__p_wxGDIObjListBase
,
40894 _swigc__p_wxGDIObject
,
40895 _swigc__p_wxGIFHandler
,
40896 _swigc__p_wxGraphicsBrush
,
40897 _swigc__p_wxGraphicsContext
,
40898 _swigc__p_wxGraphicsFont
,
40899 _swigc__p_wxGraphicsMatrix
,
40900 _swigc__p_wxGraphicsObject
,
40901 _swigc__p_wxGraphicsPath
,
40902 _swigc__p_wxGraphicsPen
,
40903 _swigc__p_wxGraphicsRenderer
,
40904 _swigc__p_wxGridBagSizer
,
40905 _swigc__p_wxGridSizer
,
40906 _swigc__p_wxHeaderButtonParams
,
40907 _swigc__p_wxICOHandler
,
40909 _swigc__p_wxIconBundle
,
40910 _swigc__p_wxIconLocation
,
40911 _swigc__p_wxIconizeEvent
,
40912 _swigc__p_wxIdleEvent
,
40914 _swigc__p_wxImageHandler
,
40915 _swigc__p_wxImageList
,
40916 _swigc__p_wxIndividualLayoutConstraint
,
40917 _swigc__p_wxInitDialogEvent
,
40918 _swigc__p_wxJPEGHandler
,
40919 _swigc__p_wxKeyEvent
,
40920 _swigc__p_wxLanguageInfo
,
40921 _swigc__p_wxLayoutConstraints
,
40922 _swigc__p_wxLocale
,
40924 _swigc__p_wxMaximizeEvent
,
40925 _swigc__p_wxMemoryDC
,
40927 _swigc__p_wxMenuBar
,
40928 _swigc__p_wxMenuEvent
,
40929 _swigc__p_wxMenuItem
,
40930 _swigc__p_wxMetaFile
,
40931 _swigc__p_wxMetaFileDC
,
40932 _swigc__p_wxMirrorDC
,
40933 _swigc__p_wxMouseCaptureChangedEvent
,
40934 _swigc__p_wxMouseCaptureLostEvent
,
40935 _swigc__p_wxMouseEvent
,
40936 _swigc__p_wxMoveEvent
,
40937 _swigc__p_wxNativeEncodingInfo
,
40938 _swigc__p_wxNativeFontInfo
,
40939 _swigc__p_wxNativePixelData
,
40940 _swigc__p_wxNativePixelData_Accessor
,
40941 _swigc__p_wxNavigationKeyEvent
,
40942 _swigc__p_wxNcPaintEvent
,
40943 _swigc__p_wxNotifyEvent
,
40944 _swigc__p_wxObject
,
40945 _swigc__p_wxOverlay
,
40946 _swigc__p_wxPCXHandler
,
40947 _swigc__p_wxPNGHandler
,
40948 _swigc__p_wxPNMHandler
,
40949 _swigc__p_wxPaintDC
,
40950 _swigc__p_wxPaintEvent
,
40951 _swigc__p_wxPalette
,
40952 _swigc__p_wxPaletteChangedEvent
,
40953 _swigc__p_wxPaperSize
,
40955 _swigc__p_wxPenList
,
40956 _swigc__p_wxPixelDataBase
,
40958 _swigc__p_wxPoint2D
,
40959 _swigc__p_wxPostScriptDC
,
40960 _swigc__p_wxPrintData
,
40961 _swigc__p_wxPrinterDC
,
40962 _swigc__p_wxPseudoDC
,
40964 _swigc__p_wxPyCommandEvent
,
40965 _swigc__p_wxPyEvent
,
40966 _swigc__p_wxPyFontEnumerator
,
40967 _swigc__p_wxPyImageHandler
,
40968 _swigc__p_wxPyLocale
,
40969 _swigc__p_wxPySizer
,
40970 _swigc__p_wxPyValidator
,
40971 _swigc__p_wxQueryNewPaletteEvent
,
40973 _swigc__p_wxRect2D
,
40974 _swigc__p_wxRegion
,
40975 _swigc__p_wxRegionIterator
,
40976 _swigc__p_wxRendererNative
,
40977 _swigc__p_wxRendererVersion
,
40978 _swigc__p_wxSVGFileDC
,
40979 _swigc__p_wxScreenDC
,
40980 _swigc__p_wxScrollEvent
,
40981 _swigc__p_wxScrollWinEvent
,
40982 _swigc__p_wxSetCursorEvent
,
40983 _swigc__p_wxShowEvent
,
40985 _swigc__p_wxSizeEvent
,
40987 _swigc__p_wxSizerItem
,
40988 _swigc__p_wxSplitterRenderParams
,
40989 _swigc__p_wxStaticBoxSizer
,
40990 _swigc__p_wxStdDialogButtonSizer
,
40991 _swigc__p_wxStockGDI
,
40992 _swigc__p_wxString
,
40993 _swigc__p_wxSysColourChangedEvent
,
40994 _swigc__p_wxTGAHandler
,
40995 _swigc__p_wxTIFFHandler
,
40996 _swigc__p_wxUpdateUIEvent
,
40997 _swigc__p_wxValidator
,
40998 _swigc__p_wxWindow
,
40999 _swigc__p_wxWindowCreateEvent
,
41000 _swigc__p_wxWindowDC
,
41001 _swigc__p_wxWindowDestroyEvent
,
41002 _swigc__p_wxXPMHandler
,
41006 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41008 static swig_const_info swig_const_table
[] = {
41009 {0, 0, 0, 0.0, 0, 0}};
41014 /* -----------------------------------------------------------------------------
41015 * Type initialization:
41016 * This problem is tough by the requirement that no dynamic
41017 * memory is used. Also, since swig_type_info structures store pointers to
41018 * swig_cast_info structures and swig_cast_info structures store pointers back
41019 * to swig_type_info structures, we need some lookup code at initialization.
41020 * The idea is that swig generates all the structures that are needed.
41021 * The runtime then collects these partially filled structures.
41022 * The SWIG_InitializeModule function takes these initial arrays out of
41023 * swig_module, and does all the lookup, filling in the swig_module.types
41024 * array with the correct data and linking the correct swig_cast_info
41025 * structures together.
41027 * The generated swig_type_info structures are assigned staticly to an initial
41028 * array. We just loop though that array, and handle each type individually.
41029 * First we lookup if this type has been already loaded, and if so, use the
41030 * loaded structure instead of the generated one. Then we have to fill in the
41031 * cast linked list. The cast data is initially stored in something like a
41032 * two-dimensional array. Each row corresponds to a type (there are the same
41033 * number of rows as there are in the swig_type_initial array). Each entry in
41034 * a column is one of the swig_cast_info structures for that type.
41035 * The cast_initial array is actually an array of arrays, because each row has
41036 * a variable number of columns. So to actually build the cast linked list,
41037 * we find the array of casts associated with the type, and loop through it
41038 * adding the casts to the list. The one last trick we need to do is making
41039 * sure the type pointer in the swig_cast_info struct is correct.
41041 * First off, we lookup the cast->type name to see if it is already loaded.
41042 * There are three cases to handle:
41043 * 1) If the cast->type has already been loaded AND the type we are adding
41044 * casting info to has not been loaded (it is in this module), THEN we
41045 * replace the cast->type pointer with the type pointer that has already
41047 * 2) If BOTH types (the one we are adding casting info to, and the
41048 * cast->type) are loaded, THEN the cast info has already been loaded by
41049 * the previous module so we just ignore it.
41050 * 3) Finally, if cast->type has not already been loaded, then we add that
41051 * swig_cast_info to the linked list (because the cast->type) pointer will
41053 * ----------------------------------------------------------------------------- */
41063 #define SWIGRUNTIME_DEBUG
41067 SWIG_InitializeModule(void *clientdata
) {
41069 swig_module_info
*module_head
;
41070 static int init_run
= 0;
41072 clientdata
= clientdata
;
41074 if (init_run
) return;
41077 /* Initialize the swig_module */
41078 swig_module
.type_initial
= swig_type_initial
;
41079 swig_module
.cast_initial
= swig_cast_initial
;
41081 /* Try and load any already created modules */
41082 module_head
= SWIG_GetModule(clientdata
);
41084 swig_module
.next
= module_head
->next
;
41085 module_head
->next
= &swig_module
;
41087 /* This is the first module loaded */
41088 swig_module
.next
= &swig_module
;
41089 SWIG_SetModule(clientdata
, &swig_module
);
41092 /* Now work on filling in swig_module.types */
41093 #ifdef SWIGRUNTIME_DEBUG
41094 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41096 for (i
= 0; i
< swig_module
.size
; ++i
) {
41097 swig_type_info
*type
= 0;
41098 swig_type_info
*ret
;
41099 swig_cast_info
*cast
;
41101 #ifdef SWIGRUNTIME_DEBUG
41102 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41105 /* if there is another module already loaded */
41106 if (swig_module
.next
!= &swig_module
) {
41107 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41110 /* Overwrite clientdata field */
41111 #ifdef SWIGRUNTIME_DEBUG
41112 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41114 if (swig_module
.type_initial
[i
]->clientdata
) {
41115 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41116 #ifdef SWIGRUNTIME_DEBUG
41117 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41121 type
= swig_module
.type_initial
[i
];
41124 /* Insert casting types */
41125 cast
= swig_module
.cast_initial
[i
];
41126 while (cast
->type
) {
41127 /* Don't need to add information already in the list */
41129 #ifdef SWIGRUNTIME_DEBUG
41130 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41132 if (swig_module
.next
!= &swig_module
) {
41133 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41134 #ifdef SWIGRUNTIME_DEBUG
41135 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41139 if (type
== swig_module
.type_initial
[i
]) {
41140 #ifdef SWIGRUNTIME_DEBUG
41141 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41146 /* Check for casting already in the list */
41147 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41148 #ifdef SWIGRUNTIME_DEBUG
41149 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41151 if (!ocast
) ret
= 0;
41156 #ifdef SWIGRUNTIME_DEBUG
41157 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41160 type
->cast
->prev
= cast
;
41161 cast
->next
= type
->cast
;
41167 /* Set entry in modules->types array equal to the type */
41168 swig_module
.types
[i
] = type
;
41170 swig_module
.types
[i
] = 0;
41172 #ifdef SWIGRUNTIME_DEBUG
41173 printf("**** SWIG_InitializeModule: Cast List ******\n");
41174 for (i
= 0; i
< swig_module
.size
; ++i
) {
41176 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41177 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41178 while (cast
->type
) {
41179 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41183 printf("---- Total casts: %d\n",j
);
41185 printf("**** SWIG_InitializeModule: Cast List ******\n");
41189 /* This function will propagate the clientdata field of type to
41190 * any new swig_type_info structures that have been added into the list
41191 * of equivalent types. It is like calling
41192 * SWIG_TypeClientData(type, clientdata) a second time.
41195 SWIG_PropagateClientData(void) {
41197 swig_cast_info
*equiv
;
41198 static int init_run
= 0;
41200 if (init_run
) return;
41203 for (i
= 0; i
< swig_module
.size
; i
++) {
41204 if (swig_module
.types
[i
]->clientdata
) {
41205 equiv
= swig_module
.types
[i
]->cast
;
41207 if (!equiv
->converter
) {
41208 if (equiv
->type
&& !equiv
->type
->clientdata
)
41209 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41211 equiv
= equiv
->next
;
41231 /* Python-specific SWIG API */
41232 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41233 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41234 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41236 /* -----------------------------------------------------------------------------
41237 * global variable support code.
41238 * ----------------------------------------------------------------------------- */
41240 typedef struct swig_globalvar
{
41241 char *name
; /* Name of global variable */
41242 PyObject
*(*get_attr
)(void); /* Return the current value */
41243 int (*set_attr
)(PyObject
*); /* Set the value */
41244 struct swig_globalvar
*next
;
41247 typedef struct swig_varlinkobject
{
41249 swig_globalvar
*vars
;
41250 } swig_varlinkobject
;
41252 SWIGINTERN PyObject
*
41253 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41254 return PyString_FromString("<Swig global variables>");
41257 SWIGINTERN PyObject
*
41258 swig_varlink_str(swig_varlinkobject
*v
) {
41259 PyObject
*str
= PyString_FromString("(");
41260 swig_globalvar
*var
;
41261 for (var
= v
->vars
; var
; var
=var
->next
) {
41262 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41263 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41265 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41270 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41271 PyObject
*str
= swig_varlink_str(v
);
41272 fprintf(fp
,"Swig global variables ");
41273 fprintf(fp
,"%s\n", PyString_AsString(str
));
41279 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41280 swig_globalvar
*var
= v
->vars
;
41282 swig_globalvar
*n
= var
->next
;
41289 SWIGINTERN PyObject
*
41290 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41291 PyObject
*res
= NULL
;
41292 swig_globalvar
*var
= v
->vars
;
41294 if (strcmp(var
->name
,n
) == 0) {
41295 res
= (*var
->get_attr
)();
41300 if (res
== NULL
&& !PyErr_Occurred()) {
41301 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41307 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41309 swig_globalvar
*var
= v
->vars
;
41311 if (strcmp(var
->name
,n
) == 0) {
41312 res
= (*var
->set_attr
)(p
);
41317 if (res
== 1 && !PyErr_Occurred()) {
41318 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41323 SWIGINTERN PyTypeObject
*
41324 swig_varlink_type(void) {
41325 static char varlink__doc__
[] = "Swig var link object";
41326 static PyTypeObject varlink_type
;
41327 static int type_init
= 0;
41329 const PyTypeObject tmp
41331 PyObject_HEAD_INIT(NULL
)
41332 0, /* Number of items in variable part (ob_size) */
41333 (char *)"swigvarlink", /* Type name (tp_name) */
41334 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41335 0, /* Itemsize (tp_itemsize) */
41336 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41337 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41338 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41339 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41340 0, /* tp_compare */
41341 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41342 0, /* tp_as_number */
41343 0, /* tp_as_sequence */
41344 0, /* tp_as_mapping */
41347 (reprfunc
)swig_varlink_str
, /* tp_str */
41348 0, /* tp_getattro */
41349 0, /* tp_setattro */
41350 0, /* tp_as_buffer */
41352 varlink__doc__
, /* tp_doc */
41353 0, /* tp_traverse */
41355 0, /* tp_richcompare */
41356 0, /* tp_weaklistoffset */
41357 #if PY_VERSION_HEX >= 0x02020000
41358 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41360 #if PY_VERSION_HEX >= 0x02030000
41363 #ifdef COUNT_ALLOCS
41364 0,0,0,0 /* tp_alloc -> tp_next */
41367 varlink_type
= tmp
;
41368 varlink_type
.ob_type
= &PyType_Type
;
41371 return &varlink_type
;
41374 /* Create a variable linking object for use later */
41375 SWIGINTERN PyObject
*
41376 SWIG_Python_newvarlink(void) {
41377 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41381 return ((PyObject
*) result
);
41385 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41386 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41387 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41389 size_t size
= strlen(name
)+1;
41390 gv
->name
= (char *)malloc(size
);
41392 strncpy(gv
->name
,name
,size
);
41393 gv
->get_attr
= get_attr
;
41394 gv
->set_attr
= set_attr
;
41395 gv
->next
= v
->vars
;
41401 SWIGINTERN PyObject
*
41403 static PyObject
*_SWIG_globals
= 0;
41404 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41405 return _SWIG_globals
;
41408 /* -----------------------------------------------------------------------------
41409 * constants/methods manipulation
41410 * ----------------------------------------------------------------------------- */
41412 /* Install Constants */
41414 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41417 for (i
= 0; constants
[i
].type
; ++i
) {
41418 switch(constants
[i
].type
) {
41419 case SWIG_PY_POINTER
:
41420 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41422 case SWIG_PY_BINARY
:
41423 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41430 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41436 /* -----------------------------------------------------------------------------*/
41437 /* Fix SwigMethods to carry the callback ptrs when needed */
41438 /* -----------------------------------------------------------------------------*/
41441 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41442 swig_const_info
*const_table
,
41443 swig_type_info
**types
,
41444 swig_type_info
**types_initial
) {
41446 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41447 const char *c
= methods
[i
].ml_doc
;
41448 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41450 swig_const_info
*ci
= 0;
41451 const char *name
= c
+ 10;
41452 for (j
= 0; const_table
[j
].type
; ++j
) {
41453 if (strncmp(const_table
[j
].name
, name
,
41454 strlen(const_table
[j
].name
)) == 0) {
41455 ci
= &(const_table
[j
]);
41460 size_t shift
= (ci
->ptype
) - types
;
41461 swig_type_info
*ty
= types_initial
[shift
];
41462 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41463 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41464 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41467 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41469 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41471 strncpy(buff
, "swig_ptr: ", 10);
41473 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41474 methods
[i
].ml_doc
= ndoc
;
41486 /* -----------------------------------------------------------------------------*
41487 * Partial Init method
41488 * -----------------------------------------------------------------------------*/
41493 SWIGEXPORT
void SWIG_init(void) {
41496 /* Fix SwigMethods to carry the callback ptrs when needed */
41497 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41499 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41500 d
= PyModule_GetDict(m
);
41502 SWIG_InitializeModule(0);
41503 SWIG_InstallConstants(d
,swig_const_table
);
41506 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41507 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41508 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41509 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41510 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41511 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41512 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41513 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41514 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41515 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41516 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41517 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41518 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41519 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41520 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41521 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41522 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41523 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41524 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41525 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41526 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41527 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41528 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41529 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41530 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41531 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41532 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41533 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41534 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41535 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41536 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41537 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41538 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41539 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41540 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41541 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41542 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41543 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41544 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41545 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41546 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41547 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41548 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41549 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41550 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41551 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41552 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41553 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41554 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41555 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41556 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41557 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41558 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41559 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41560 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41561 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41562 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41563 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41564 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41565 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41566 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41567 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41568 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41569 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41570 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41571 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41572 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41573 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41574 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41575 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41576 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41577 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41578 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41579 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41580 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41581 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41582 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41583 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41584 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41585 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41586 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41587 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41588 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41589 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41590 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41591 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41592 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41593 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41594 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41595 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41596 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41597 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41598 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41599 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41600 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41601 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41602 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41603 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41604 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41605 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41606 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41607 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41608 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41609 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41610 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41611 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41612 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41613 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41614 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41615 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41616 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41617 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41618 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41619 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41620 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41621 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41622 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41623 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41624 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41625 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41626 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41627 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41628 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41629 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41630 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41631 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41632 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41633 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41634 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41635 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41636 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41637 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41639 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41641 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41642 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41643 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41644 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41645 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41646 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41647 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41648 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41649 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41650 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41651 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41652 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41653 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41654 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41655 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41656 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41657 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41658 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41659 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41660 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41661 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41662 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41663 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41664 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41665 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41666 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41667 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41668 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41669 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41670 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41671 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41672 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41673 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41674 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41675 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41676 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41677 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41678 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41679 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41680 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41681 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41682 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41683 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41684 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41685 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41686 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41687 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41688 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41689 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41690 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41691 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41692 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41693 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41694 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41695 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41696 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41697 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41698 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41699 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41700 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41701 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41702 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41703 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41704 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41705 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41706 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41707 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41708 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41709 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41710 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41711 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41712 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41713 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41714 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41715 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41716 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41717 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41718 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41719 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41720 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41721 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41722 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41723 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41724 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41725 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41726 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41727 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41728 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41729 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41730 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41731 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41732 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41733 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41734 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41735 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41736 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41737 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41738 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41739 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41740 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41741 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41742 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41743 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41744 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41745 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41746 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41747 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41748 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41749 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41750 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41751 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41752 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41753 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41754 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41755 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41756 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41757 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41758 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41759 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41760 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41761 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41762 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41763 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41764 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41765 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41766 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41767 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41768 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41769 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41770 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41771 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41772 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41773 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41774 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41775 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41776 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41777 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41778 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41779 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41780 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41781 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41782 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41783 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41784 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41785 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41786 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41787 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41788 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41789 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41790 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41791 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41792 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41793 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41794 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41795 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41796 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41797 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41798 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41799 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41800 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41801 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41802 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41803 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41804 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41805 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41806 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41807 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41808 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41809 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41810 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41811 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41812 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41813 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41814 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41815 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41816 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41817 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41818 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41819 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41820 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41821 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41822 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41823 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41824 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41825 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41826 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41827 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41828 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41829 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41830 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41831 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41832 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41833 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41834 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41835 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41836 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41837 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41838 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41839 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41840 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41841 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41842 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41843 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41844 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41845 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41846 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41847 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41848 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41849 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41850 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41851 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41852 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41853 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41854 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41855 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41856 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41857 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41858 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41859 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41860 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41861 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41862 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41863 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41864 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41865 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41866 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41867 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41868 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41869 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41870 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41871 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41872 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41873 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41874 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41875 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41876 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41877 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41878 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41879 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41880 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41881 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41882 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41883 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41884 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41885 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41886 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41887 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41888 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41889 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41890 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41891 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41892 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41893 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41894 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41895 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41896 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41897 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41898 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41899 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41900 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41901 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41902 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41903 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41904 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41905 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41906 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41907 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41908 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41909 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41910 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41911 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41912 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41913 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41914 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41915 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41916 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41917 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41918 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41919 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41920 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41921 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41922 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41923 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41924 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41925 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41926 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41927 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41928 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41929 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41930 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41931 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41932 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41933 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41934 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41935 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41936 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41937 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41938 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41939 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41940 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41941 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41942 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41943 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41944 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41945 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41946 SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get
, NullIconBundle_set
);
41947 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41948 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41949 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41950 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41951 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41952 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41953 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41954 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41955 SWIG_Python_SetConstant(d
, "CONTROL_FLAT",SWIG_From_int(static_cast< int >(wxCONTROL_FLAT
)));
41956 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41957 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41958 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41959 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41960 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41961 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41962 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41963 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41964 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41965 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41966 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41967 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41969 // Work around a chicken/egg problem in drawlist.cpp
41970 wxPyDrawList_SetAPIPtr();