1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_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 #include <wx/rawbmp.h>
2929 #include <wx/image.h>
2931 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2932 char** cArray
= NULL
;
2935 if (!PyList_Check(listOfStrings
)) {
2936 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2939 count
= PyList_Size(listOfStrings
);
2940 cArray
= new char*[count
];
2942 for(int x
=0; x
<count
; x
++) {
2943 // TODO: Need some validation and error checking here
2944 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2950 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2951 char** cArray
= NULL
;
2954 cArray
= ConvertListOfStrings(listOfStrings
);
2957 bmp
= new wxBitmap(cArray
);
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2964 PyString_AsStringAndSize(bits
, &buf
, &length
);
2965 return new wxBitmap(buf
, width
, height
, depth
);
2967 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2968 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2969 wxSize
size(self
->GetWidth(), self
->GetHeight());
2972 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2973 wxMask
*mask
= new wxMask(*self
, colour
);
2974 self
->SetMask(mask
);
2976 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2977 self
->SetWidth(size
.x
);
2978 self
->SetHeight(size
.y
);
2980 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2981 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2983 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2984 // appears to me that the other platforms are already doing it, so I'll just
2985 // automatically do it for wxMSW here.
2987 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2988 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2990 #define wxPy_premultiply(p, a) (p)
2991 #define wxPy_unpremultiply(p, a) (p)
2995 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2996 buffer data
, int DATASIZE
,
2997 buffer alpha
, int ALPHASIZE
)
2999 if (DATASIZE
!= width
*height
*3) {
3000 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3004 if (ALPHASIZE
!= width
*height
) {
3005 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3009 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3010 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3012 // raise an exception...
3013 wxPyErr_SetString(PyExc_RuntimeError
,
3014 "Failed to gain raw access to bitmap data.");
3019 wxAlphaPixelData::Iterator
p(pixData
);
3020 for (int y
=0; y
<height
; y
++) {
3021 wxAlphaPixelData::Iterator rowStart
= p
;
3022 for (int x
=0; x
<width
; x
++) {
3023 byte a
= *(alpha
++);
3024 p
.Red() = wxPy_premultiply(*(data
++), a
);
3025 p
.Green() = wxPy_premultiply(*(data
++), a
);
3026 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3031 p
.OffsetY(pixData
, 1);
3036 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3038 if (DATASIZE
!= width
*height
*3) {
3039 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3043 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3044 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3046 // raise an exception...
3047 wxPyErr_SetString(PyExc_RuntimeError
,
3048 "Failed to gain raw access to bitmap data.");
3052 wxNativePixelData::Iterator
p(pixData
);
3053 for (int y
=0; y
<height
; y
++) {
3054 wxNativePixelData::Iterator rowStart
= p
;
3055 for (int x
=0; x
<width
; x
++) {
3056 p
.Red() = *(data
++);
3057 p
.Green() = *(data
++);
3058 p
.Blue() = *(data
++);
3062 p
.OffsetY(pixData
, 1);
3068 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3070 if (DATASIZE
!= width
*height
*4) {
3071 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3075 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3076 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3078 // raise an exception...
3079 wxPyErr_SetString(PyExc_RuntimeError
,
3080 "Failed to gain raw access to bitmap data.");
3085 wxAlphaPixelData::Iterator
p(pixData
);
3086 for (int y
=0; y
<height
; y
++) {
3087 wxAlphaPixelData::Iterator rowStart
= p
;
3088 for (int x
=0; x
<width
; x
++) {
3090 p
.Red() = wxPy_premultiply(*(data
++), a
);
3091 p
.Green() = wxPy_premultiply(*(data
++), a
);
3092 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3093 p
.Alpha() = a
; data
++;
3097 p
.OffsetY(pixData
, 1);
3103 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3105 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3106 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3107 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3109 self
->Green() = green
;
3110 self
->Blue() = blue
;
3112 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3113 PyObject
* rv
= PyTuple_New(3);
3114 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3115 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3116 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3120 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3122 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3123 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3124 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3125 self
->Red() = wxPy_premultiply(red
, alpha
);
3126 self
->Green() = wxPy_premultiply(green
, alpha
);
3127 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3128 self
->Alpha() = alpha
;
3130 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3131 PyObject
* rv
= PyTuple_New(4);
3132 int red
= self
->Red();
3133 int green
= self
->Green();
3134 int blue
= self
->Blue();
3135 int alpha
= self
->Alpha();
3137 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3138 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3139 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3140 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3143 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3144 if ( !colour
.IsOk() )
3145 return new wxMask(bitmap
, *wxBLACK
);
3147 return new wxMask(bitmap
, colour
);
3150 #include <wx/iconbndl.h>
3152 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3153 wxIcon
* icon
= new wxIcon();
3154 icon
->CopyFromBitmap(bmp
);
3157 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3158 char** cArray
= NULL
;
3161 cArray
= ConvertListOfStrings(listOfStrings
);
3164 icon
= new wxIcon(cArray
);
3168 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3169 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3171 return new wxIconLocation(*filename
, num
);
3176 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3178 self
->SetIndex(num
);
3183 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3185 return self
->GetIndex();
3190 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3192 wxImage
img(cursorName
, type
);
3193 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3194 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3195 return new wxCursor(img
);
3197 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3200 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3203 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3206 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3207 return self
->operator bool();
3210 #include <wx/fontutil.h>
3211 #include <wx/fontmap.h>
3212 #include <wx/fontenum.h>
3214 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3215 return self
->ToString();
3218 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3219 { wxPyRaiseNotImplemented(); return NULL
; }
3221 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3222 { wxPyRaiseNotImplemented(); return false; }
3225 SWIGINTERNINLINE PyObject
*
3226 SWIG_From_size_t (size_t value
)
3228 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3232 SWIGINTERNINLINE
int
3233 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3236 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3237 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3241 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3242 wxFontEncoding alt_enc
;
3243 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3244 return PyInt_FromLong(alt_enc
);
3250 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3251 wxNativeFontInfo nfi
;
3252 nfi
.FromString(info
);
3253 return new wxFont(nfi
);
3255 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3256 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3258 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3259 return wxFontBase::New(pixelSize
, family
,
3260 style
, weight
, underlined
,
3263 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3264 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3266 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3267 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3269 class wxPyFontEnumerator
: public wxFontEnumerator
{
3271 wxPyFontEnumerator() {}
3272 ~wxPyFontEnumerator() {}
3274 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3275 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3280 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3281 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3284 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3286 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 ret
= wxArrayString2PyList_helper(arr
);
3289 wxPyEndBlockThreads(blocked
);
3292 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3294 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 ret
= wxArrayString2PyList_helper(arr
);
3297 wxPyEndBlockThreads(blocked
);
3303 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3306 loc
= new wxLocale();
3308 loc
= new wxLocale(language
, flags
);
3309 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3310 // for the floating point conversions and such to work right.
3311 #if PY_VERSION_HEX < 0x02040000
3312 setlocale(LC_NUMERIC
, "C");
3316 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3317 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3318 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3319 // for the floating point conversions and such to work right.
3320 #if PY_VERSION_HEX < 0x02040000
3321 setlocale(LC_NUMERIC
, "C");
3325 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3326 bool rc
= self
->Init(language
, flags
);
3327 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3328 // for the floating point conversions and such to work right.
3329 #if PY_VERSION_HEX < 0x02040000
3330 setlocale(LC_NUMERIC
, "C");
3335 class wxPyLocale
: public wxLocale
3340 wxPyLocale(const wxChar
*szName
, // name (for messages)
3341 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3342 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3343 bool bLoadDefault
= true, // preload wxstd.mo?
3344 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3346 wxPyLocale(int language
, // wxLanguage id or custom language
3347 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3351 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3352 const wxChar
*szDomain
= NULL
) const;
3353 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3354 const wxChar
*szOrigString2
, size_t n
,
3355 const wxChar
*szDomain
= NULL
) const;
3357 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3358 const wxChar
*szDomain
= NULL
) const;
3359 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3360 const wxChar
*szOrigString2
, size_t n
,
3361 const wxChar
*szDomain
= NULL
) const;
3365 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3368 wxPyLocale::wxPyLocale() : wxLocale()
3372 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3373 const wxChar
*szShort
, // dir prefix (for msg files)
3374 const wxChar
*szLocale
, // locale (for setlocale)
3375 bool bLoadDefault
, // preload wxstd.mo?
3376 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3377 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3381 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3382 int flags
) : wxLocale(language
, flags
)
3386 wxPyLocale::~wxPyLocale()
3390 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3391 const wxChar
*szDomain
) const
3393 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3394 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3397 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3398 const wxChar
*szOrigString2
, size_t n
,
3399 const wxChar
*szDomain
) const
3401 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3402 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3405 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3406 const wxChar
*szDomain
) const
3409 static wxString str
;
3410 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3412 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3413 PyObject
* param1
= wx2PyString(szOrigString
);
3414 PyObject
* param2
= wx2PyString(szDomain
);
3415 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3419 str
= Py2wxString(ret
);
3423 wxPyEndBlockThreads(blocked
);
3424 return (found
? (wxChar
*)str
.c_str() : NULL
);
3427 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3428 const wxChar
*szOrigString2
, size_t n
,
3429 const wxChar
*szDomain
) const
3432 static wxString str
;
3433 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3434 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3435 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3436 PyObject
* param1
= wx2PyString(szOrigString
);
3437 PyObject
* param2
= wx2PyString(szOrigString2
);
3438 PyObject
* param4
= wx2PyString(szDomain
);
3439 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3444 str
= Py2wxString(ret
);
3448 wxPyEndBlockThreads(blocked
);
3449 return (found
? (wxChar
*)str
.c_str() : NULL
);
3452 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3455 loc
= new wxPyLocale();
3457 loc
= new wxPyLocale(language
, flags
);
3458 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3459 // for the floating point conversions and such to work right.
3460 #if PY_VERSION_HEX < 0x02040000
3461 setlocale(LC_NUMERIC
, "C");
3466 #include "wx/wxPython/pydrawxxx.h"
3468 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3470 self
->GetPixel(x
, y
, &col
);
3473 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3475 self
->GetPixel(pt
, &col
);
3480 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3482 if (PyNumber_Check(obj
)) {
3483 if (val
) *val
= PyFloat_AsDouble(obj
);
3486 return SWIG_TypeError
;
3489 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3491 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3494 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3496 self
->GetClippingBox(rect
);
3499 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3501 self
->GetPartialTextExtents(text
, widths
);
3505 #define SWIG_From_double PyFloat_FromDouble
3507 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3508 self
->SetLogicalOrigin(point
.x
, point
.y
);
3510 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3511 self
->SetDeviceOrigin(point
.x
, point
.y
);
3513 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3514 self
->CalcBoundingBox(point
.x
, point
.y
);
3516 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3517 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3519 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3520 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3522 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3523 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3525 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3526 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3528 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3529 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3531 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3532 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3535 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3543 #include <wx/dcbuffer.h>
3546 #include <wx/dcps.h>
3549 #include <wx/metafile.h>
3552 #include <wx/graphics.h>
3555 #if !wxUSE_GRAPHICS_CONTEXT
3556 // C++ stub classes for platforms or build configurations that don't have
3557 // wxGraphicsContext yet.
3560 class wxGraphicsObject
: public wxObject
3563 wxGraphicsObject( wxGraphicsRenderer
* ) {
3564 PyErr_SetString(PyExc_NotImplementedError
,
3565 "wx.GraphicsObject is not available on this platform.");
3567 wxGraphicsObject( const wxGraphicsObject
& ) {}
3568 virtual ~wxGraphicsObject() {}
3569 bool IsNull() const { return false; }
3570 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3575 class wxGraphicsPen
: public wxGraphicsObject
3578 virtual ~wxGraphicsPen() {}
3580 wxGraphicsPen wxNullGraphicsPen
;
3584 class wxGraphicsBrush
: public wxGraphicsObject
3587 wxGraphicsBrush() {}
3588 virtual ~wxGraphicsBrush() {}
3590 wxGraphicsBrush wxNullGraphicsBrush
;
3594 class wxGraphicsFont
: public wxGraphicsObject
3598 virtual ~wxGraphicsFont() {}
3600 wxGraphicsFont wxNullGraphicsFont
;
3604 class wxGraphicsPath
: public wxGraphicsObject
3607 wxGraphicsPath(wxGraphicsRenderer
* ) {
3608 PyErr_SetString(PyExc_NotImplementedError
,
3609 "wx.GraphicsPath is not available on this platform.");
3611 virtual ~wxGraphicsPath() {}
3613 void MoveToPoint( wxDouble
, wxDouble
) {}
3614 void MoveToPoint( const wxPoint2DDouble
& ) {}
3615 void AddLineToPoint( wxDouble
, wxDouble
) {}
3616 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3617 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3618 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3619 void AddPath( const wxGraphicsPath
* ) {}
3620 void CloseSubpath() {}
3621 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3622 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3623 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3624 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3626 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3627 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3628 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3629 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3631 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3632 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3633 void * GetNativePath() const { return NULL
; }
3634 void UnGetNativePath(void *) {}
3635 void Transform( wxGraphicsMatrix
* ) {}
3636 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3637 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3639 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3640 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3642 wxGraphicsPath wxNullGraphicsPath
;
3645 class wxGraphicsMatrix
: public wxGraphicsObject
3648 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3649 PyErr_SetString(PyExc_NotImplementedError
,
3650 "wx.GraphicsMatrix is not available on this platform.");
3652 virtual ~wxGraphicsMatrix() {}
3653 virtual void Concat( const wxGraphicsMatrix
* ) {}
3654 virtual void Copy( const wxGraphicsMatrix
* ) {}
3655 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3656 wxDouble
, wxDouble
) {}
3657 virtual void Invert() {}
3658 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3659 virtual bool IsIdentity() { return false; }
3660 virtual void Translate( wxDouble
, wxDouble
) {}
3661 virtual void Scale( wxDouble
, wxDouble
) {}
3662 virtual void Rotate( wxDouble
) {}
3663 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3664 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3665 virtual void * GetNativeMatrix() const { return NULL
; }
3667 wxGraphicsMatrix wxNullGraphicsMatrix
;
3670 class wxGraphicsContext
: public wxGraphicsObject
3674 wxGraphicsContext(wxGraphicsRenderer
* ) {
3675 PyErr_SetString(PyExc_NotImplementedError
,
3676 "wx.GraphicsContext is not available on this platform.");
3679 virtual ~wxGraphicsContext() {}
3681 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3682 PyErr_SetString(PyExc_NotImplementedError
,
3683 "wx.GraphicsContext is not available on this platform.");
3686 static wxGraphicsContext
* CreateFromNative( void * ) {
3687 PyErr_SetString(PyExc_NotImplementedError
,
3688 "wx.GraphicsContext is not available on this platform.");
3691 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3692 PyErr_SetString(PyExc_NotImplementedError
,
3693 "wx.GraphicsContext is not available on this platform.");
3696 static wxGraphicsContext
* Create( wxWindow
* ) {
3697 PyErr_SetString(PyExc_NotImplementedError
,
3698 "wx.GraphicsContext is not available on this platform.");
3701 wxGraphicsPath
* CreatePath() { return NULL
; }
3703 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3705 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3707 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3708 const wxColour
&, const wxColour
&) { return NULL
; }
3710 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3711 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3712 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3714 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3716 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3717 wxDouble
, wxDouble
) { return NULL
; }
3719 virtual void PushState() {}
3720 virtual void PopState() {}
3721 virtual void Clip( const wxRegion
& ) {}
3722 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3723 virtual void ResetClip() {}
3724 virtual void * GetNativeContext() { return NULL
; }
3725 virtual void Translate( wxDouble
, wxDouble
) {}
3726 virtual void Scale( wxDouble
, wxDouble
) {}
3727 virtual void Rotate( wxDouble
) {}
3728 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3729 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3730 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3732 virtual void SetPen( const wxGraphicsPen
& ) {}
3733 void SetPen( const wxPen
& ) {}
3735 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3736 void SetBrush( const wxBrush
& ) {}
3738 virtual void SetFont( const wxGraphicsFont
& ) {}
3739 void SetFont( const wxFont
&, const wxColour
& ) {}
3741 virtual void StrokePath( const wxGraphicsPath
* ) {}
3742 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3743 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3745 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3746 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3747 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3748 wxDouble
*, wxDouble
* ) const {}
3749 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3751 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3752 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3754 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3755 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3756 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3757 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3758 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3759 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3760 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3761 virtual bool ShouldOffset() const { return false; }
3765 class wxGraphicsRenderer
: public wxObject
3768 wxGraphicsRenderer() {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsRenderer is not available on this platform.");
3773 virtual ~wxGraphicsRenderer() {}
3775 static wxGraphicsRenderer
* GetDefaultRenderer(
3776 PyErr_SetString(PyExc_NotImplementedError
,
3777 "wx.GraphicsRenderer is not available on this platform.");
3780 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3781 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3782 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3783 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3785 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3787 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3788 wxDouble
, wxDouble
) { return NULL
; }
3790 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3791 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3792 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3793 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3794 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3796 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3801 class wxGCDC
: public wxWindowDC
3804 wxGCDC(const wxWindowDC
&) {
3805 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3806 PyErr_SetString(PyExc_NotImplementedError
,
3807 "wxGCDC is not available on this platform.");
3808 wxPyEndBlockThreads(blocked
);
3812 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3813 PyErr_SetString(PyExc_NotImplementedError
,
3814 "wxGCDC is not available on this platform.");
3815 wxPyEndBlockThreads(blocked
);
3818 virtual ~wxGCDC() {}
3820 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3821 void SetGraphicsContext( wxGraphicsContext
* ) {}
3826 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3829 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3830 wxDouble width
= 0.0,
3832 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3833 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3834 PyObject
* rv
= PyTuple_New(2);
3835 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3836 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3839 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3840 wxArrayDouble widths
;
3841 self
->GetPartialTextExtents(text
, widths
);
3844 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3845 size_t c1
, c2
, count
;
3846 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3847 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3849 if ( beginP
!= NULL
&& endP
!= NULL
)
3851 count
= wxMin(c1
, c2
);
3852 self
->StrokeLines(count
, beginP
, endP
);
3858 #include "wx/dcgraph.h"
3861 #include <wx/overlay.h>
3865 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3866 self
->AddColour(name
, wxColour(red
, green
, blue
));
3869 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3870 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3871 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3872 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3875 #include <wx/effects.h>
3878 #include "wx/renderer.h"
3881 SWIGINTERNINLINE PyObject
*
3882 SWIG_From_bool (bool value
)
3884 return PyBool_FromLong(value
? 1 : 0);
3888 #include "wx/wxPython/pseudodc.h"
3890 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3892 self
->GetIdBounds(id
, rect
);
3898 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3899 PyObject
*resultobj
= 0;
3900 wxGDIObject
*result
= 0 ;
3902 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3904 if (!wxPyCheckForApp()) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (wxGDIObject
*)new wxGDIObject();
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3917 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3918 PyObject
*resultobj
= 0;
3919 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3922 PyObject
*swig_obj
[1] ;
3924 if (!args
) SWIG_fail
;
3926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3927 if (!SWIG_IsOK(res1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3930 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_Py_Void();
3945 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3946 PyObject
*resultobj
= 0;
3947 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3951 PyObject
*swig_obj
[1] ;
3953 if (!args
) SWIG_fail
;
3955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3956 if (!SWIG_IsOK(res1
)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3959 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= (bool)(arg1
)->IsNull();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3975 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3978 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3979 return SWIG_Py_Void();
3982 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3983 return SWIG_Python_InitShadowInstance(args
);
3986 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
= 0;
3988 byte arg1
= (byte
) 0 ;
3989 byte arg2
= (byte
) 0 ;
3990 byte arg3
= (byte
) 0 ;
3991 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3992 wxColour
*result
= 0 ;
3993 unsigned char val1
;
3995 unsigned char val2
;
3997 unsigned char val3
;
3999 unsigned char val4
;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4003 PyObject
* obj2
= 0 ;
4004 PyObject
* obj3
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4011 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4012 if (!SWIG_IsOK(ecode1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4015 arg1
= static_cast< byte
>(val1
);
4018 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4019 if (!SWIG_IsOK(ecode2
)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4022 arg2
= static_cast< byte
>(val2
);
4025 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4026 if (!SWIG_IsOK(ecode3
)) {
4027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4029 arg3
= static_cast< byte
>(val3
);
4032 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4033 if (!SWIG_IsOK(ecode4
)) {
4034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4036 arg4
= static_cast< byte
>(val4
);
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4051 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
= 0;
4053 wxString
*arg1
= 0 ;
4054 wxColour
*result
= 0 ;
4055 bool temp1
= false ;
4056 PyObject
* obj0
= 0 ;
4057 char * kwnames
[] = {
4058 (char *) "colorName", NULL
4061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4063 arg1
= wxString_in_helper(obj0
);
4064 if (arg1
== NULL
) SWIG_fail
;
4068 if (!wxPyCheckForApp()) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4089 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
= 0;
4091 unsigned long arg1
;
4092 wxColour
*result
= 0 ;
4093 unsigned long val1
;
4095 PyObject
* obj0
= 0 ;
4096 char * kwnames
[] = {
4097 (char *) "colRGB", NULL
4100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4101 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4102 if (!SWIG_IsOK(ecode1
)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4105 arg1
= static_cast< unsigned long >(val1
);
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxColour
*)new wxColour(arg1
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4119 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4120 PyObject
*resultobj
= 0;
4121 wxColour
*arg1
= (wxColour
*) 0 ;
4124 PyObject
*swig_obj
[1] ;
4126 if (!args
) SWIG_fail
;
4128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4129 if (!SWIG_IsOK(res1
)) {
4130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4132 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_Py_Void();
4147 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4148 PyObject
*resultobj
= 0;
4149 wxColour
*arg1
= (wxColour
*) 0 ;
4153 PyObject
*swig_obj
[1] ;
4155 if (!args
) SWIG_fail
;
4157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4158 if (!SWIG_IsOK(res1
)) {
4159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4161 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (byte
)(arg1
)->Red();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4175 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4176 PyObject
*resultobj
= 0;
4177 wxColour
*arg1
= (wxColour
*) 0 ;
4181 PyObject
*swig_obj
[1] ;
4183 if (!args
) SWIG_fail
;
4185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4186 if (!SWIG_IsOK(res1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4189 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (byte
)(arg1
)->Green();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4203 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4204 PyObject
*resultobj
= 0;
4205 wxColour
*arg1
= (wxColour
*) 0 ;
4209 PyObject
*swig_obj
[1] ;
4211 if (!args
) SWIG_fail
;
4213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4214 if (!SWIG_IsOK(res1
)) {
4215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4217 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (byte
)(arg1
)->Blue();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4231 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4232 PyObject
*resultobj
= 0;
4233 wxColour
*arg1
= (wxColour
*) 0 ;
4237 PyObject
*swig_obj
[1] ;
4239 if (!args
) SWIG_fail
;
4241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4242 if (!SWIG_IsOK(res1
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4245 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (byte
)(arg1
)->Alpha();
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4259 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4260 PyObject
*resultobj
= 0;
4261 wxColour
*arg1
= (wxColour
*) 0 ;
4265 PyObject
*swig_obj
[1] ;
4267 if (!args
) SWIG_fail
;
4269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4270 if (!SWIG_IsOK(res1
)) {
4271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4273 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= (bool)(arg1
)->IsOk();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4289 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
= 0;
4291 wxColour
*arg1
= (wxColour
*) 0 ;
4295 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4298 unsigned char val2
;
4300 unsigned char val3
;
4302 unsigned char val4
;
4304 unsigned char val5
;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4308 PyObject
* obj2
= 0 ;
4309 PyObject
* obj3
= 0 ;
4310 PyObject
* obj4
= 0 ;
4311 char * kwnames
[] = {
4312 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4317 if (!SWIG_IsOK(res1
)) {
4318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4320 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4321 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4322 if (!SWIG_IsOK(ecode2
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4325 arg2
= static_cast< byte
>(val2
);
4326 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4327 if (!SWIG_IsOK(ecode3
)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4330 arg3
= static_cast< byte
>(val3
);
4331 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4332 if (!SWIG_IsOK(ecode4
)) {
4333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4335 arg4
= static_cast< byte
>(val4
);
4337 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4338 if (!SWIG_IsOK(ecode5
)) {
4339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4341 arg5
= static_cast< byte
>(val5
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_Py_Void();
4356 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
= 0;
4358 wxColour
*arg1
= (wxColour
*) 0 ;
4359 unsigned long arg2
;
4362 unsigned long val2
;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 char * kwnames
[] = {
4367 (char *) "self",(char *) "colRGB", NULL
4370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4372 if (!SWIG_IsOK(res1
)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4375 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4376 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4377 if (!SWIG_IsOK(ecode2
)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4380 arg2
= static_cast< unsigned long >(val2
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_Py_Void();
4394 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxColour
*arg1
= (wxColour
*) 0 ;
4397 wxString
*arg2
= 0 ;
4400 bool temp2
= false ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "colourName", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4412 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4414 arg2
= wxString_in_helper(obj1
);
4415 if (arg2
== NULL
) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 (arg1
)->Set((wxString
const &)*arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_Py_Void();
4439 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxColour
*arg1
= (wxColour
*) 0 ;
4442 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4450 char * kwnames
[] = {
4451 (char *) "self",(char *) "flags", NULL
4454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4459 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4461 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4462 if (!SWIG_IsOK(ecode2
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4465 arg2
= static_cast< long >(val2
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4486 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 PyObject
*resultobj
= 0;
4488 wxColour
*arg1
= (wxColour
*) 0 ;
4492 PyObject
*swig_obj
[1] ;
4494 if (!args
) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4500 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_From_long(static_cast< long >(result
));
4514 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
= 0;
4516 wxColour
*arg1
= (wxColour
*) 0 ;
4517 PyObject
*arg2
= (PyObject
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4523 char * kwnames
[] = {
4524 (char *) "self",(char *) "other", NULL
4527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4529 if (!SWIG_IsOK(res1
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4532 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4535 result
= (bool)wxColour___eq__(arg1
,arg2
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4547 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
= 0;
4549 wxColour
*arg1
= (wxColour
*) 0 ;
4550 PyObject
*arg2
= (PyObject
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "self",(char *) "other", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4565 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4568 result
= (bool)wxColour___ne__(arg1
,arg2
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4580 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxColour
*arg1
= (wxColour
*) 0 ;
4583 bool arg2
= (bool) false ;
4584 PyObject
*result
= 0 ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4591 char * kwnames
[] = {
4592 (char *) "self",(char *) "includeAlpha", NULL
4595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4600 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4603 if (!SWIG_IsOK(ecode2
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4606 arg2
= static_cast< bool >(val2
);
4609 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4619 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxColour
*arg1
= (wxColour
*) 0 ;
4622 unsigned long result
;
4625 PyObject
*swig_obj
[1] ;
4627 if (!args
) SWIG_fail
;
4629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4630 if (!SWIG_IsOK(res1
)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4633 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4635 result
= (unsigned long)wxColour_GetRGB(arg1
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4645 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4648 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4649 return SWIG_Py_Void();
4652 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4653 return SWIG_Python_InitShadowInstance(args
);
4656 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
= 0;
4659 unsigned char *arg2
= (unsigned char *) 0 ;
4660 unsigned char *arg3
= (unsigned char *) 0 ;
4661 unsigned char *arg4
= (unsigned char *) 0 ;
4662 wxPalette
*result
= 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 PyObject
* obj2
= 0 ;
4674 PyObject
* obj3
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4680 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4681 if (!SWIG_IsOK(ecode1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4684 arg1
= static_cast< int >(val1
);
4685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4686 if (!SWIG_IsOK(res2
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4689 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4690 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4691 if (!SWIG_IsOK(res3
)) {
4692 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4694 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4695 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4696 if (!SWIG_IsOK(res4
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4699 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4701 if (!wxPyCheckForApp()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4714 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxPalette
*arg1
= (wxPalette
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4727 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_Py_Void();
4742 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
= 0;
4744 wxPalette
*arg1
= (wxPalette
*) 0 ;
4751 unsigned char val2
;
4753 unsigned char val3
;
4755 unsigned char val4
;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 PyObject
* obj3
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4770 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4771 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4772 if (!SWIG_IsOK(ecode2
)) {
4773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4775 arg2
= static_cast< byte
>(val2
);
4776 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4777 if (!SWIG_IsOK(ecode3
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4780 arg3
= static_cast< byte
>(val3
);
4781 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4782 if (!SWIG_IsOK(ecode4
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4785 arg4
= static_cast< byte
>(val4
);
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_From_int(static_cast< int >(result
));
4799 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
= 0;
4801 wxPalette
*arg1
= (wxPalette
*) 0 ;
4803 byte
*arg3
= (byte
*) 0 ;
4804 byte
*arg4
= (byte
*) 0 ;
4805 byte
*arg5
= (byte
*) 0 ;
4812 int res3
= SWIG_TMPOBJ
;
4814 int res4
= SWIG_TMPOBJ
;
4816 int res5
= SWIG_TMPOBJ
;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 char * kwnames
[] = {
4820 (char *) "self",(char *) "pixel", NULL
4826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4828 if (!SWIG_IsOK(res1
)) {
4829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4831 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4833 if (!SWIG_IsOK(ecode2
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4836 arg2
= static_cast< int >(val2
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4846 if (SWIG_IsTmpObj(res3
)) {
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4849 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4852 if (SWIG_IsTmpObj(res4
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4858 if (SWIG_IsTmpObj(res5
)) {
4859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4870 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4871 PyObject
*resultobj
= 0;
4872 wxPalette
*arg1
= (wxPalette
*) 0 ;
4876 PyObject
*swig_obj
[1] ;
4878 if (!args
) SWIG_fail
;
4880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4881 if (!SWIG_IsOK(res1
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4884 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_From_int(static_cast< int >(result
));
4898 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4899 PyObject
*resultobj
= 0;
4900 wxPalette
*arg1
= (wxPalette
*) 0 ;
4904 PyObject
*swig_obj
[1] ;
4906 if (!args
) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4912 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (bool)(arg1
)->IsOk();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4928 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4932 return SWIG_Py_Void();
4935 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4936 return SWIG_Python_InitShadowInstance(args
);
4939 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
= 0;
4941 wxColour
*arg1
= 0 ;
4942 int arg2
= (int) 1 ;
4943 int arg3
= (int) wxSOLID
;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4952 PyObject
* obj2
= 0 ;
4953 char * kwnames
[] = {
4954 (char *) "colour",(char *) "width",(char *) "style", NULL
4957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4960 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4964 if (!SWIG_IsOK(ecode2
)) {
4965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4967 arg2
= static_cast< int >(val2
);
4970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4971 if (!SWIG_IsOK(ecode3
)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4974 arg3
= static_cast< int >(val3
);
4977 if (!wxPyCheckForApp()) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4990 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4991 PyObject
*resultobj
= 0;
4992 wxPen
*arg1
= (wxPen
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5003 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5019 PyObject
*resultobj
= 0;
5020 wxPen
*arg1
= (wxPen
*) 0 ;
5024 PyObject
*swig_obj
[1] ;
5026 if (!args
) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5032 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (int)(arg1
)->GetCap();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_From_int(static_cast< int >(result
));
5046 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5047 PyObject
*resultobj
= 0;
5048 wxPen
*arg1
= (wxPen
*) 0 ;
5052 PyObject
*swig_obj
[1] ;
5054 if (!args
) SWIG_fail
;
5056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5057 if (!SWIG_IsOK(res1
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5060 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (arg1
)->GetColour();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5074 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5075 PyObject
*resultobj
= 0;
5076 wxPen
*arg1
= (wxPen
*) 0 ;
5080 PyObject
*swig_obj
[1] ;
5082 if (!args
) SWIG_fail
;
5084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5085 if (!SWIG_IsOK(res1
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5088 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (int)(arg1
)->GetJoin();
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_From_int(static_cast< int >(result
));
5102 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5103 PyObject
*resultobj
= 0;
5104 wxPen
*arg1
= (wxPen
*) 0 ;
5108 PyObject
*swig_obj
[1] ;
5110 if (!args
) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5116 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (int)(arg1
)->GetStyle();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_From_int(static_cast< int >(result
));
5130 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5131 PyObject
*resultobj
= 0;
5132 wxPen
*arg1
= (wxPen
*) 0 ;
5136 PyObject
*swig_obj
[1] ;
5138 if (!args
) SWIG_fail
;
5140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5141 if (!SWIG_IsOK(res1
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5144 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= (int)(arg1
)->GetWidth();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_From_int(static_cast< int >(result
));
5158 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5159 PyObject
*resultobj
= 0;
5160 wxPen
*arg1
= (wxPen
*) 0 ;
5164 PyObject
*swig_obj
[1] ;
5166 if (!args
) SWIG_fail
;
5168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5169 if (!SWIG_IsOK(res1
)) {
5170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5172 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (bool)(arg1
)->IsOk();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5188 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
= 0;
5190 wxPen
*arg1
= (wxPen
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "self",(char *) "cap_style", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5209 if (!SWIG_IsOK(ecode2
)) {
5210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5212 arg2
= static_cast< int >(val2
);
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 (arg1
)->SetCap(arg2
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= SWIG_Py_Void();
5226 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
= 0;
5228 wxPen
*arg1
= (wxPen
*) 0 ;
5229 wxColour
*arg2
= 0 ;
5233 PyObject
* obj0
= 0 ;
5234 PyObject
* obj1
= 0 ;
5235 char * kwnames
[] = {
5236 (char *) "self",(char *) "colour", NULL
5239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5241 if (!SWIG_IsOK(res1
)) {
5242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5244 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5247 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 (arg1
)->SetColour(*arg2
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_Py_Void();
5262 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
= 0;
5264 wxPen
*arg1
= (wxPen
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 char * kwnames
[] = {
5273 (char *) "self",(char *) "join_style", NULL
5276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5278 if (!SWIG_IsOK(res1
)) {
5279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5281 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5283 if (!SWIG_IsOK(ecode2
)) {
5284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5286 arg2
= static_cast< int >(val2
);
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 (arg1
)->SetJoin(arg2
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_Py_Void();
5300 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxPen
*arg1
= (wxPen
*) 0 ;
5308 PyObject
* obj0
= 0 ;
5309 PyObject
* obj1
= 0 ;
5310 char * kwnames
[] = {
5311 (char *) "self",(char *) "style", NULL
5314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5316 if (!SWIG_IsOK(res1
)) {
5317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5319 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5321 if (!SWIG_IsOK(ecode2
)) {
5322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5324 arg2
= static_cast< int >(val2
);
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 (arg1
)->SetStyle(arg2
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_Py_Void();
5338 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
= 0;
5340 wxPen
*arg1
= (wxPen
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 char * kwnames
[] = {
5349 (char *) "self",(char *) "width", NULL
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5354 if (!SWIG_IsOK(res1
)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5357 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5359 if (!SWIG_IsOK(ecode2
)) {
5360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5362 arg2
= static_cast< int >(val2
);
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 (arg1
)->SetWidth(arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_Py_Void();
5376 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= 0;
5378 wxPen
*arg1
= (wxPen
*) 0 ;
5380 wxDash
*arg3
= (wxDash
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "self",(char *) "dashes", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5391 if (!SWIG_IsOK(res1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5394 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5396 arg2
= PyList_Size(obj1
);
5397 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5398 if (arg3
== NULL
) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 (arg1
)->SetDashes(arg2
,arg3
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_Py_Void();
5408 if (arg3
) delete [] arg3
;
5413 if (arg3
) delete [] arg3
;
5419 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5420 PyObject
*resultobj
= 0;
5421 wxPen
*arg1
= (wxPen
*) 0 ;
5422 PyObject
*result
= 0 ;
5425 PyObject
*swig_obj
[1] ;
5427 if (!args
) SWIG_fail
;
5429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5430 if (!SWIG_IsOK(res1
)) {
5431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5433 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5447 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
= 0;
5449 wxPen
*arg1
= (wxPen
*) 0 ;
5450 PyObject
*arg2
= (PyObject
*) 0 ;
5451 PyObject
*arg3
= (PyObject
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 PyObject
* obj2
= 0 ;
5457 char * kwnames
[] = {
5458 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5463 if (!SWIG_IsOK(res1
)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5466 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 wxPen__SetDashes(arg1
,arg2
,arg3
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= SWIG_Py_Void();
5482 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5484 wxPen
*arg1
= (wxPen
*) 0 ;
5488 PyObject
*swig_obj
[1] ;
5490 if (!args
) SWIG_fail
;
5492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5493 if (!SWIG_IsOK(res1
)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5496 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_From_int(static_cast< int >(result
));
5510 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5511 PyObject
*resultobj
= 0;
5512 wxPen
*arg1
= (wxPen
*) 0 ;
5513 wxBitmap
*result
= 0 ;
5516 PyObject
*swig_obj
[1] ;
5518 if (!args
) SWIG_fail
;
5520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5521 if (!SWIG_IsOK(res1
)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5524 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (wxBitmap
*)(arg1
)->GetStipple();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5538 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
= 0;
5540 wxPen
*arg1
= (wxPen
*) 0 ;
5541 wxBitmap
*arg2
= 0 ;
5546 PyObject
* obj0
= 0 ;
5547 PyObject
* obj1
= 0 ;
5548 char * kwnames
[] = {
5549 (char *) "self",(char *) "stipple", NULL
5552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5554 if (!SWIG_IsOK(res1
)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5557 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5559 if (!SWIG_IsOK(res2
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5565 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 (arg1
)->SetStipple(*arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_Py_Void();
5579 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
= 0;
5581 wxPen
*arg1
= (wxPen
*) 0 ;
5582 wxPen
*arg2
= (wxPen
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5590 char * kwnames
[] = {
5591 (char *) "self",(char *) "other", NULL
5594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5596 if (!SWIG_IsOK(res1
)) {
5597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5599 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5601 if (!SWIG_IsOK(res2
)) {
5602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5604 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5620 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
= 0;
5622 wxPen
*arg1
= (wxPen
*) 0 ;
5623 wxPen
*arg2
= (wxPen
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5631 char * kwnames
[] = {
5632 (char *) "self",(char *) "other", NULL
5635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5637 if (!SWIG_IsOK(res1
)) {
5638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5640 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5642 if (!SWIG_IsOK(res2
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5645 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5661 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5664 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5665 return SWIG_Py_Void();
5668 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5669 return SWIG_Python_InitShadowInstance(args
);
5672 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
= 0;
5674 wxColour
*arg1
= 0 ;
5675 int arg2
= (int) wxSOLID
;
5676 wxBrush
*result
= 0 ;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5682 char * kwnames
[] = {
5683 (char *) "colour",(char *) "style", NULL
5686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5689 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5693 if (!SWIG_IsOK(ecode2
)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5696 arg2
= static_cast< int >(val2
);
5699 if (!wxPyCheckForApp()) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5712 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
= 0;
5714 wxBitmap
*arg1
= 0 ;
5715 wxBrush
*result
= 0 ;
5718 PyObject
* obj0
= 0 ;
5719 char * kwnames
[] = {
5720 (char *) "stippleBitmap", NULL
5723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5724 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5725 if (!SWIG_IsOK(res1
)) {
5726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5731 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5733 if (!wxPyCheckForApp()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5746 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5747 PyObject
*resultobj
= 0;
5748 wxBrush
*arg1
= (wxBrush
*) 0 ;
5751 PyObject
*swig_obj
[1] ;
5753 if (!args
) SWIG_fail
;
5755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5756 if (!SWIG_IsOK(res1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5759 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_Py_Void();
5774 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
= 0;
5776 wxBrush
*arg1
= (wxBrush
*) 0 ;
5777 wxColour
*arg2
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "self",(char *) "col", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5789 if (!SWIG_IsOK(res1
)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5792 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->SetColour((wxColour
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= SWIG_Py_Void();
5810 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
= 0;
5812 wxBrush
*arg1
= (wxBrush
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5819 PyObject
* obj1
= 0 ;
5820 char * kwnames
[] = {
5821 (char *) "self",(char *) "style", NULL
5824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5829 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5831 if (!SWIG_IsOK(ecode2
)) {
5832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5834 arg2
= static_cast< int >(val2
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->SetStyle(arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_Py_Void();
5848 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
*resultobj
= 0;
5850 wxBrush
*arg1
= (wxBrush
*) 0 ;
5851 wxBitmap
*arg2
= 0 ;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 char * kwnames
[] = {
5859 (char *) "self",(char *) "stipple", NULL
5862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5864 if (!SWIG_IsOK(res1
)) {
5865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5867 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5869 if (!SWIG_IsOK(res2
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5875 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_Py_Void();
5889 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5890 PyObject
*resultobj
= 0;
5891 wxBrush
*arg1
= (wxBrush
*) 0 ;
5895 PyObject
*swig_obj
[1] ;
5897 if (!args
) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5903 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= ((wxBrush
const *)arg1
)->GetColour();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5917 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5918 PyObject
*resultobj
= 0;
5919 wxBrush
*arg1
= (wxBrush
*) 0 ;
5923 PyObject
*swig_obj
[1] ;
5925 if (!args
) SWIG_fail
;
5927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5928 if (!SWIG_IsOK(res1
)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5931 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_From_int(static_cast< int >(result
));
5945 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5946 PyObject
*resultobj
= 0;
5947 wxBrush
*arg1
= (wxBrush
*) 0 ;
5948 wxBitmap
*result
= 0 ;
5951 PyObject
*swig_obj
[1] ;
5953 if (!args
) SWIG_fail
;
5955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5956 if (!SWIG_IsOK(res1
)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5959 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5973 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5974 PyObject
*resultobj
= 0;
5975 wxBrush
*arg1
= (wxBrush
*) 0 ;
5979 PyObject
*swig_obj
[1] ;
5981 if (!args
) SWIG_fail
;
5983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5984 if (!SWIG_IsOK(res1
)) {
5985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5987 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 SWIGINTERN PyObject
*_wrap_Brush_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6017 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (bool)(arg1
)->IsOk();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6036 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6037 return SWIG_Py_Void();
6040 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6041 return SWIG_Python_InitShadowInstance(args
);
6044 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
= 0;
6046 wxString
*arg1
= 0 ;
6047 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6048 wxBitmap
*result
= 0 ;
6049 bool temp1
= false ;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6054 char * kwnames
[] = {
6055 (char *) "name",(char *) "type", NULL
6058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6060 arg1
= wxString_in_helper(obj0
);
6061 if (arg1
== NULL
) SWIG_fail
;
6065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6066 if (!SWIG_IsOK(ecode2
)) {
6067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6069 arg2
= static_cast< wxBitmapType
>(val2
);
6072 if (!wxPyCheckForApp()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6093 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6094 PyObject
*resultobj
= 0;
6095 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6098 PyObject
*swig_obj
[1] ;
6100 if (!args
) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6106 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_Py_Void();
6119 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
= 0;
6123 int arg3
= (int) -1 ;
6124 wxBitmap
*result
= 0 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 PyObject
* obj2
= 0 ;
6134 char * kwnames
[] = {
6135 (char *) "width",(char *) "height",(char *) "depth", NULL
6138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6140 if (!SWIG_IsOK(ecode1
)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6143 arg1
= static_cast< int >(val1
);
6144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6145 if (!SWIG_IsOK(ecode2
)) {
6146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6148 arg2
= static_cast< int >(val2
);
6150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6151 if (!SWIG_IsOK(ecode3
)) {
6152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6154 arg3
= static_cast< int >(val3
);
6157 if (!wxPyCheckForApp()) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6170 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6173 wxBitmap
*result
= 0 ;
6176 PyObject
* obj0
= 0 ;
6177 char * kwnames
[] = {
6178 (char *) "icon", NULL
6181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6189 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6191 if (!wxPyCheckForApp()) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6204 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
= 0;
6207 int arg2
= (int) -1 ;
6208 wxBitmap
*result
= 0 ;
6213 PyObject
* obj0
= 0 ;
6214 PyObject
* obj1
= 0 ;
6215 char * kwnames
[] = {
6216 (char *) "image",(char *) "depth", NULL
6219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6220 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6221 if (!SWIG_IsOK(res1
)) {
6222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6227 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6230 if (!SWIG_IsOK(ecode2
)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6233 arg2
= static_cast< int >(val2
);
6236 if (!wxPyCheckForApp()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6249 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
= 0;
6251 PyObject
*arg1
= (PyObject
*) 0 ;
6252 wxBitmap
*result
= 0 ;
6253 PyObject
* obj0
= 0 ;
6254 char * kwnames
[] = {
6255 (char *) "listOfStrings", NULL
6258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6261 if (!wxPyCheckForApp()) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6274 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 PyObject
*arg1
= (PyObject
*) 0 ;
6279 int arg4
= (int) 1 ;
6280 wxBitmap
*result
= 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 PyObject
* obj3
= 0 ;
6291 char * kwnames
[] = {
6292 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6298 if (!SWIG_IsOK(ecode2
)) {
6299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6301 arg2
= static_cast< int >(val2
);
6302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6303 if (!SWIG_IsOK(ecode3
)) {
6304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6306 arg3
= static_cast< int >(val3
);
6308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6309 if (!SWIG_IsOK(ecode4
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6312 arg4
= static_cast< int >(val4
);
6315 if (!wxPyCheckForApp()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6328 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6329 PyObject
*resultobj
= 0;
6330 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6334 PyObject
*swig_obj
[1] ;
6336 if (!args
) SWIG_fail
;
6338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6339 if (!SWIG_IsOK(res1
)) {
6340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6342 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6344 result
= (long)(arg1
)->GetHandle();
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_From_long(static_cast< long >(result
));
6354 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
= 0;
6356 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6364 char * kwnames
[] = {
6365 (char *) "self",(char *) "handle", NULL
6368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6370 if (!SWIG_IsOK(res1
)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6374 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6375 if (!SWIG_IsOK(ecode2
)) {
6376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6378 arg2
= static_cast< long >(val2
);
6380 wxBitmap_SetHandle(arg1
,arg2
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_Py_Void();
6390 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6391 PyObject
*resultobj
= 0;
6392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6396 PyObject
*swig_obj
[1] ;
6398 if (!args
) SWIG_fail
;
6400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6401 if (!SWIG_IsOK(res1
)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6406 result
= (bool)(arg1
)->IsOk();
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6418 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6419 PyObject
*resultobj
= 0;
6420 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6424 PyObject
*swig_obj
[1] ;
6426 if (!args
) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6432 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6434 result
= (int)(arg1
)->GetWidth();
6435 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= SWIG_From_int(static_cast< int >(result
));
6444 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6445 PyObject
*resultobj
= 0;
6446 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6450 PyObject
*swig_obj
[1] ;
6452 if (!args
) SWIG_fail
;
6454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6455 if (!SWIG_IsOK(res1
)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6458 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6460 result
= (int)(arg1
)->GetHeight();
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_From_int(static_cast< int >(result
));
6470 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6471 PyObject
*resultobj
= 0;
6472 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6476 PyObject
*swig_obj
[1] ;
6478 if (!args
) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6484 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6486 result
= (int)(arg1
)->GetDepth();
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_From_int(static_cast< int >(result
));
6496 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6510 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6512 result
= wxBitmap_GetSize(arg1
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6522 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6523 PyObject
*resultobj
= 0;
6524 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6525 SwigValueWrapper
<wxImage
> result
;
6528 PyObject
*swig_obj
[1] ;
6530 if (!args
) SWIG_fail
;
6532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6533 if (!SWIG_IsOK(res1
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6536 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6538 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6548 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6549 PyObject
*resultobj
= 0;
6550 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6551 wxMask
*result
= 0 ;
6554 PyObject
*swig_obj
[1] ;
6556 if (!args
) SWIG_fail
;
6558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6559 if (!SWIG_IsOK(res1
)) {
6560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6562 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6564 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6574 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
= 0;
6576 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 wxMask
*arg2
= (wxMask
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6583 char * kwnames
[] = {
6584 (char *) "self",(char *) "mask", NULL
6587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6592 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6593 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6594 if (!SWIG_IsOK(res2
)) {
6595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6598 (arg1
)->SetMask(arg2
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_Py_Void();
6608 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6611 wxColour
*arg2
= 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 char * kwnames
[] = {
6618 (char *) "self",(char *) "colour", NULL
6621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",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_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6626 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6632 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= SWIG_Py_Void();
6642 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6646 SwigValueWrapper
<wxBitmap
> result
;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6652 char * kwnames
[] = {
6653 (char *) "self",(char *) "rect", NULL
6656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6658 if (!SWIG_IsOK(res1
)) {
6659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6661 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6667 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6677 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
= 0;
6679 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6680 wxString
*arg2
= 0 ;
6682 wxPalette
*arg4
= (wxPalette
*) NULL
;
6686 bool temp2
= false ;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6693 PyObject
* obj2
= 0 ;
6694 PyObject
* obj3
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6701 if (!SWIG_IsOK(res1
)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6704 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6706 arg2
= wxString_in_helper(obj1
);
6707 if (arg2
== NULL
) SWIG_fail
;
6710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6711 if (!SWIG_IsOK(ecode3
)) {
6712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6714 arg3
= static_cast< wxBitmapType
>(val3
);
6716 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6717 if (!SWIG_IsOK(res4
)) {
6718 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6720 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6723 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6746 wxString
*arg2
= 0 ;
6751 bool temp2
= false ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 PyObject
* obj2
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "self",(char *) "name",(char *) "type", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6763 if (!SWIG_IsOK(res1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6766 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6768 arg2
= wxString_in_helper(obj1
);
6769 if (arg2
== NULL
) SWIG_fail
;
6772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6773 if (!SWIG_IsOK(ecode3
)) {
6774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6776 arg3
= static_cast< wxBitmapType
>(val3
);
6778 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6798 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6799 PyObject
*resultobj
= 0;
6800 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6801 wxPalette
*result
= 0 ;
6804 PyObject
*swig_obj
[1] ;
6806 if (!args
) SWIG_fail
;
6808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6809 if (!SWIG_IsOK(res1
)) {
6810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6812 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6814 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6824 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
= 0;
6826 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6827 wxPalette
*arg2
= 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "self",(char *) "palette", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6843 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6845 if (!SWIG_IsOK(res2
)) {
6846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6851 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6853 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_Py_Void();
6863 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
= 0;
6865 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 char * kwnames
[] = {
6875 (char *) "self",(char *) "icon", NULL
6878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6883 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6885 if (!SWIG_IsOK(res2
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6891 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6893 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6905 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= 0;
6907 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 char * kwnames
[] = {
6916 (char *) "self",(char *) "height", NULL
6919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6921 if (!SWIG_IsOK(res1
)) {
6922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6924 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6926 if (!SWIG_IsOK(ecode2
)) {
6927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6929 arg2
= static_cast< int >(val2
);
6931 (arg1
)->SetHeight(arg2
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= SWIG_Py_Void();
6941 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
= 0;
6943 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 char * kwnames
[] = {
6952 (char *) "self",(char *) "width", NULL
6955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6957 if (!SWIG_IsOK(res1
)) {
6958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6960 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6962 if (!SWIG_IsOK(ecode2
)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6965 arg2
= static_cast< int >(val2
);
6967 (arg1
)->SetWidth(arg2
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6970 resultobj
= SWIG_Py_Void();
6977 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
= 0;
6979 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "self",(char *) "depth", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6993 if (!SWIG_IsOK(res1
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6996 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6998 if (!SWIG_IsOK(ecode2
)) {
6999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7001 arg2
= static_cast< int >(val2
);
7003 (arg1
)->SetDepth(arg2
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
= 0;
7015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7022 char * kwnames
[] = {
7023 (char *) "self",(char *) "size", NULL
7026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7031 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7037 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_Py_Void();
7047 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
= 0;
7049 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7050 wxCursor
*arg2
= 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 char * kwnames
[] = {
7059 (char *) "self",(char *) "cursor", NULL
7062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7067 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7069 if (!SWIG_IsOK(res2
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7075 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7077 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7089 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
= 0;
7091 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7092 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7100 char * kwnames
[] = {
7101 (char *) "self",(char *) "other", NULL
7104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7109 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7111 if (!SWIG_IsOK(res2
)) {
7112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7114 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7116 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7128 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
= 0;
7130 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7131 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 char * kwnames
[] = {
7140 (char *) "self",(char *) "other", NULL
7143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7148 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7150 if (!SWIG_IsOK(res2
)) {
7151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7153 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7155 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7167 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7170 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7171 return SWIG_Py_Void();
7174 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7175 return SWIG_Python_InitShadowInstance(args
);
7178 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= 0;
7186 wxBitmap
*result
= 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7195 PyObject
* obj2
= 0 ;
7196 PyObject
* obj3
= 0 ;
7197 char * kwnames
[] = {
7198 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7202 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7203 if (!SWIG_IsOK(ecode1
)) {
7204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7206 arg1
= static_cast< int >(val1
);
7207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7208 if (!SWIG_IsOK(ecode2
)) {
7209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7211 arg2
= static_cast< int >(val2
);
7213 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7217 if (obj3
!= Py_None
) {
7218 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7223 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7233 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
= 0;
7239 wxBitmap
*result
= 0 ;
7245 PyObject
* obj0
= 0 ;
7246 PyObject
* obj1
= 0 ;
7247 PyObject
* obj2
= 0 ;
7248 char * kwnames
[] = {
7249 (char *) "width",(char *) "height",(char *) "data", NULL
7252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7254 if (!SWIG_IsOK(ecode1
)) {
7255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7257 arg1
= static_cast< int >(val1
);
7258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7259 if (!SWIG_IsOK(ecode2
)) {
7260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7262 arg2
= static_cast< int >(val2
);
7264 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7268 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7278 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
= 0;
7284 wxBitmap
*result
= 0 ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7292 PyObject
* obj2
= 0 ;
7293 char * kwnames
[] = {
7294 (char *) "width",(char *) "height",(char *) "data", NULL
7297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7299 if (!SWIG_IsOK(ecode1
)) {
7300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7302 arg1
= static_cast< int >(val1
);
7303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7304 if (!SWIG_IsOK(ecode2
)) {
7305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7307 arg2
= static_cast< int >(val2
);
7309 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7313 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7323 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7324 PyObject
*resultobj
= 0;
7325 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7329 PyObject
*swig_obj
[1] ;
7331 if (!args
) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7337 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7339 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7349 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7350 PyObject
*resultobj
= 0;
7351 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7355 PyObject
*swig_obj
[1] ;
7357 if (!args
) SWIG_fail
;
7359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7360 if (!SWIG_IsOK(res1
)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7363 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7365 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_From_int(static_cast< int >(result
));
7375 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 PyObject
*resultobj
= 0;
7377 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7381 PyObject
*swig_obj
[1] ;
7383 if (!args
) SWIG_fail
;
7385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7386 if (!SWIG_IsOK(res1
)) {
7387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7389 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7391 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= SWIG_From_int(static_cast< int >(result
));
7401 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7402 PyObject
*resultobj
= 0;
7403 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7407 PyObject
*swig_obj
[1] ;
7409 if (!args
) SWIG_fail
;
7411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7412 if (!SWIG_IsOK(res1
)) {
7413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7415 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7417 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7427 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7428 PyObject
*resultobj
= 0;
7429 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7433 PyObject
*swig_obj
[1] ;
7435 if (!args
) SWIG_fail
;
7437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7438 if (!SWIG_IsOK(res1
)) {
7439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7441 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7443 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_From_int(static_cast< int >(result
));
7453 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7457 return SWIG_Py_Void();
7460 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7461 PyObject
*resultobj
= 0;
7462 wxBitmap
*arg1
= 0 ;
7463 wxNativePixelData
*result
= 0 ;
7467 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7477 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7487 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7488 PyObject
*resultobj
= 0;
7489 wxBitmap
*arg1
= 0 ;
7491 wxNativePixelData
*result
= 0 ;
7496 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7504 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7507 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7510 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7520 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7521 PyObject
*resultobj
= 0;
7522 wxBitmap
*arg1
= 0 ;
7525 wxNativePixelData
*result
= 0 ;
7531 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7533 if (!SWIG_IsOK(res1
)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7542 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7546 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7549 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7559 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7563 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7566 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7569 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7572 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7576 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7581 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7582 PyObject
*resultobj
= 0;
7583 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7586 PyObject
*swig_obj
[1] ;
7588 if (!args
) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7594 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_Py_Void();
7607 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7608 PyObject
*resultobj
= 0;
7609 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7610 wxNativePixelData_Accessor result
;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7621 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7623 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7633 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7634 PyObject
*resultobj
= 0;
7635 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7638 PyObject
*swig_obj
[1] ;
7640 if (!args
) SWIG_fail
;
7642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7643 if (!SWIG_IsOK(res1
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7646 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_Py_Void();
7658 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7659 PyObject
*resultobj
= 0;
7660 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7664 PyObject
*swig_obj
[1] ;
7666 if (!args
) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7672 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7674 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7686 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7689 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7690 return SWIG_Py_Void();
7693 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7694 return SWIG_Python_InitShadowInstance(args
);
7697 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7698 PyObject
*resultobj
= 0;
7699 wxNativePixelData
*arg1
= 0 ;
7700 wxNativePixelData_Accessor
*result
= 0 ;
7704 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7706 if (!SWIG_IsOK(res1
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7712 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7714 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7724 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7725 PyObject
*resultobj
= 0;
7726 wxBitmap
*arg1
= 0 ;
7727 wxNativePixelData
*arg2
= 0 ;
7728 wxNativePixelData_Accessor
*result
= 0 ;
7734 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7742 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7743 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7744 if (!SWIG_IsOK(res2
)) {
7745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7750 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7752 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7762 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7763 PyObject
*resultobj
= 0;
7764 wxNativePixelData_Accessor
*result
= 0 ;
7766 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7768 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7778 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7782 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7785 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7788 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7791 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7795 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7800 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 PyObject
*resultobj
= 0;
7802 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7805 PyObject
*swig_obj
[1] ;
7807 if (!args
) SWIG_fail
;
7809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7810 if (!SWIG_IsOK(res1
)) {
7811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7813 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_Py_Void();
7826 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
= 0;
7828 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7829 wxNativePixelData
*arg2
= 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7836 char * kwnames
[] = {
7837 (char *) "self",(char *) "data", NULL
7840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7842 if (!SWIG_IsOK(res1
)) {
7843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7845 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7847 if (!SWIG_IsOK(res2
)) {
7848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7853 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7855 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_Py_Void();
7865 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 PyObject
*resultobj
= 0;
7867 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7871 PyObject
*swig_obj
[1] ;
7873 if (!args
) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7879 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7881 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7893 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7894 PyObject
*resultobj
= 0;
7895 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7898 PyObject
*swig_obj
[1] ;
7900 if (!args
) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7906 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7908 wxNativePixelData_Accessor_nextPixel(arg1
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_Py_Void();
7918 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7920 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7921 wxNativePixelData
*arg2
= 0 ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7934 PyObject
* obj2
= 0 ;
7935 PyObject
* obj3
= 0 ;
7936 char * kwnames
[] = {
7937 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7942 if (!SWIG_IsOK(res1
)) {
7943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7945 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7947 if (!SWIG_IsOK(res2
)) {
7948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7953 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7955 if (!SWIG_IsOK(ecode3
)) {
7956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7958 arg3
= static_cast< int >(val3
);
7959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7960 if (!SWIG_IsOK(ecode4
)) {
7961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7963 arg4
= static_cast< int >(val4
);
7965 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_Py_Void();
7975 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
= 0;
7977 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7978 wxNativePixelData
*arg2
= 0 ;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7988 PyObject
* obj2
= 0 ;
7989 char * kwnames
[] = {
7990 (char *) "self",(char *) "data",(char *) "x", NULL
7993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7995 if (!SWIG_IsOK(res1
)) {
7996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7998 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8000 if (!SWIG_IsOK(res2
)) {
8001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8006 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8008 if (!SWIG_IsOK(ecode3
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8011 arg3
= static_cast< int >(val3
);
8013 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_Py_Void();
8023 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
= 0;
8025 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8026 wxNativePixelData
*arg2
= 0 ;
8034 PyObject
* obj0
= 0 ;
8035 PyObject
* obj1
= 0 ;
8036 PyObject
* obj2
= 0 ;
8037 char * kwnames
[] = {
8038 (char *) "self",(char *) "data",(char *) "y", NULL
8041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8046 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8048 if (!SWIG_IsOK(res2
)) {
8049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8054 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8056 if (!SWIG_IsOK(ecode3
)) {
8057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8059 arg3
= static_cast< int >(val3
);
8061 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_Py_Void();
8071 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
= 0;
8073 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8074 wxNativePixelData
*arg2
= 0 ;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 PyObject
* obj2
= 0 ;
8088 PyObject
* obj3
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8098 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8100 if (!SWIG_IsOK(res2
)) {
8101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8106 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8108 if (!SWIG_IsOK(ecode3
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8111 arg3
= static_cast< int >(val3
);
8112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8113 if (!SWIG_IsOK(ecode4
)) {
8114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8116 arg4
= static_cast< int >(val4
);
8118 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= SWIG_Py_Void();
8128 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
= 0;
8130 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8136 unsigned char val2
;
8138 unsigned char val3
;
8140 unsigned char val4
;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8145 PyObject
* obj3
= 0 ;
8146 char * kwnames
[] = {
8147 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8152 if (!SWIG_IsOK(res1
)) {
8153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8155 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8156 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8157 if (!SWIG_IsOK(ecode2
)) {
8158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8160 arg2
= static_cast< byte
>(val2
);
8161 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8162 if (!SWIG_IsOK(ecode3
)) {
8163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8165 arg3
= static_cast< byte
>(val3
);
8166 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8167 if (!SWIG_IsOK(ecode4
)) {
8168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8170 arg4
= static_cast< byte
>(val4
);
8172 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_Py_Void();
8182 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8183 PyObject
*resultobj
= 0;
8184 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8185 PyObject
*result
= 0 ;
8188 PyObject
*swig_obj
[1] ;
8190 if (!args
) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8196 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8198 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8208 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8211 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8212 return SWIG_Py_Void();
8215 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8216 return SWIG_Python_InitShadowInstance(args
);
8219 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8220 PyObject
*resultobj
= 0;
8221 wxBitmap
*arg1
= 0 ;
8222 wxAlphaPixelData
*result
= 0 ;
8226 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8234 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8236 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8246 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8247 PyObject
*resultobj
= 0;
8248 wxBitmap
*arg1
= 0 ;
8250 wxAlphaPixelData
*result
= 0 ;
8255 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8257 if (!SWIG_IsOK(res1
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8263 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8266 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8269 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8279 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8280 PyObject
*resultobj
= 0;
8281 wxBitmap
*arg1
= 0 ;
8284 wxAlphaPixelData
*result
= 0 ;
8290 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8298 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8301 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8305 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8308 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8318 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8322 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8325 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8328 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8331 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8335 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8340 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 PyObject
*resultobj
= 0;
8342 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8345 PyObject
*swig_obj
[1] ;
8347 if (!args
) SWIG_fail
;
8349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8350 if (!SWIG_IsOK(res1
)) {
8351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8353 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= SWIG_Py_Void();
8366 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8367 PyObject
*resultobj
= 0;
8368 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8369 wxAlphaPixelData_Accessor result
;
8372 PyObject
*swig_obj
[1] ;
8374 if (!args
) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8380 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8382 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8392 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8393 PyObject
*resultobj
= 0;
8394 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8397 PyObject
*swig_obj
[1] ;
8399 if (!args
) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8405 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_Py_Void();
8417 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8418 PyObject
*resultobj
= 0;
8419 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8423 PyObject
*swig_obj
[1] ;
8425 if (!args
) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8431 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8433 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8445 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8448 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8449 return SWIG_Py_Void();
8452 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8453 return SWIG_Python_InitShadowInstance(args
);
8456 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8457 PyObject
*resultobj
= 0;
8458 wxAlphaPixelData
*arg1
= 0 ;
8459 wxAlphaPixelData_Accessor
*result
= 0 ;
8463 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8465 if (!SWIG_IsOK(res1
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8471 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8473 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8483 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8484 PyObject
*resultobj
= 0;
8485 wxBitmap
*arg1
= 0 ;
8486 wxAlphaPixelData
*arg2
= 0 ;
8487 wxAlphaPixelData_Accessor
*result
= 0 ;
8493 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8495 if (!SWIG_IsOK(res1
)) {
8496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8501 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8502 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8503 if (!SWIG_IsOK(res2
)) {
8504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8509 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8511 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8521 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8522 PyObject
*resultobj
= 0;
8523 wxAlphaPixelData_Accessor
*result
= 0 ;
8525 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8527 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8537 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8541 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8544 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8547 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8550 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8554 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8559 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8560 PyObject
*resultobj
= 0;
8561 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8564 PyObject
*swig_obj
[1] ;
8566 if (!args
) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8572 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= SWIG_Py_Void();
8585 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
= 0;
8587 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8588 wxAlphaPixelData
*arg2
= 0 ;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8595 char * kwnames
[] = {
8596 (char *) "self",(char *) "data", NULL
8599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8601 if (!SWIG_IsOK(res1
)) {
8602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8604 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8606 if (!SWIG_IsOK(res2
)) {
8607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8612 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8614 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_Py_Void();
8624 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8625 PyObject
*resultobj
= 0;
8626 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8630 PyObject
*swig_obj
[1] ;
8632 if (!args
) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8638 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8640 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8641 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8652 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8653 PyObject
*resultobj
= 0;
8654 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8657 PyObject
*swig_obj
[1] ;
8659 if (!args
) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8665 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8667 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_Py_Void();
8677 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
= 0;
8679 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8680 wxAlphaPixelData
*arg2
= 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 PyObject
* obj2
= 0 ;
8694 PyObject
* obj3
= 0 ;
8695 char * kwnames
[] = {
8696 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8701 if (!SWIG_IsOK(res1
)) {
8702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8704 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8706 if (!SWIG_IsOK(res2
)) {
8707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8712 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8714 if (!SWIG_IsOK(ecode3
)) {
8715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8717 arg3
= static_cast< int >(val3
);
8718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8719 if (!SWIG_IsOK(ecode4
)) {
8720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8722 arg4
= static_cast< int >(val4
);
8724 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_Py_Void();
8734 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8737 wxAlphaPixelData
*arg2
= 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 char * kwnames
[] = {
8749 (char *) "self",(char *) "data",(char *) "x", NULL
8752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8754 if (!SWIG_IsOK(res1
)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8757 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8759 if (!SWIG_IsOK(res2
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8765 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8767 if (!SWIG_IsOK(ecode3
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8770 arg3
= static_cast< int >(val3
);
8772 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= SWIG_Py_Void();
8782 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
= 0;
8784 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8785 wxAlphaPixelData
*arg2
= 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8796 char * kwnames
[] = {
8797 (char *) "self",(char *) "data",(char *) "y", NULL
8800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8802 if (!SWIG_IsOK(res1
)) {
8803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8805 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8807 if (!SWIG_IsOK(res2
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8813 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8815 if (!SWIG_IsOK(ecode3
)) {
8816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8818 arg3
= static_cast< int >(val3
);
8820 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_Py_Void();
8830 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
= 0;
8832 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8833 wxAlphaPixelData
*arg2
= 0 ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8847 PyObject
* obj3
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8857 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8859 if (!SWIG_IsOK(res2
)) {
8860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8865 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8867 if (!SWIG_IsOK(ecode3
)) {
8868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8870 arg3
= static_cast< int >(val3
);
8871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8872 if (!SWIG_IsOK(ecode4
)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8875 arg4
= static_cast< int >(val4
);
8877 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_Py_Void();
8887 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
= 0;
8889 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8896 unsigned char val2
;
8898 unsigned char val3
;
8900 unsigned char val4
;
8902 unsigned char val5
;
8904 PyObject
* obj0
= 0 ;
8905 PyObject
* obj1
= 0 ;
8906 PyObject
* obj2
= 0 ;
8907 PyObject
* obj3
= 0 ;
8908 PyObject
* obj4
= 0 ;
8909 char * kwnames
[] = {
8910 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8915 if (!SWIG_IsOK(res1
)) {
8916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8918 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8919 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8920 if (!SWIG_IsOK(ecode2
)) {
8921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8923 arg2
= static_cast< byte
>(val2
);
8924 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8925 if (!SWIG_IsOK(ecode3
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8928 arg3
= static_cast< byte
>(val3
);
8929 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8930 if (!SWIG_IsOK(ecode4
)) {
8931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8933 arg4
= static_cast< byte
>(val4
);
8934 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8935 if (!SWIG_IsOK(ecode5
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8938 arg5
= static_cast< byte
>(val5
);
8940 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_Py_Void();
8950 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 PyObject
*resultobj
= 0;
8952 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8953 PyObject
*result
= 0 ;
8956 PyObject
*swig_obj
[1] ;
8958 if (!args
) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8964 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8966 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8976 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8979 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8980 return SWIG_Py_Void();
8983 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 return SWIG_Python_InitShadowInstance(args
);
8987 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
= 0;
8989 wxBitmap
*arg1
= 0 ;
8990 wxColour
const &arg2_defvalue
= wxNullColour
;
8991 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8992 wxMask
*result
= 0 ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8998 char * kwnames
[] = {
8999 (char *) "bitmap",(char *) "colour", NULL
9002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9010 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9018 if (!wxPyCheckForApp()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9031 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 PyObject
*resultobj
= 0;
9033 wxMask
*arg1
= (wxMask
*) 0 ;
9036 PyObject
*swig_obj
[1] ;
9038 if (!args
) SWIG_fail
;
9040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9041 if (!SWIG_IsOK(res1
)) {
9042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9044 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_Py_Void();
9057 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9060 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9061 return SWIG_Py_Void();
9064 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9065 return SWIG_Python_InitShadowInstance(args
);
9068 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= 0;
9070 wxString
*arg1
= 0 ;
9072 int arg3
= (int) -1 ;
9073 int arg4
= (int) -1 ;
9074 wxIcon
*result
= 0 ;
9075 bool temp1
= false ;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9085 PyObject
* obj3
= 0 ;
9086 char * kwnames
[] = {
9087 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9092 arg1
= wxString_in_helper(obj0
);
9093 if (arg1
== NULL
) SWIG_fail
;
9096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9097 if (!SWIG_IsOK(ecode2
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9100 arg2
= static_cast< wxBitmapType
>(val2
);
9102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9103 if (!SWIG_IsOK(ecode3
)) {
9104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9106 arg3
= static_cast< int >(val3
);
9109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9110 if (!SWIG_IsOK(ecode4
)) {
9111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9113 arg4
= static_cast< int >(val4
);
9116 if (!wxPyCheckForApp()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9137 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9138 PyObject
*resultobj
= 0;
9139 wxIcon
*arg1
= (wxIcon
*) 0 ;
9142 PyObject
*swig_obj
[1] ;
9144 if (!args
) SWIG_fail
;
9146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9147 if (!SWIG_IsOK(res1
)) {
9148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9150 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_Py_Void();
9165 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9166 PyObject
*resultobj
= 0;
9167 wxIcon
*result
= 0 ;
9169 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9171 if (!wxPyCheckForApp()) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (wxIcon
*)new wxIcon();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9184 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
= 0;
9186 wxIconLocation
*arg1
= 0 ;
9187 wxIcon
*result
= 0 ;
9190 PyObject
* obj0
= 0 ;
9191 char * kwnames
[] = {
9192 (char *) "loc", NULL
9195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9196 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9197 if (!SWIG_IsOK(res1
)) {
9198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9203 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9205 if (!wxPyCheckForApp()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9218 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= 0;
9220 wxBitmap
*arg1
= 0 ;
9221 wxIcon
*result
= 0 ;
9224 PyObject
* obj0
= 0 ;
9225 char * kwnames
[] = {
9226 (char *) "bmp", NULL
9229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9237 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9239 if (!wxPyCheckForApp()) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9252 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
= 0;
9254 PyObject
*arg1
= (PyObject
*) 0 ;
9255 wxIcon
*result
= 0 ;
9256 PyObject
* obj0
= 0 ;
9257 char * kwnames
[] = {
9258 (char *) "listOfStrings", NULL
9261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9264 if (!wxPyCheckForApp()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (wxIcon
*)new_wxIcon(arg1
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9277 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxIcon
*arg1
= (wxIcon
*) 0 ;
9280 wxString
*arg2
= 0 ;
9285 bool temp2
= false ;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9290 PyObject
* obj2
= 0 ;
9291 char * kwnames
[] = {
9292 (char *) "self",(char *) "name",(char *) "type", NULL
9295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9300 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9302 arg2
= wxString_in_helper(obj1
);
9303 if (arg2
== NULL
) SWIG_fail
;
9306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9307 if (!SWIG_IsOK(ecode3
)) {
9308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9310 arg3
= static_cast< wxBitmapType
>(val3
);
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9334 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9335 PyObject
*resultobj
= 0;
9336 wxIcon
*arg1
= (wxIcon
*) 0 ;
9340 PyObject
*swig_obj
[1] ;
9342 if (!args
) SWIG_fail
;
9344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9345 if (!SWIG_IsOK(res1
)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9348 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (long)(arg1
)->GetHandle();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_From_long(static_cast< long >(result
));
9362 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxIcon
*arg1
= (wxIcon
*) 0 ;
9370 PyObject
* obj0
= 0 ;
9371 PyObject
* obj1
= 0 ;
9372 char * kwnames
[] = {
9373 (char *) "self",(char *) "handle", NULL
9376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9378 if (!SWIG_IsOK(res1
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9381 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9382 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9383 if (!SWIG_IsOK(ecode2
)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9386 arg2
= static_cast< long >(val2
);
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 wxIcon_SetHandle(arg1
,arg2
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_Py_Void();
9400 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9401 PyObject
*resultobj
= 0;
9402 wxIcon
*arg1
= (wxIcon
*) 0 ;
9406 PyObject
*swig_obj
[1] ;
9408 if (!args
) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9414 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (bool)(arg1
)->IsOk();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9430 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9431 PyObject
*resultobj
= 0;
9432 wxIcon
*arg1
= (wxIcon
*) 0 ;
9436 PyObject
*swig_obj
[1] ;
9438 if (!args
) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9444 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (int)(arg1
)->GetWidth();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_int(static_cast< int >(result
));
9458 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9459 PyObject
*resultobj
= 0;
9460 wxIcon
*arg1
= (wxIcon
*) 0 ;
9464 PyObject
*swig_obj
[1] ;
9466 if (!args
) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9472 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (int)(arg1
)->GetHeight();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_From_int(static_cast< int >(result
));
9486 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9487 PyObject
*resultobj
= 0;
9488 wxIcon
*arg1
= (wxIcon
*) 0 ;
9492 PyObject
*swig_obj
[1] ;
9494 if (!args
) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9500 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (int)(arg1
)->GetDepth();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= SWIG_From_int(static_cast< int >(result
));
9514 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
= 0;
9516 wxIcon
*arg1
= (wxIcon
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "w", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9533 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9535 if (!SWIG_IsOK(ecode2
)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9538 arg2
= static_cast< int >(val2
);
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->SetWidth(arg2
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_Py_Void();
9552 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
= 0;
9554 wxIcon
*arg1
= (wxIcon
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9562 char * kwnames
[] = {
9563 (char *) "self",(char *) "h", NULL
9566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9568 if (!SWIG_IsOK(res1
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9571 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9573 if (!SWIG_IsOK(ecode2
)) {
9574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9576 arg2
= static_cast< int >(val2
);
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 (arg1
)->SetHeight(arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_Py_Void();
9590 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxIcon
*arg1
= (wxIcon
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "self",(char *) "d", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9606 if (!SWIG_IsOK(res1
)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9609 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9611 if (!SWIG_IsOK(ecode2
)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9614 arg2
= static_cast< int >(val2
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 (arg1
)->SetDepth(arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9628 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
= 0;
9630 wxIcon
*arg1
= (wxIcon
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9637 char * kwnames
[] = {
9638 (char *) "self",(char *) "size", NULL
9641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9646 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 (arg1
)->SetSize((wxSize
const &)*arg2
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= SWIG_Py_Void();
9664 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
= 0;
9666 wxIcon
*arg1
= (wxIcon
*) 0 ;
9667 wxBitmap
*arg2
= 0 ;
9672 PyObject
* obj0
= 0 ;
9673 PyObject
* obj1
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "bmp", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9683 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9685 if (!SWIG_IsOK(res2
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9691 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9708 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9709 return SWIG_Py_Void();
9712 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9713 return SWIG_Python_InitShadowInstance(args
);
9716 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= 0;
9718 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9719 int arg2
= (int) 0 ;
9720 wxIconLocation
*result
= 0 ;
9721 bool temp1
= false ;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 char * kwnames
[] = {
9727 (char *) "filename",(char *) "num", NULL
9730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9733 arg1
= wxString_in_helper(obj0
);
9734 if (arg1
== NULL
) SWIG_fail
;
9739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9740 if (!SWIG_IsOK(ecode2
)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9743 arg2
= static_cast< int >(val2
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9766 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9767 PyObject
*resultobj
= 0;
9768 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9771 PyObject
*swig_obj
[1] ;
9773 if (!args
) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9779 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_Py_Void();
9794 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9795 PyObject
*resultobj
= 0;
9796 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9800 PyObject
*swig_obj
[1] ;
9802 if (!args
) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9808 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9824 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
= 0;
9826 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9827 wxString
*arg2
= 0 ;
9830 bool temp2
= false ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 char * kwnames
[] = {
9834 (char *) "self",(char *) "filename", NULL
9837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9839 if (!SWIG_IsOK(res1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9842 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9844 arg2
= wxString_in_helper(obj1
);
9845 if (arg2
== NULL
) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 (arg1
)->SetFileName((wxString
const &)*arg2
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_Py_Void();
9869 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9870 PyObject
*resultobj
= 0;
9871 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9872 wxString
*result
= 0 ;
9875 PyObject
*swig_obj
[1] ;
9877 if (!args
) SWIG_fail
;
9879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9880 if (!SWIG_IsOK(res1
)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9883 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9888 result
= (wxString
*) &_result_ref
;
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9906 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "self",(char *) "num", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9925 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9927 if (!SWIG_IsOK(ecode2
)) {
9928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9930 arg2
= static_cast< int >(val2
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 wxIconLocation_SetIndex(arg1
,arg2
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_Py_Void();
9944 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9945 PyObject
*resultobj
= 0;
9946 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9950 PyObject
*swig_obj
[1] ;
9952 if (!args
) SWIG_fail
;
9954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9955 if (!SWIG_IsOK(res1
)) {
9956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9958 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (int)wxIconLocation_GetIndex(arg1
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_From_int(static_cast< int >(result
));
9972 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9975 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9976 return SWIG_Py_Void();
9979 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 return SWIG_Python_InitShadowInstance(args
);
9983 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9984 PyObject
*resultobj
= 0;
9985 wxIconBundle
*result
= 0 ;
9987 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (wxIconBundle
*)new wxIconBundle();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10001 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= 0;
10003 wxString
*arg1
= 0 ;
10005 wxIconBundle
*result
= 0 ;
10006 bool temp1
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "file",(char *) "type", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10017 arg1
= wxString_in_helper(obj0
);
10018 if (arg1
== NULL
) SWIG_fail
;
10021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10022 if (!SWIG_IsOK(ecode2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10025 arg2
= static_cast< long >(val2
);
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10047 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= 0;
10050 wxIconBundle
*result
= 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char * kwnames
[] = {
10055 (char *) "icon", NULL
10058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10059 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10060 if (!SWIG_IsOK(res1
)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10066 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10080 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10081 PyObject
*resultobj
= 0;
10082 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10085 PyObject
*swig_obj
[1] ;
10087 if (!args
) SWIG_fail
;
10088 swig_obj
[0] = args
;
10089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10093 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_Py_Void();
10108 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
= 0;
10110 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 char * kwnames
[] = {
10119 (char *) "self",(char *) "icon", NULL
10122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10127 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10129 if (!SWIG_IsOK(res2
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10135 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_Py_Void();
10149 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
= 0;
10151 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10152 wxString
*arg2
= 0 ;
10156 bool temp2
= false ;
10159 PyObject
* obj0
= 0 ;
10160 PyObject
* obj1
= 0 ;
10161 PyObject
* obj2
= 0 ;
10162 char * kwnames
[] = {
10163 (char *) "self",(char *) "file",(char *) "type", NULL
10166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10168 if (!SWIG_IsOK(res1
)) {
10169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10171 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10173 arg2
= wxString_in_helper(obj1
);
10174 if (arg2
== NULL
) SWIG_fail
;
10177 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10178 if (!SWIG_IsOK(ecode3
)) {
10179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10181 arg3
= static_cast< long >(val3
);
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_Py_Void();
10203 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10207 wxIcon
*result
= 0 ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char * kwnames
[] = {
10214 (char *) "self",(char *) "size", NULL
10217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10222 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10225 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10231 result
= (wxIcon
*) &_result_ref
;
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10237 wxIcon
* resultptr
= new wxIcon(*result
);
10238 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10246 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10249 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10250 return SWIG_Py_Void();
10253 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10254 return SWIG_Python_InitShadowInstance(args
);
10257 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
= 0;
10259 wxString
*arg1
= 0 ;
10261 int arg3
= (int) 0 ;
10262 int arg4
= (int) 0 ;
10263 wxCursor
*result
= 0 ;
10264 bool temp1
= false ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 PyObject
* obj2
= 0 ;
10274 PyObject
* obj3
= 0 ;
10275 char * kwnames
[] = {
10276 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10281 arg1
= wxString_in_helper(obj0
);
10282 if (arg1
== NULL
) SWIG_fail
;
10285 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10286 if (!SWIG_IsOK(ecode2
)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10289 arg2
= static_cast< long >(val2
);
10291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10292 if (!SWIG_IsOK(ecode3
)) {
10293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10295 arg3
= static_cast< int >(val3
);
10298 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10299 if (!SWIG_IsOK(ecode4
)) {
10300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10302 arg4
= static_cast< int >(val4
);
10305 if (!wxPyCheckForApp()) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10326 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10327 PyObject
*resultobj
= 0;
10328 wxCursor
*arg1
= (wxCursor
*) 0 ;
10331 PyObject
*swig_obj
[1] ;
10333 if (!args
) SWIG_fail
;
10334 swig_obj
[0] = args
;
10335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10339 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_Py_Void();
10354 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10357 wxCursor
*result
= 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char * kwnames
[] = {
10362 (char *) "id", NULL
10365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10367 if (!SWIG_IsOK(ecode1
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10370 arg1
= static_cast< int >(val1
);
10372 if (!wxPyCheckForApp()) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxCursor
*)new wxCursor(arg1
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10385 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxImage
*arg1
= 0 ;
10388 wxCursor
*result
= 0 ;
10391 PyObject
* obj0
= 0 ;
10392 char * kwnames
[] = {
10393 (char *) "image", NULL
10396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10397 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10404 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10406 if (!wxPyCheckForApp()) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10419 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 PyObject
*resultobj
= 0;
10421 wxCursor
*arg1
= (wxCursor
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10433 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (long)(arg1
)->GetHandle();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_From_long(static_cast< long >(result
));
10447 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxCursor
*arg1
= (wxCursor
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char * kwnames
[] = {
10458 (char *) "self",(char *) "handle", NULL
10461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10466 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10467 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10468 if (!SWIG_IsOK(ecode2
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10471 arg2
= static_cast< long >(val2
);
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 wxCursor_SetHandle(arg1
,arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_Py_Void();
10485 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxCursor
*arg1
= (wxCursor
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10499 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (bool)(arg1
)->IsOk();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10515 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10516 PyObject
*resultobj
= 0;
10517 wxCursor
*arg1
= (wxCursor
*) 0 ;
10521 PyObject
*swig_obj
[1] ;
10523 if (!args
) SWIG_fail
;
10524 swig_obj
[0] = args
;
10525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10529 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (int)(arg1
)->GetWidth();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_From_int(static_cast< int >(result
));
10543 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10544 PyObject
*resultobj
= 0;
10545 wxCursor
*arg1
= (wxCursor
*) 0 ;
10549 PyObject
*swig_obj
[1] ;
10551 if (!args
) SWIG_fail
;
10552 swig_obj
[0] = args
;
10553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10554 if (!SWIG_IsOK(res1
)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10557 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (int)(arg1
)->GetHeight();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_From_int(static_cast< int >(result
));
10571 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10572 PyObject
*resultobj
= 0;
10573 wxCursor
*arg1
= (wxCursor
*) 0 ;
10577 PyObject
*swig_obj
[1] ;
10579 if (!args
) SWIG_fail
;
10580 swig_obj
[0] = args
;
10581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10582 if (!SWIG_IsOK(res1
)) {
10583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10585 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= (int)(arg1
)->GetDepth();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_From_int(static_cast< int >(result
));
10599 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= 0;
10601 wxCursor
*arg1
= (wxCursor
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "self",(char *) "w", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10618 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10620 if (!SWIG_IsOK(ecode2
)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10623 arg2
= static_cast< int >(val2
);
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->SetWidth(arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= SWIG_Py_Void();
10637 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
= 0;
10639 wxCursor
*arg1
= (wxCursor
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 PyObject
* obj1
= 0 ;
10647 char * kwnames
[] = {
10648 (char *) "self",(char *) "h", NULL
10651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10653 if (!SWIG_IsOK(res1
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10656 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10658 if (!SWIG_IsOK(ecode2
)) {
10659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10661 arg2
= static_cast< int >(val2
);
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 (arg1
)->SetHeight(arg2
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_Py_Void();
10675 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
= 0;
10677 wxCursor
*arg1
= (wxCursor
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char * kwnames
[] = {
10686 (char *) "self",(char *) "d", NULL
10689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10694 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10696 if (!SWIG_IsOK(ecode2
)) {
10697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10699 arg2
= static_cast< int >(val2
);
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 (arg1
)->SetDepth(arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_Py_Void();
10713 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
= 0;
10715 wxCursor
*arg1
= (wxCursor
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 char * kwnames
[] = {
10723 (char *) "self",(char *) "size", NULL
10726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10728 if (!SWIG_IsOK(res1
)) {
10729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10731 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 (arg1
)->SetSize((wxSize
const &)*arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_Py_Void();
10749 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10752 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10753 return SWIG_Py_Void();
10756 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10757 return SWIG_Python_InitShadowInstance(args
);
10760 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
= 0;
10762 int arg1
= (int) 0 ;
10763 int arg2
= (int) 0 ;
10764 int arg3
= (int) 0 ;
10765 int arg4
= (int) 0 ;
10766 wxRegion
*result
= 0 ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 PyObject
* obj2
= 0 ;
10778 PyObject
* obj3
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10786 if (!SWIG_IsOK(ecode1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10789 arg1
= static_cast< int >(val1
);
10792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10793 if (!SWIG_IsOK(ecode2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10796 arg2
= static_cast< int >(val2
);
10799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10800 if (!SWIG_IsOK(ecode3
)) {
10801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10803 arg3
= static_cast< int >(val3
);
10806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10807 if (!SWIG_IsOK(ecode4
)) {
10808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10810 arg4
= static_cast< int >(val4
);
10813 if (!wxPyCheckForApp()) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10826 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxBitmap
*arg1
= 0 ;
10829 wxRegion
*result
= 0 ;
10832 PyObject
* obj0
= 0 ;
10833 char * kwnames
[] = {
10834 (char *) "bmp", NULL
10837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10838 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10839 if (!SWIG_IsOK(res1
)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10845 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10847 if (!wxPyCheckForApp()) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10860 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
= 0;
10862 wxBitmap
*arg1
= 0 ;
10863 wxColour
*arg2
= 0 ;
10864 int arg3
= (int) 0 ;
10865 wxRegion
*result
= 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 char * kwnames
[] = {
10875 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10879 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10886 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10889 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10893 if (!SWIG_IsOK(ecode3
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10896 arg3
= static_cast< int >(val3
);
10899 if (!wxPyCheckForApp()) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10912 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
= 0;
10915 wxPoint
*arg2
= (wxPoint
*) 0 ;
10916 int arg3
= (int) wxWINDING_RULE
;
10917 wxRegion
*result
= 0 ;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 char * kwnames
[] = {
10923 (char *) "points",(char *) "fillStyle", NULL
10926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10928 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10929 if (arg2
== NULL
) SWIG_fail
;
10932 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10933 if (!SWIG_IsOK(ecode3
)) {
10934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10936 arg3
= static_cast< int >(val3
);
10939 if (!wxPyCheckForApp()) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10947 if (arg2
) delete [] arg2
;
10952 if (arg2
) delete [] arg2
;
10958 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxRegion
*arg1
= (wxRegion
*) 0 ;
10963 PyObject
*swig_obj
[1] ;
10965 if (!args
) SWIG_fail
;
10966 swig_obj
[0] = args
;
10967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10968 if (!SWIG_IsOK(res1
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10971 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_Py_Void();
10986 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10987 PyObject
*resultobj
= 0;
10988 wxRegion
*arg1
= (wxRegion
*) 0 ;
10991 PyObject
*swig_obj
[1] ;
10993 if (!args
) SWIG_fail
;
10994 swig_obj
[0] = args
;
10995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10999 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_Py_Void();
11013 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= 0;
11015 wxRegion
*arg1
= (wxRegion
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 PyObject
* obj1
= 0 ;
11027 PyObject
* obj2
= 0 ;
11028 char * kwnames
[] = {
11029 (char *) "self",(char *) "x",(char *) "y", NULL
11032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11037 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11039 if (!SWIG_IsOK(ecode2
)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11042 arg2
= static_cast< int >(val2
);
11043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11044 if (!SWIG_IsOK(ecode3
)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11047 arg3
= static_cast< int >(val3
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
= 0;
11065 wxRegion
*arg1
= (wxRegion
*) 0 ;
11068 wxRegionContain result
;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 PyObject
* obj2
= 0 ;
11078 char * kwnames
[] = {
11079 (char *) "self",(char *) "x",(char *) "y", NULL
11082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11084 if (!SWIG_IsOK(res1
)) {
11085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11087 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11089 if (!SWIG_IsOK(ecode2
)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11092 arg2
= static_cast< int >(val2
);
11093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11094 if (!SWIG_IsOK(ecode3
)) {
11095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11097 arg3
= static_cast< int >(val3
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_From_int(static_cast< int >(result
));
11111 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
= 0;
11113 wxRegion
*arg1
= (wxRegion
*) 0 ;
11114 wxPoint
*arg2
= 0 ;
11115 wxRegionContain result
;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char * kwnames
[] = {
11122 (char *) "self",(char *) "pt", NULL
11125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11130 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_From_int(static_cast< int >(result
));
11148 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
= 0;
11150 wxRegion
*arg1
= (wxRegion
*) 0 ;
11152 wxRegionContain result
;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "rect", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11167 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11170 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_From_int(static_cast< int >(result
));
11185 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= 0;
11187 wxRegion
*arg1
= (wxRegion
*) 0 ;
11192 wxRegionContain result
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 PyObject
* obj2
= 0 ;
11206 PyObject
* obj3
= 0 ;
11207 PyObject
* obj4
= 0 ;
11208 char * kwnames
[] = {
11209 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11217 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11219 if (!SWIG_IsOK(ecode2
)) {
11220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11222 arg2
= static_cast< int >(val2
);
11223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11224 if (!SWIG_IsOK(ecode3
)) {
11225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11227 arg3
= static_cast< int >(val3
);
11228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11229 if (!SWIG_IsOK(ecode4
)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11232 arg4
= static_cast< int >(val4
);
11233 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11234 if (!SWIG_IsOK(ecode5
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11237 arg5
= static_cast< int >(val5
);
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_From_int(static_cast< int >(result
));
11251 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11252 PyObject
*resultobj
= 0;
11253 wxRegion
*arg1
= (wxRegion
*) 0 ;
11257 PyObject
*swig_obj
[1] ;
11259 if (!args
) SWIG_fail
;
11260 swig_obj
[0] = args
;
11261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11262 if (!SWIG_IsOK(res1
)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11265 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (arg1
)->GetBox();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11279 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= 0;
11281 wxRegion
*arg1
= (wxRegion
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 PyObject
* obj2
= 0 ;
11300 PyObject
* obj3
= 0 ;
11301 PyObject
* obj4
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11311 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11313 if (!SWIG_IsOK(ecode2
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11316 arg2
= static_cast< int >(val2
);
11317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11318 if (!SWIG_IsOK(ecode3
)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11321 arg3
= static_cast< int >(val3
);
11322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11323 if (!SWIG_IsOK(ecode4
)) {
11324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11326 arg4
= static_cast< int >(val4
);
11327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11328 if (!SWIG_IsOK(ecode5
)) {
11329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11331 arg5
= static_cast< int >(val5
);
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11347 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11348 PyObject
*resultobj
= 0;
11349 wxRegion
*arg1
= (wxRegion
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 PyObject
* obj1
= 0 ;
11357 char * kwnames
[] = {
11358 (char *) "self",(char *) "rect", NULL
11361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11363 if (!SWIG_IsOK(res1
)) {
11364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11366 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11369 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11386 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
= 0;
11388 wxRegion
*arg1
= (wxRegion
*) 0 ;
11389 wxRegion
*arg2
= 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char * kwnames
[] = {
11398 (char *) "self",(char *) "region", NULL
11401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11403 if (!SWIG_IsOK(res1
)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11406 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11407 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11408 if (!SWIG_IsOK(res2
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11414 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11430 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11431 PyObject
*resultobj
= 0;
11432 wxRegion
*arg1
= (wxRegion
*) 0 ;
11436 PyObject
*swig_obj
[1] ;
11438 if (!args
) SWIG_fail
;
11439 swig_obj
[0] = args
;
11440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11444 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (bool)(arg1
)->IsEmpty();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11460 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11461 PyObject
*resultobj
= 0;
11462 wxRegion
*arg1
= (wxRegion
*) 0 ;
11463 wxRegion
*arg2
= 0 ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 char * kwnames
[] = {
11472 (char *) "self",(char *) "region", NULL
11475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11477 if (!SWIG_IsOK(res1
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11480 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11482 if (!SWIG_IsOK(res2
)) {
11483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11488 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11504 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxRegion
*arg1
= (wxRegion
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 PyObject
* obj2
= 0 ;
11525 PyObject
* obj3
= 0 ;
11526 PyObject
* obj4
= 0 ;
11527 char * kwnames
[] = {
11528 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11533 if (!SWIG_IsOK(res1
)) {
11534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11538 if (!SWIG_IsOK(ecode2
)) {
11539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11541 arg2
= static_cast< int >(val2
);
11542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11543 if (!SWIG_IsOK(ecode3
)) {
11544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11546 arg3
= static_cast< int >(val3
);
11547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11548 if (!SWIG_IsOK(ecode4
)) {
11549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11551 arg4
= static_cast< int >(val4
);
11552 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11553 if (!SWIG_IsOK(ecode5
)) {
11554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11556 arg5
= static_cast< int >(val5
);
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11572 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
= 0;
11574 wxRegion
*arg1
= (wxRegion
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char * kwnames
[] = {
11583 (char *) "self",(char *) "rect", NULL
11586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11591 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11594 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11611 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxRegion
*arg1
= (wxRegion
*) 0 ;
11614 wxRegion
*arg2
= 0 ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char * kwnames
[] = {
11623 (char *) "self",(char *) "region", NULL
11626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11628 if (!SWIG_IsOK(res1
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11631 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11633 if (!SWIG_IsOK(res2
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11639 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11655 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
= 0;
11657 wxRegion
*arg1
= (wxRegion
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 PyObject
* obj2
= 0 ;
11676 PyObject
* obj3
= 0 ;
11677 PyObject
* obj4
= 0 ;
11678 char * kwnames
[] = {
11679 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11684 if (!SWIG_IsOK(res1
)) {
11685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11687 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11689 if (!SWIG_IsOK(ecode2
)) {
11690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11692 arg2
= static_cast< int >(val2
);
11693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11694 if (!SWIG_IsOK(ecode3
)) {
11695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11697 arg3
= static_cast< int >(val3
);
11698 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11699 if (!SWIG_IsOK(ecode4
)) {
11700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11702 arg4
= static_cast< int >(val4
);
11703 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11704 if (!SWIG_IsOK(ecode5
)) {
11705 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11707 arg5
= static_cast< int >(val5
);
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11723 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
= 0;
11725 wxRegion
*arg1
= (wxRegion
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 char * kwnames
[] = {
11734 (char *) "self",(char *) "rect", NULL
11737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11742 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11745 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11762 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11763 PyObject
*resultobj
= 0;
11764 wxRegion
*arg1
= (wxRegion
*) 0 ;
11765 wxRegion
*arg2
= 0 ;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 char * kwnames
[] = {
11774 (char *) "self",(char *) "region", NULL
11777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11779 if (!SWIG_IsOK(res1
)) {
11780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11782 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11784 if (!SWIG_IsOK(res2
)) {
11785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11790 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11806 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
= 0;
11808 wxRegion
*arg1
= (wxRegion
*) 0 ;
11824 PyObject
* obj0
= 0 ;
11825 PyObject
* obj1
= 0 ;
11826 PyObject
* obj2
= 0 ;
11827 PyObject
* obj3
= 0 ;
11828 PyObject
* obj4
= 0 ;
11829 char * kwnames
[] = {
11830 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11838 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11840 if (!SWIG_IsOK(ecode2
)) {
11841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11843 arg2
= static_cast< int >(val2
);
11844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11845 if (!SWIG_IsOK(ecode3
)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11848 arg3
= static_cast< int >(val3
);
11849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11850 if (!SWIG_IsOK(ecode4
)) {
11851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11853 arg4
= static_cast< int >(val4
);
11854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11855 if (!SWIG_IsOK(ecode5
)) {
11856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11858 arg5
= static_cast< int >(val5
);
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11874 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= 0;
11876 wxRegion
*arg1
= (wxRegion
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char * kwnames
[] = {
11885 (char *) "self",(char *) "rect", NULL
11888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11893 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11901 wxPyEndAllowThreads(__tstate
);
11902 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11913 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
= 0;
11915 wxRegion
*arg1
= (wxRegion
*) 0 ;
11916 wxRegion
*arg2
= 0 ;
11922 PyObject
* obj0
= 0 ;
11923 PyObject
* obj1
= 0 ;
11924 char * kwnames
[] = {
11925 (char *) "self",(char *) "region", NULL
11928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11930 if (!SWIG_IsOK(res1
)) {
11931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11933 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11935 if (!SWIG_IsOK(res2
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11941 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11957 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11958 PyObject
*resultobj
= 0;
11959 wxRegion
*arg1
= (wxRegion
*) 0 ;
11960 SwigValueWrapper
<wxBitmap
> result
;
11963 PyObject
*swig_obj
[1] ;
11965 if (!args
) SWIG_fail
;
11966 swig_obj
[0] = args
;
11967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11968 if (!SWIG_IsOK(res1
)) {
11969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11971 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (arg1
)->ConvertToBitmap();
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11985 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
= 0;
11987 wxRegion
*arg1
= (wxRegion
*) 0 ;
11988 wxBitmap
*arg2
= 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "bmp", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12005 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12007 if (!SWIG_IsOK(res2
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12013 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12029 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
= 0;
12031 wxRegion
*arg1
= (wxRegion
*) 0 ;
12032 wxBitmap
*arg2
= 0 ;
12033 wxColour
*arg3
= 0 ;
12034 int arg4
= (int) 0 ;
12043 PyObject
* obj0
= 0 ;
12044 PyObject
* obj1
= 0 ;
12045 PyObject
* obj2
= 0 ;
12046 PyObject
* obj3
= 0 ;
12047 char * kwnames
[] = {
12048 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12053 if (!SWIG_IsOK(res1
)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12056 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12058 if (!SWIG_IsOK(res2
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12064 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12067 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12071 if (!SWIG_IsOK(ecode4
)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12074 arg4
= static_cast< int >(val4
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12094 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12095 return SWIG_Py_Void();
12098 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 return SWIG_Python_InitShadowInstance(args
);
12102 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
= 0;
12104 wxRegion
*arg1
= 0 ;
12105 wxRegionIterator
*result
= 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char * kwnames
[] = {
12110 (char *) "region", NULL
12113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12114 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12121 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12123 if (!wxPyCheckForApp()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12136 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12137 PyObject
*resultobj
= 0;
12138 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12141 PyObject
*swig_obj
[1] ;
12143 if (!args
) SWIG_fail
;
12144 swig_obj
[0] = args
;
12145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12146 if (!SWIG_IsOK(res1
)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12149 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_Py_Void();
12164 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 PyObject
*resultobj
= 0;
12166 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12170 PyObject
*swig_obj
[1] ;
12172 if (!args
) SWIG_fail
;
12173 swig_obj
[0] = args
;
12174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12175 if (!SWIG_IsOK(res1
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12178 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (int)(arg1
)->GetX();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_From_int(static_cast< int >(result
));
12192 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12193 PyObject
*resultobj
= 0;
12194 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12198 PyObject
*swig_obj
[1] ;
12200 if (!args
) SWIG_fail
;
12201 swig_obj
[0] = args
;
12202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12203 if (!SWIG_IsOK(res1
)) {
12204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12206 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (int)(arg1
)->GetY();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_From_int(static_cast< int >(result
));
12220 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12221 PyObject
*resultobj
= 0;
12222 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12226 PyObject
*swig_obj
[1] ;
12228 if (!args
) SWIG_fail
;
12229 swig_obj
[0] = args
;
12230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12231 if (!SWIG_IsOK(res1
)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12234 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (int)(arg1
)->GetW();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_From_int(static_cast< int >(result
));
12248 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12249 PyObject
*resultobj
= 0;
12250 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12254 PyObject
*swig_obj
[1] ;
12256 if (!args
) SWIG_fail
;
12257 swig_obj
[0] = args
;
12258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12262 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (int)(arg1
)->GetWidth();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= SWIG_From_int(static_cast< int >(result
));
12276 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12277 PyObject
*resultobj
= 0;
12278 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12282 PyObject
*swig_obj
[1] ;
12284 if (!args
) SWIG_fail
;
12285 swig_obj
[0] = args
;
12286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12287 if (!SWIG_IsOK(res1
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12290 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (int)(arg1
)->GetH();
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_From_int(static_cast< int >(result
));
12304 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12305 PyObject
*resultobj
= 0;
12306 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12310 PyObject
*swig_obj
[1] ;
12312 if (!args
) SWIG_fail
;
12313 swig_obj
[0] = args
;
12314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12318 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (int)(arg1
)->GetHeight();
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_From_int(static_cast< int >(result
));
12332 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12338 PyObject
*swig_obj
[1] ;
12340 if (!args
) SWIG_fail
;
12341 swig_obj
[0] = args
;
12342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12346 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (arg1
)->GetRect();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12360 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12361 PyObject
*resultobj
= 0;
12362 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12366 PyObject
*swig_obj
[1] ;
12368 if (!args
) SWIG_fail
;
12369 swig_obj
[0] = args
;
12370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12371 if (!SWIG_IsOK(res1
)) {
12372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12374 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 result
= (bool)(arg1
)->HaveRects();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12390 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12391 PyObject
*resultobj
= 0;
12392 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12395 PyObject
*swig_obj
[1] ;
12397 if (!args
) SWIG_fail
;
12398 swig_obj
[0] = args
;
12399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12403 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_Py_Void();
12417 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12422 PyObject
*swig_obj
[1] ;
12424 if (!args
) SWIG_fail
;
12425 swig_obj
[0] = args
;
12426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12427 if (!SWIG_IsOK(res1
)) {
12428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12430 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 wxRegionIterator_Next(arg1
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12445 PyObject
*resultobj
= 0;
12446 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12450 PyObject
*swig_obj
[1] ;
12452 if (!args
) SWIG_fail
;
12453 swig_obj
[0] = args
;
12454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12458 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12474 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12477 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12478 return SWIG_Py_Void();
12481 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12482 return SWIG_Python_InitShadowInstance(args
);
12485 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12486 PyObject
*resultobj
= 0;
12487 wxNativeFontInfo
*result
= 0 ;
12489 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12503 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12508 PyObject
*swig_obj
[1] ;
12510 if (!args
) SWIG_fail
;
12511 swig_obj
[0] = args
;
12512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12516 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_Py_Void();
12531 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12532 PyObject
*resultobj
= 0;
12533 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12536 PyObject
*swig_obj
[1] ;
12538 if (!args
) SWIG_fail
;
12539 swig_obj
[0] = args
;
12540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12544 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= SWIG_Py_Void();
12558 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
= 0;
12560 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "font", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12577 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12579 if (!SWIG_IsOK(res2
)) {
12580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12585 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= SWIG_Py_Void();
12599 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12600 PyObject
*resultobj
= 0;
12601 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12605 PyObject
*swig_obj
[1] ;
12607 if (!args
) SWIG_fail
;
12608 swig_obj
[0] = args
;
12609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12610 if (!SWIG_IsOK(res1
)) {
12611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12613 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12616 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= SWIG_From_int(static_cast< int >(result
));
12627 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12628 PyObject
*resultobj
= 0;
12629 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12633 PyObject
*swig_obj
[1] ;
12635 if (!args
) SWIG_fail
;
12636 swig_obj
[0] = args
;
12637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12638 if (!SWIG_IsOK(res1
)) {
12639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12641 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12655 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12656 PyObject
*resultobj
= 0;
12657 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12658 wxFontStyle result
;
12661 PyObject
*swig_obj
[1] ;
12663 if (!args
) SWIG_fail
;
12664 swig_obj
[0] = args
;
12665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12669 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_From_int(static_cast< int >(result
));
12683 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12684 PyObject
*resultobj
= 0;
12685 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12686 wxFontWeight result
;
12689 PyObject
*swig_obj
[1] ;
12691 if (!args
) SWIG_fail
;
12692 swig_obj
[0] = args
;
12693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12697 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_From_int(static_cast< int >(result
));
12711 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 PyObject
*resultobj
= 0;
12713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12717 PyObject
*swig_obj
[1] ;
12719 if (!args
) SWIG_fail
;
12720 swig_obj
[0] = args
;
12721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12725 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12741 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12742 PyObject
*resultobj
= 0;
12743 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12747 PyObject
*swig_obj
[1] ;
12749 if (!args
) SWIG_fail
;
12750 swig_obj
[0] = args
;
12751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12752 if (!SWIG_IsOK(res1
)) {
12753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12755 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12775 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12776 PyObject
*resultobj
= 0;
12777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12778 wxFontFamily result
;
12781 PyObject
*swig_obj
[1] ;
12783 if (!args
) SWIG_fail
;
12784 swig_obj
[0] = args
;
12785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12786 if (!SWIG_IsOK(res1
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12789 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_From_int(static_cast< int >(result
));
12803 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12804 PyObject
*resultobj
= 0;
12805 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12806 wxFontEncoding result
;
12809 PyObject
*swig_obj
[1] ;
12811 if (!args
) SWIG_fail
;
12812 swig_obj
[0] = args
;
12813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12817 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_From_int(static_cast< int >(result
));
12831 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
= 0;
12833 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 PyObject
* obj1
= 0 ;
12841 char * kwnames
[] = {
12842 (char *) "self",(char *) "pointsize", NULL
12845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12850 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12852 if (!SWIG_IsOK(ecode2
)) {
12853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12855 arg2
= static_cast< int >(val2
);
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 (arg1
)->SetPointSize(arg2
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_Py_Void();
12869 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
= 0;
12871 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 PyObject
* obj1
= 0 ;
12878 char * kwnames
[] = {
12879 (char *) "self",(char *) "pixelSize", NULL
12882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12884 if (!SWIG_IsOK(res1
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12887 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12890 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_Py_Void();
12905 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char * kwnames
[] = {
12916 (char *) "self",(char *) "style", NULL
12919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12926 if (!SWIG_IsOK(ecode2
)) {
12927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12929 arg2
= static_cast< wxFontStyle
>(val2
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 (arg1
)->SetStyle(arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_Py_Void();
12943 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
= 0;
12945 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12946 wxFontWeight arg2
;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 char * kwnames
[] = {
12954 (char *) "self",(char *) "weight", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12962 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12964 if (!SWIG_IsOK(ecode2
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12967 arg2
= static_cast< wxFontWeight
>(val2
);
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 (arg1
)->SetWeight(arg2
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_Py_Void();
12981 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
= 0;
12983 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char * kwnames
[] = {
12992 (char *) "self",(char *) "underlined", NULL
12995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13000 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13001 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13002 if (!SWIG_IsOK(ecode2
)) {
13003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13005 arg2
= static_cast< bool >(val2
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetUnderlined(arg2
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_Py_Void();
13019 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "facename", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13037 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13039 wxString
* sptr
= wxString_in_helper(obj1
);
13040 if (sptr
== NULL
) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (bool)(arg1
)->SetFaceName(arg2
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13059 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
= 0;
13061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13062 wxFontFamily arg2
;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char * kwnames
[] = {
13070 (char *) "self",(char *) "family", NULL
13073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13078 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13080 if (!SWIG_IsOK(ecode2
)) {
13081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13083 arg2
= static_cast< wxFontFamily
>(val2
);
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->SetFamily(arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_Py_Void();
13097 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
= 0;
13099 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13100 wxFontEncoding arg2
;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char * kwnames
[] = {
13108 (char *) "self",(char *) "encoding", NULL
13111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13113 if (!SWIG_IsOK(res1
)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13116 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13118 if (!SWIG_IsOK(ecode2
)) {
13119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13121 arg2
= static_cast< wxFontEncoding
>(val2
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetEncoding(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_Py_Void();
13135 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13138 wxString
*arg2
= 0 ;
13142 bool temp2
= false ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "s", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13154 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13156 arg2
= wxString_in_helper(obj1
);
13157 if (arg2
== NULL
) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13183 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13184 PyObject
*resultobj
= 0;
13185 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13189 PyObject
*swig_obj
[1] ;
13191 if (!args
) SWIG_fail
;
13192 swig_obj
[0] = args
;
13193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13194 if (!SWIG_IsOK(res1
)) {
13195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13197 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13217 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13218 PyObject
*resultobj
= 0;
13219 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13223 PyObject
*swig_obj
[1] ;
13225 if (!args
) SWIG_fail
;
13226 swig_obj
[0] = args
;
13227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13231 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= wxNativeFontInfo___str__(arg1
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13251 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
= 0;
13253 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13254 wxString
*arg2
= 0 ;
13258 bool temp2
= false ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "self",(char *) "s", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13270 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13272 arg2
= wxString_in_helper(obj1
);
13273 if (arg2
== NULL
) SWIG_fail
;
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13299 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13300 PyObject
*resultobj
= 0;
13301 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13305 PyObject
*swig_obj
[1] ;
13307 if (!args
) SWIG_fail
;
13308 swig_obj
[0] = args
;
13309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13313 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13333 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13336 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13337 return SWIG_Py_Void();
13340 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13341 return SWIG_Python_InitShadowInstance(args
);
13344 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 PyObject
*resultobj
= 0;
13346 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13347 wxString
*arg2
= (wxString
*) 0 ;
13350 bool temp2
= false ;
13351 PyObject
*swig_obj
[2] ;
13353 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13358 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13360 arg2
= wxString_in_helper(swig_obj
[1]);
13361 if (arg2
== NULL
) SWIG_fail
;
13364 if (arg1
) (arg1
)->facename
= *arg2
;
13366 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 PyObject
*resultobj
= 0;
13383 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13384 wxString
*result
= 0 ;
13387 PyObject
*swig_obj
[1] ;
13389 if (!args
) SWIG_fail
;
13390 swig_obj
[0] = args
;
13391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13392 if (!SWIG_IsOK(res1
)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13395 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13396 result
= (wxString
*)& ((arg1
)->facename
);
13399 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13401 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13410 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13411 PyObject
*resultobj
= 0;
13412 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13413 wxFontEncoding arg2
;
13418 PyObject
*swig_obj
[2] ;
13420 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13422 if (!SWIG_IsOK(res1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13425 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13426 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13427 if (!SWIG_IsOK(ecode2
)) {
13428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13430 arg2
= static_cast< wxFontEncoding
>(val2
);
13431 if (arg1
) (arg1
)->encoding
= arg2
;
13433 resultobj
= SWIG_Py_Void();
13440 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13441 PyObject
*resultobj
= 0;
13442 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13443 wxFontEncoding result
;
13446 PyObject
*swig_obj
[1] ;
13448 if (!args
) SWIG_fail
;
13449 swig_obj
[0] = args
;
13450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13451 if (!SWIG_IsOK(res1
)) {
13452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13454 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13455 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13456 resultobj
= SWIG_From_int(static_cast< int >(result
));
13463 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 PyObject
*resultobj
= 0;
13465 wxNativeEncodingInfo
*result
= 0 ;
13467 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13481 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13486 PyObject
*swig_obj
[1] ;
13488 if (!args
) SWIG_fail
;
13489 swig_obj
[0] = args
;
13490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13491 if (!SWIG_IsOK(res1
)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13494 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_Py_Void();
13509 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
= 0;
13511 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13512 wxString
*arg2
= 0 ;
13516 bool temp2
= false ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char * kwnames
[] = {
13520 (char *) "self",(char *) "s", NULL
13523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13528 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13530 arg2
= wxString_in_helper(obj1
);
13531 if (arg2
== NULL
) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 PyObject
*resultobj
= 0;
13559 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13563 PyObject
*swig_obj
[1] ;
13565 if (!args
) SWIG_fail
;
13566 swig_obj
[0] = args
;
13567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13571 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13591 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13594 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13595 return SWIG_Py_Void();
13598 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 return SWIG_Python_InitShadowInstance(args
);
13602 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxFontEncoding arg1
;
13605 wxNativeEncodingInfo
*result
= 0 ;
13608 PyObject
* obj0
= 0 ;
13609 char * kwnames
[] = {
13610 (char *) "encoding", NULL
13613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13614 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13615 if (!SWIG_IsOK(ecode1
)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13618 arg1
= static_cast< wxFontEncoding
>(val1
);
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13632 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
= 0;
13634 wxNativeEncodingInfo
*arg1
= 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "info", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13644 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13651 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13667 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13668 PyObject
*resultobj
= 0;
13669 wxFontMapper
*result
= 0 ;
13671 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (wxFontMapper
*)new wxFontMapper();
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13685 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13686 PyObject
*resultobj
= 0;
13687 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13690 PyObject
*swig_obj
[1] ;
13692 if (!args
) SWIG_fail
;
13693 swig_obj
[0] = args
;
13694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13698 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 resultobj
= SWIG_Py_Void();
13713 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13714 PyObject
*resultobj
= 0;
13715 wxFontMapper
*result
= 0 ;
13717 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (wxFontMapper
*)wxFontMapper::Get();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13731 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
= 0;
13733 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13734 wxFontMapper
*result
= 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char * kwnames
[] = {
13739 (char *) "mapper", NULL
13742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13744 if (!SWIG_IsOK(res1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13747 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13761 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13764 wxString
*arg2
= 0 ;
13765 bool arg3
= (bool) true ;
13766 wxFontEncoding result
;
13769 bool temp2
= false ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13781 if (!SWIG_IsOK(res1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13784 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13786 arg2
= wxString_in_helper(obj1
);
13787 if (arg2
== NULL
) SWIG_fail
;
13791 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13792 if (!SWIG_IsOK(ecode3
)) {
13793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13795 arg3
= static_cast< bool >(val3
);
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_From_int(static_cast< int >(result
));
13818 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13819 PyObject
*resultobj
= 0;
13822 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13836 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
= 0;
13839 wxFontEncoding result
;
13842 PyObject
* obj0
= 0 ;
13843 char * kwnames
[] = {
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13848 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13849 if (!SWIG_IsOK(ecode1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13852 arg1
= static_cast< size_t >(val1
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_From_int(static_cast< int >(result
));
13866 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
= 0;
13868 wxFontEncoding arg1
;
13872 PyObject
* obj0
= 0 ;
13873 char * kwnames
[] = {
13874 (char *) "encoding", NULL
13877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13878 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13879 if (!SWIG_IsOK(ecode1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13882 arg1
= static_cast< wxFontEncoding
>(val1
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= wxFontMapper::GetEncodingName(arg1
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13902 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13904 wxFontEncoding arg1
;
13908 PyObject
* obj0
= 0 ;
13909 char * kwnames
[] = {
13910 (char *) "encoding", NULL
13913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13915 if (!SWIG_IsOK(ecode1
)) {
13916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13918 arg1
= static_cast< wxFontEncoding
>(val1
);
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= wxFontMapper::GetEncodingDescription(arg1
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13938 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxString
*arg1
= 0 ;
13941 wxFontEncoding result
;
13942 bool temp1
= false ;
13943 PyObject
* obj0
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "name", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13950 arg1
= wxString_in_helper(obj0
);
13951 if (arg1
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_From_int(static_cast< int >(result
));
13975 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13977 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13978 wxString
*arg2
= 0 ;
13981 bool temp2
= false ;
13982 PyObject
* obj0
= 0 ;
13983 PyObject
* obj1
= 0 ;
13984 char * kwnames
[] = {
13985 (char *) "self",(char *) "prefix", NULL
13988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13990 if (!SWIG_IsOK(res1
)) {
13991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13993 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13995 arg2
= wxString_in_helper(obj1
);
13996 if (arg2
== NULL
) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_Py_Void();
14020 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14021 PyObject
*resultobj
= 0;
14024 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= wxFontMapper::GetDefaultConfigPath();
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14044 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14045 PyObject
*resultobj
= 0;
14046 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14047 wxFontEncoding arg2
;
14048 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14050 bool arg4
= (bool) true ;
14051 PyObject
*result
= 0 ;
14056 bool temp3
= false ;
14059 PyObject
* obj0
= 0 ;
14060 PyObject
* obj1
= 0 ;
14061 PyObject
* obj2
= 0 ;
14062 PyObject
* obj3
= 0 ;
14063 char * kwnames
[] = {
14064 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14069 if (!SWIG_IsOK(res1
)) {
14070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14072 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14074 if (!SWIG_IsOK(ecode2
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14077 arg2
= static_cast< wxFontEncoding
>(val2
);
14080 arg3
= wxString_in_helper(obj2
);
14081 if (arg3
== NULL
) SWIG_fail
;
14086 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14087 if (!SWIG_IsOK(ecode4
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14090 arg4
= static_cast< bool >(val4
);
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= result
;
14113 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
= 0;
14115 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14116 wxFontEncoding arg2
;
14117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14124 bool temp3
= false ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 char * kwnames
[] = {
14129 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14134 if (!SWIG_IsOK(res1
)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14137 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14139 if (!SWIG_IsOK(ecode2
)) {
14140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14142 arg2
= static_cast< wxFontEncoding
>(val2
);
14145 arg3
= wxString_in_helper(obj2
);
14146 if (arg3
== NULL
) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14173 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
= 0;
14175 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14176 wxWindow
*arg2
= (wxWindow
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 char * kwnames
[] = {
14184 (char *) "self",(char *) "parent", NULL
14187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14189 if (!SWIG_IsOK(res1
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14192 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14194 if (!SWIG_IsOK(res2
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14197 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 (arg1
)->SetDialogParent(arg2
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= SWIG_Py_Void();
14211 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
= 0;
14213 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14214 wxString
*arg2
= 0 ;
14217 bool temp2
= false ;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 char * kwnames
[] = {
14221 (char *) "self",(char *) "title", NULL
14224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14229 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14231 arg2
= wxString_in_helper(obj1
);
14232 if (arg2
== NULL
) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14238 wxPyEndAllowThreads(__tstate
);
14239 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= SWIG_Py_Void();
14256 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14259 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14260 return SWIG_Py_Void();
14263 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14264 return SWIG_Python_InitShadowInstance(args
);
14267 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
= 0;
14273 bool arg5
= (bool) false ;
14274 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14275 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14276 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14277 wxFont
*result
= 0 ;
14288 bool temp6
= false ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 PyObject
* obj2
= 0 ;
14294 PyObject
* obj3
= 0 ;
14295 PyObject
* obj4
= 0 ;
14296 PyObject
* obj5
= 0 ;
14297 PyObject
* obj6
= 0 ;
14298 char * kwnames
[] = {
14299 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14303 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14304 if (!SWIG_IsOK(ecode1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14307 arg1
= static_cast< int >(val1
);
14308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14309 if (!SWIG_IsOK(ecode2
)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14312 arg2
= static_cast< int >(val2
);
14313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14314 if (!SWIG_IsOK(ecode3
)) {
14315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14317 arg3
= static_cast< int >(val3
);
14318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14319 if (!SWIG_IsOK(ecode4
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14322 arg4
= static_cast< int >(val4
);
14324 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14325 if (!SWIG_IsOK(ecode5
)) {
14326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14328 arg5
= static_cast< bool >(val5
);
14332 arg6
= wxString_in_helper(obj5
);
14333 if (arg6
== NULL
) SWIG_fail
;
14338 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14339 if (!SWIG_IsOK(ecode7
)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14342 arg7
= static_cast< wxFontEncoding
>(val7
);
14345 if (!wxPyCheckForApp()) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14366 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14367 PyObject
*resultobj
= 0;
14368 wxFont
*arg1
= (wxFont
*) 0 ;
14371 PyObject
*swig_obj
[1] ;
14373 if (!args
) SWIG_fail
;
14374 swig_obj
[0] = args
;
14375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14376 if (!SWIG_IsOK(res1
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14379 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_Py_Void();
14394 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxNativeFontInfo
*arg1
= 0 ;
14397 wxFont
*result
= 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char * kwnames
[] = {
14402 (char *) "info", NULL
14405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14406 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14413 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14415 if (!wxPyCheckForApp()) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14428 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxString
*arg1
= 0 ;
14431 wxFont
*result
= 0 ;
14432 bool temp1
= false ;
14433 PyObject
* obj0
= 0 ;
14434 char * kwnames
[] = {
14435 (char *) "info", NULL
14438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14440 arg1
= wxString_in_helper(obj0
);
14441 if (arg1
== NULL
) SWIG_fail
;
14445 if (!wxPyCheckForApp()) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14466 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
= 0;
14469 wxFontFamily arg2
;
14470 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14473 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14474 wxFont
*result
= 0 ;
14481 bool temp4
= false ;
14484 PyObject
* obj0
= 0 ;
14485 PyObject
* obj1
= 0 ;
14486 PyObject
* obj2
= 0 ;
14487 PyObject
* obj3
= 0 ;
14488 PyObject
* obj4
= 0 ;
14489 char * kwnames
[] = {
14490 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14495 if (!SWIG_IsOK(ecode1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14498 arg1
= static_cast< int >(val1
);
14499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14500 if (!SWIG_IsOK(ecode2
)) {
14501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14503 arg2
= static_cast< wxFontFamily
>(val2
);
14505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14506 if (!SWIG_IsOK(ecode3
)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14509 arg3
= static_cast< int >(val3
);
14513 arg4
= wxString_in_helper(obj3
);
14514 if (arg4
== NULL
) SWIG_fail
;
14519 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14520 if (!SWIG_IsOK(ecode5
)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14523 arg5
= static_cast< wxFontEncoding
>(val5
);
14526 if (!wxPyCheckForApp()) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14547 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
= 0;
14553 bool arg5
= (bool) false ;
14554 wxString
const &arg6_defvalue
= wxEmptyString
;
14555 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14556 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14557 wxFont
*result
= 0 ;
14567 bool temp6
= false ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 PyObject
* obj2
= 0 ;
14573 PyObject
* obj3
= 0 ;
14574 PyObject
* obj4
= 0 ;
14575 PyObject
* obj5
= 0 ;
14576 PyObject
* obj6
= 0 ;
14577 char * kwnames
[] = {
14578 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14584 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14587 if (!SWIG_IsOK(ecode2
)) {
14588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14590 arg2
= static_cast< int >(val2
);
14591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14592 if (!SWIG_IsOK(ecode3
)) {
14593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14595 arg3
= static_cast< int >(val3
);
14596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14597 if (!SWIG_IsOK(ecode4
)) {
14598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14600 arg4
= static_cast< int >(val4
);
14602 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14603 if (!SWIG_IsOK(ecode5
)) {
14604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14606 arg5
= static_cast< bool >(val5
);
14610 arg6
= wxString_in_helper(obj5
);
14611 if (arg6
== NULL
) SWIG_fail
;
14616 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14617 if (!SWIG_IsOK(ecode7
)) {
14618 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14620 arg7
= static_cast< wxFontEncoding
>(val7
);
14623 if (!wxPyCheckForApp()) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14644 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
= 0;
14647 wxFontFamily arg2
;
14648 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14649 wxString
const &arg4_defvalue
= wxEmptyString
;
14650 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14651 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14652 wxFont
*result
= 0 ;
14658 bool temp4
= false ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 PyObject
* obj2
= 0 ;
14664 PyObject
* obj3
= 0 ;
14665 PyObject
* obj4
= 0 ;
14666 char * kwnames
[] = {
14667 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14673 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14676 if (!SWIG_IsOK(ecode2
)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14679 arg2
= static_cast< wxFontFamily
>(val2
);
14681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14682 if (!SWIG_IsOK(ecode3
)) {
14683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14685 arg3
= static_cast< int >(val3
);
14689 arg4
= wxString_in_helper(obj3
);
14690 if (arg4
== NULL
) SWIG_fail
;
14695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14696 if (!SWIG_IsOK(ecode5
)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14699 arg5
= static_cast< wxFontEncoding
>(val5
);
14702 if (!wxPyCheckForApp()) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14723 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14724 PyObject
*resultobj
= 0;
14725 wxFont
*arg1
= (wxFont
*) 0 ;
14729 PyObject
*swig_obj
[1] ;
14731 if (!args
) SWIG_fail
;
14732 swig_obj
[0] = args
;
14733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14734 if (!SWIG_IsOK(res1
)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14737 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14753 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
= 0;
14755 wxFont
*arg1
= (wxFont
*) 0 ;
14756 wxFont
*arg2
= (wxFont
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char * kwnames
[] = {
14765 (char *) "self",(char *) "other", NULL
14768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14773 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14775 if (!SWIG_IsOK(res2
)) {
14776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14778 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
= 0;
14796 wxFont
*arg1
= (wxFont
*) 0 ;
14797 wxFont
*arg2
= (wxFont
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char * kwnames
[] = {
14806 (char *) "self",(char *) "other", NULL
14809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14814 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14816 if (!SWIG_IsOK(res2
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14819 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14835 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14836 PyObject
*resultobj
= 0;
14837 wxFont
*arg1
= (wxFont
*) 0 ;
14841 PyObject
*swig_obj
[1] ;
14843 if (!args
) SWIG_fail
;
14844 swig_obj
[0] = args
;
14845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_From_int(static_cast< int >(result
));
14863 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14864 PyObject
*resultobj
= 0;
14865 wxFont
*arg1
= (wxFont
*) 0 ;
14869 PyObject
*swig_obj
[1] ;
14871 if (!args
) SWIG_fail
;
14872 swig_obj
[0] = args
;
14873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14874 if (!SWIG_IsOK(res1
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14877 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14891 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14892 PyObject
*resultobj
= 0;
14893 wxFont
*arg1
= (wxFont
*) 0 ;
14897 PyObject
*swig_obj
[1] ;
14899 if (!args
) SWIG_fail
;
14900 swig_obj
[0] = args
;
14901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14902 if (!SWIG_IsOK(res1
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14905 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14922 PyObject
*resultobj
= 0;
14923 wxFont
*arg1
= (wxFont
*) 0 ;
14927 PyObject
*swig_obj
[1] ;
14929 if (!args
) SWIG_fail
;
14930 swig_obj
[0] = args
;
14931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14935 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_From_int(static_cast< int >(result
));
14949 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14950 PyObject
*resultobj
= 0;
14951 wxFont
*arg1
= (wxFont
*) 0 ;
14955 PyObject
*swig_obj
[1] ;
14957 if (!args
) SWIG_fail
;
14958 swig_obj
[0] = args
;
14959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14960 if (!SWIG_IsOK(res1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_From_int(static_cast< int >(result
));
14977 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxFont
*arg1
= (wxFont
*) 0 ;
14983 PyObject
*swig_obj
[1] ;
14985 if (!args
) SWIG_fail
;
14986 swig_obj
[0] = args
;
14987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14991 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_From_int(static_cast< int >(result
));
15005 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxFont
*arg1
= (wxFont
*) 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15019 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15035 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15036 PyObject
*resultobj
= 0;
15037 wxFont
*arg1
= (wxFont
*) 0 ;
15041 PyObject
*swig_obj
[1] ;
15043 if (!args
) SWIG_fail
;
15044 swig_obj
[0] = args
;
15045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15046 if (!SWIG_IsOK(res1
)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15049 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= ((wxFont
const *)arg1
)->GetFaceName();
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15069 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15070 PyObject
*resultobj
= 0;
15071 wxFont
*arg1
= (wxFont
*) 0 ;
15072 wxFontEncoding result
;
15075 PyObject
*swig_obj
[1] ;
15077 if (!args
) SWIG_fail
;
15078 swig_obj
[0] = args
;
15079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15080 if (!SWIG_IsOK(res1
)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15083 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= SWIG_From_int(static_cast< int >(result
));
15097 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15098 PyObject
*resultobj
= 0;
15099 wxFont
*arg1
= (wxFont
*) 0 ;
15100 wxNativeFontInfo
*result
= 0 ;
15103 PyObject
*swig_obj
[1] ;
15105 if (!args
) SWIG_fail
;
15106 swig_obj
[0] = args
;
15107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15108 if (!SWIG_IsOK(res1
)) {
15109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15111 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15125 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15126 PyObject
*resultobj
= 0;
15127 wxFont
*arg1
= (wxFont
*) 0 ;
15131 PyObject
*swig_obj
[1] ;
15133 if (!args
) SWIG_fail
;
15134 swig_obj
[0] = args
;
15135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15136 if (!SWIG_IsOK(res1
)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15139 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15155 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15156 PyObject
*resultobj
= 0;
15157 wxFont
*arg1
= (wxFont
*) 0 ;
15161 PyObject
*swig_obj
[1] ;
15163 if (!args
) SWIG_fail
;
15164 swig_obj
[0] = args
;
15165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15169 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15189 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15190 PyObject
*resultobj
= 0;
15191 wxFont
*arg1
= (wxFont
*) 0 ;
15195 PyObject
*swig_obj
[1] ;
15197 if (!args
) SWIG_fail
;
15198 swig_obj
[0] = args
;
15199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15200 if (!SWIG_IsOK(res1
)) {
15201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15203 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15223 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
= 0;
15225 wxFont
*arg1
= (wxFont
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char * kwnames
[] = {
15234 (char *) "self",(char *) "pointSize", NULL
15237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15239 if (!SWIG_IsOK(res1
)) {
15240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15242 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15244 if (!SWIG_IsOK(ecode2
)) {
15245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15247 arg2
= static_cast< int >(val2
);
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 (arg1
)->SetPointSize(arg2
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= SWIG_Py_Void();
15261 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
= 0;
15263 wxFont
*arg1
= (wxFont
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char * kwnames
[] = {
15271 (char *) "self",(char *) "pixelSize", NULL
15274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15276 if (!SWIG_IsOK(res1
)) {
15277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15279 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= SWIG_Py_Void();
15297 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
= 0;
15299 wxFont
*arg1
= (wxFont
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "self",(char *) "family", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15316 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15318 if (!SWIG_IsOK(ecode2
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15321 arg2
= static_cast< int >(val2
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->SetFamily(arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_Py_Void();
15335 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
= 0;
15337 wxFont
*arg1
= (wxFont
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char * kwnames
[] = {
15346 (char *) "self",(char *) "style", NULL
15349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15354 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15356 if (!SWIG_IsOK(ecode2
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15359 arg2
= static_cast< int >(val2
);
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 (arg1
)->SetStyle(arg2
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_Py_Void();
15373 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxFont
*arg1
= (wxFont
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char * kwnames
[] = {
15384 (char *) "self",(char *) "weight", NULL
15387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15389 if (!SWIG_IsOK(res1
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15392 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15394 if (!SWIG_IsOK(ecode2
)) {
15395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15397 arg2
= static_cast< int >(val2
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->SetWeight(arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_Py_Void();
15411 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxFont
*arg1
= (wxFont
*) 0 ;
15414 wxString
*arg2
= 0 ;
15418 bool temp2
= false ;
15419 PyObject
* obj0
= 0 ;
15420 PyObject
* obj1
= 0 ;
15421 char * kwnames
[] = {
15422 (char *) "self",(char *) "faceName", NULL
15425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15427 if (!SWIG_IsOK(res1
)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15430 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15432 arg2
= wxString_in_helper(obj1
);
15433 if (arg2
== NULL
) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
= 0;
15461 wxFont
*arg1
= (wxFont
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char * kwnames
[] = {
15470 (char *) "self",(char *) "underlined", NULL
15473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15478 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15479 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15480 if (!SWIG_IsOK(ecode2
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15483 arg2
= static_cast< bool >(val2
);
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetUnderlined(arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_Py_Void();
15497 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
= 0;
15499 wxFont
*arg1
= (wxFont
*) 0 ;
15500 wxFontEncoding arg2
;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 char * kwnames
[] = {
15508 (char *) "self",(char *) "encoding", NULL
15511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15513 if (!SWIG_IsOK(res1
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15516 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15518 if (!SWIG_IsOK(ecode2
)) {
15519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15521 arg2
= static_cast< wxFontEncoding
>(val2
);
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetEncoding(arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_Py_Void();
15535 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
= 0;
15537 wxFont
*arg1
= (wxFont
*) 0 ;
15538 wxNativeFontInfo
*arg2
= 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char * kwnames
[] = {
15546 (char *) "self",(char *) "info", NULL
15549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15551 if (!SWIG_IsOK(res1
)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15554 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15556 if (!SWIG_IsOK(res2
)) {
15557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15562 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= SWIG_Py_Void();
15576 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
= 0;
15578 wxFont
*arg1
= (wxFont
*) 0 ;
15579 wxString
*arg2
= 0 ;
15583 bool temp2
= false ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 char * kwnames
[] = {
15587 (char *) "self",(char *) "info", NULL
15590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15592 if (!SWIG_IsOK(res1
)) {
15593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15595 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15597 arg2
= wxString_in_helper(obj1
);
15598 if (arg2
== NULL
) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15624 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxFont
*arg1
= (wxFont
*) 0 ;
15627 wxString
*arg2
= 0 ;
15631 bool temp2
= false ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "self",(char *) "info", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15643 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15645 arg2
= wxString_in_helper(obj1
);
15646 if (arg2
== NULL
) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15673 PyObject
*resultobj
= 0;
15674 wxFont
*arg1
= (wxFont
*) 0 ;
15678 PyObject
*swig_obj
[1] ;
15680 if (!args
) SWIG_fail
;
15681 swig_obj
[0] = args
;
15682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15686 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15706 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15707 PyObject
*resultobj
= 0;
15708 wxFont
*arg1
= (wxFont
*) 0 ;
15712 PyObject
*swig_obj
[1] ;
15714 if (!args
) SWIG_fail
;
15715 swig_obj
[0] = args
;
15716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15717 if (!SWIG_IsOK(res1
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15720 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 result
= ((wxFont
const *)arg1
)->GetStyleString();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15740 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 wxFont
*arg1
= (wxFont
*) 0 ;
15746 PyObject
*swig_obj
[1] ;
15748 if (!args
) SWIG_fail
;
15749 swig_obj
[0] = args
;
15750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15754 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= ((wxFont
const *)arg1
)->GetWeightString();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15774 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
= 0;
15776 wxFont
*arg1
= (wxFont
*) 0 ;
15777 bool arg2
= (bool) true ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 char * kwnames
[] = {
15785 (char *) "self",(char *) "no", NULL
15788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15790 if (!SWIG_IsOK(res1
)) {
15791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15793 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15796 if (!SWIG_IsOK(ecode2
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15799 arg2
= static_cast< bool >(val2
);
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 (arg1
)->SetNoAntiAliasing(arg2
);
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_Py_Void();
15814 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 PyObject
*resultobj
= 0;
15816 wxFont
*arg1
= (wxFont
*) 0 ;
15820 PyObject
*swig_obj
[1] ;
15822 if (!args
) SWIG_fail
;
15823 swig_obj
[0] = args
;
15824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15825 if (!SWIG_IsOK(res1
)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15828 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15844 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15845 PyObject
*resultobj
= 0;
15846 wxFontEncoding result
;
15848 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15850 if (!wxPyCheckForApp()) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= SWIG_From_int(static_cast< int >(result
));
15863 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
= 0;
15865 wxFontEncoding arg1
;
15868 PyObject
* obj0
= 0 ;
15869 char * kwnames
[] = {
15870 (char *) "encoding", NULL
15873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15874 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15875 if (!SWIG_IsOK(ecode1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15878 arg1
= static_cast< wxFontEncoding
>(val1
);
15880 if (!wxPyCheckForApp()) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 wxFont::SetDefaultEncoding(arg1
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_Py_Void();
15893 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15896 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15897 return SWIG_Py_Void();
15900 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15901 return SWIG_Python_InitShadowInstance(args
);
15904 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15905 PyObject
*resultobj
= 0;
15906 wxPyFontEnumerator
*result
= 0 ;
15908 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15910 if (!wxPyCheckForApp()) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15923 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15924 PyObject
*resultobj
= 0;
15925 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15928 PyObject
*swig_obj
[1] ;
15930 if (!args
) SWIG_fail
;
15931 swig_obj
[0] = args
;
15932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15933 if (!SWIG_IsOK(res1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15936 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_Py_Void();
15951 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= 0;
15953 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15954 PyObject
*arg2
= (PyObject
*) 0 ;
15955 PyObject
*arg3
= (PyObject
*) 0 ;
15961 PyObject
* obj0
= 0 ;
15962 PyObject
* obj1
= 0 ;
15963 PyObject
* obj2
= 0 ;
15964 PyObject
* obj3
= 0 ;
15965 char * kwnames
[] = {
15966 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15971 if (!SWIG_IsOK(res1
)) {
15972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15974 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15977 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15978 if (!SWIG_IsOK(ecode4
)) {
15979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15981 arg4
= static_cast< bool >(val4
);
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_Py_Void();
15995 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
= 0;
15997 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15998 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15999 bool arg3
= (bool) false ;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 PyObject
* obj2
= 0 ;
16010 char * kwnames
[] = {
16011 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16019 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16022 if (!SWIG_IsOK(ecode2
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16025 arg2
= static_cast< wxFontEncoding
>(val2
);
16028 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16029 if (!SWIG_IsOK(ecode3
)) {
16030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16032 arg3
= static_cast< bool >(val3
);
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16052 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16053 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16057 bool temp2
= false ;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char * kwnames
[] = {
16061 (char *) "self",(char *) "facename", NULL
16064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16066 if (!SWIG_IsOK(res1
)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16069 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16072 arg2
= wxString_in_helper(obj1
);
16073 if (arg2
== NULL
) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16101 PyObject
*resultobj
= 0;
16102 PyObject
*result
= 0 ;
16104 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= result
;
16118 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16119 PyObject
*resultobj
= 0;
16120 PyObject
*result
= 0 ;
16122 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= result
;
16136 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
= 0;
16138 wxString
*arg1
= 0 ;
16140 bool temp1
= false ;
16141 PyObject
* obj0
= 0 ;
16142 char * kwnames
[] = {
16143 (char *) "str", NULL
16146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16148 arg1
= wxString_in_helper(obj0
);
16149 if (arg1
== NULL
) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16175 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16178 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16179 return SWIG_Py_Void();
16182 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16183 return SWIG_Python_InitShadowInstance(args
);
16186 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16187 PyObject
*resultobj
= 0;
16188 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16194 PyObject
*swig_obj
[2] ;
16196 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16201 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16202 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16203 if (!SWIG_IsOK(ecode2
)) {
16204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16206 arg2
= static_cast< int >(val2
);
16207 if (arg1
) (arg1
)->Language
= arg2
;
16209 resultobj
= SWIG_Py_Void();
16216 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16217 PyObject
*resultobj
= 0;
16218 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16222 PyObject
*swig_obj
[1] ;
16224 if (!args
) SWIG_fail
;
16225 swig_obj
[0] = args
;
16226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16227 if (!SWIG_IsOK(res1
)) {
16228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16230 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16231 result
= (int) ((arg1
)->Language
);
16232 resultobj
= SWIG_From_int(static_cast< int >(result
));
16239 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16240 PyObject
*resultobj
= 0;
16241 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16242 wxString
*arg2
= (wxString
*) 0 ;
16245 bool temp2
= false ;
16246 PyObject
*swig_obj
[2] ;
16248 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16253 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16255 arg2
= wxString_in_helper(swig_obj
[1]);
16256 if (arg2
== NULL
) SWIG_fail
;
16259 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16261 resultobj
= SWIG_Py_Void();
16276 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16277 PyObject
*resultobj
= 0;
16278 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16279 wxString
*result
= 0 ;
16282 PyObject
*swig_obj
[1] ;
16284 if (!args
) SWIG_fail
;
16285 swig_obj
[0] = args
;
16286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16290 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16291 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16305 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16306 PyObject
*resultobj
= 0;
16307 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16308 wxString
*arg2
= (wxString
*) 0 ;
16311 bool temp2
= false ;
16312 PyObject
*swig_obj
[2] ;
16314 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16316 if (!SWIG_IsOK(res1
)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16319 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16321 arg2
= wxString_in_helper(swig_obj
[1]);
16322 if (arg2
== NULL
) SWIG_fail
;
16325 if (arg1
) (arg1
)->Description
= *arg2
;
16327 resultobj
= SWIG_Py_Void();
16342 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16343 PyObject
*resultobj
= 0;
16344 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16345 wxString
*result
= 0 ;
16348 PyObject
*swig_obj
[1] ;
16350 if (!args
) SWIG_fail
;
16351 swig_obj
[0] = args
;
16352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16353 if (!SWIG_IsOK(res1
)) {
16354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16356 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16357 result
= (wxString
*)& ((arg1
)->Description
);
16360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16371 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16374 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16375 return SWIG_Py_Void();
16378 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= 0;
16380 int arg1
= (int) -1 ;
16381 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16382 wxLocale
*result
= 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "language",(char *) "flags", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16396 if (!SWIG_IsOK(ecode1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16399 arg1
= static_cast< int >(val1
);
16402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16403 if (!SWIG_IsOK(ecode2
)) {
16404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16406 arg2
= static_cast< int >(val2
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16421 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16422 PyObject
*resultobj
= 0;
16423 wxLocale
*arg1
= (wxLocale
*) 0 ;
16426 PyObject
*swig_obj
[1] ;
16428 if (!args
) SWIG_fail
;
16429 swig_obj
[0] = args
;
16430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16431 if (!SWIG_IsOK(res1
)) {
16432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16434 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_Py_Void();
16449 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
= 0;
16451 wxLocale
*arg1
= (wxLocale
*) 0 ;
16452 wxString
*arg2
= 0 ;
16453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16455 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16456 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16457 bool arg5
= (bool) true ;
16458 bool arg6
= (bool) false ;
16462 bool temp2
= false ;
16463 bool temp3
= false ;
16464 bool temp4
= false ;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 PyObject
* obj2
= 0 ;
16472 PyObject
* obj3
= 0 ;
16473 PyObject
* obj4
= 0 ;
16474 PyObject
* obj5
= 0 ;
16475 char * kwnames
[] = {
16476 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16484 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16486 arg2
= wxString_in_helper(obj1
);
16487 if (arg2
== NULL
) SWIG_fail
;
16492 arg3
= wxString_in_helper(obj2
);
16493 if (arg3
== NULL
) SWIG_fail
;
16499 arg4
= wxString_in_helper(obj3
);
16500 if (arg4
== NULL
) SWIG_fail
;
16505 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16506 if (!SWIG_IsOK(ecode5
)) {
16507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16509 arg5
= static_cast< bool >(val5
);
16512 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16513 if (!SWIG_IsOK(ecode6
)) {
16514 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16516 arg6
= static_cast< bool >(val6
);
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16557 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16558 PyObject
*resultobj
= 0;
16559 wxLocale
*arg1
= (wxLocale
*) 0 ;
16560 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16561 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 PyObject
* obj2
= 0 ;
16572 char * kwnames
[] = {
16573 (char *) "self",(char *) "language",(char *) "flags", NULL
16576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16578 if (!SWIG_IsOK(res1
)) {
16579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16581 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16584 if (!SWIG_IsOK(ecode2
)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16587 arg2
= static_cast< int >(val2
);
16590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16591 if (!SWIG_IsOK(ecode3
)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16594 arg3
= static_cast< int >(val3
);
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16611 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16612 PyObject
*resultobj
= 0;
16615 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (int)wxLocale::GetSystemLanguage();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_From_int(static_cast< int >(result
));
16629 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16630 PyObject
*resultobj
= 0;
16631 wxFontEncoding result
;
16633 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= SWIG_From_int(static_cast< int >(result
));
16647 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16648 PyObject
*resultobj
= 0;
16651 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= wxLocale::GetSystemEncodingName();
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16671 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16672 PyObject
*resultobj
= 0;
16673 wxLocale
*arg1
= (wxLocale
*) 0 ;
16677 PyObject
*swig_obj
[1] ;
16679 if (!args
) SWIG_fail
;
16680 swig_obj
[0] = args
;
16681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16682 if (!SWIG_IsOK(res1
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16685 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16701 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16702 PyObject
*resultobj
= 0;
16703 wxLocale
*arg1
= (wxLocale
*) 0 ;
16707 PyObject
*swig_obj
[1] ;
16709 if (!args
) SWIG_fail
;
16710 swig_obj
[0] = args
;
16711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16712 if (!SWIG_IsOK(res1
)) {
16713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16715 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= ((wxLocale
const *)arg1
)->GetLocale();
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16735 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16736 PyObject
*resultobj
= 0;
16737 wxLocale
*arg1
= (wxLocale
*) 0 ;
16741 PyObject
*swig_obj
[1] ;
16743 if (!args
) SWIG_fail
;
16744 swig_obj
[0] = args
;
16745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16746 if (!SWIG_IsOK(res1
)) {
16747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16749 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_From_int(static_cast< int >(result
));
16763 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16764 PyObject
*resultobj
= 0;
16765 wxLocale
*arg1
= (wxLocale
*) 0 ;
16769 PyObject
*swig_obj
[1] ;
16771 if (!args
) SWIG_fail
;
16772 swig_obj
[0] = args
;
16773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16777 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= ((wxLocale
const *)arg1
)->GetSysName();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16797 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16798 PyObject
*resultobj
= 0;
16799 wxLocale
*arg1
= (wxLocale
*) 0 ;
16803 PyObject
*swig_obj
[1] ;
16805 if (!args
) SWIG_fail
;
16806 swig_obj
[0] = args
;
16807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16808 if (!SWIG_IsOK(res1
)) {
16809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16811 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16831 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
= 0;
16833 wxString
*arg1
= 0 ;
16834 bool temp1
= false ;
16835 PyObject
* obj0
= 0 ;
16836 char * kwnames
[] = {
16837 (char *) "prefix", NULL
16840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16842 arg1
= wxString_in_helper(obj0
);
16843 if (arg1
== NULL
) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_Py_Void();
16867 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxLocale
*arg1
= (wxLocale
*) 0 ;
16870 wxString
*arg2
= 0 ;
16874 bool temp2
= false ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char * kwnames
[] = {
16878 (char *) "self",(char *) "szDomain", NULL
16881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16886 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16888 arg2
= wxString_in_helper(obj1
);
16889 if (arg2
== NULL
) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16915 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16921 PyObject
* obj0
= 0 ;
16922 char * kwnames
[] = {
16923 (char *) "lang", NULL
16926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16928 if (!SWIG_IsOK(ecode1
)) {
16929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16931 arg1
= static_cast< int >(val1
);
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)wxLocale::IsAvailable(arg1
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16947 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
= 0;
16949 wxLocale
*arg1
= (wxLocale
*) 0 ;
16950 wxString
*arg2
= 0 ;
16954 bool temp2
= false ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "szDomain", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16966 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16968 arg2
= wxString_in_helper(obj1
);
16969 if (arg2
== NULL
) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16995 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16998 wxLanguageInfo
*result
= 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char * kwnames
[] = {
17003 (char *) "lang", NULL
17006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17008 if (!SWIG_IsOK(ecode1
)) {
17009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17011 arg1
= static_cast< int >(val1
);
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17025 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= 0;
17031 PyObject
* obj0
= 0 ;
17032 char * kwnames
[] = {
17033 (char *) "lang", NULL
17036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17037 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17038 if (!SWIG_IsOK(ecode1
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17041 arg1
= static_cast< int >(val1
);
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= wxLocale::GetLanguageName(arg1
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17061 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17062 PyObject
*resultobj
= 0;
17063 wxString
*arg1
= 0 ;
17064 wxLanguageInfo
*result
= 0 ;
17065 bool temp1
= false ;
17066 PyObject
* obj0
= 0 ;
17067 char * kwnames
[] = {
17068 (char *) "locale", NULL
17071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17073 arg1
= wxString_in_helper(obj0
);
17074 if (arg1
== NULL
) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17098 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
= 0;
17100 wxLanguageInfo
*arg1
= 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char * kwnames
[] = {
17105 (char *) "info", NULL
17108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17109 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17110 if (!SWIG_IsOK(res1
)) {
17111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17116 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17130 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxLocale
*arg1
= (wxLocale
*) 0 ;
17133 wxString
*arg2
= 0 ;
17134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17139 bool temp2
= false ;
17140 bool temp3
= false ;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 PyObject
* obj2
= 0 ;
17144 char * kwnames
[] = {
17145 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17150 if (!SWIG_IsOK(res1
)) {
17151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17153 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17155 arg2
= wxString_in_helper(obj1
);
17156 if (arg2
== NULL
) SWIG_fail
;
17161 arg3
= wxString_in_helper(obj2
);
17162 if (arg3
== NULL
) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17201 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 PyObject
*resultobj
= 0;
17203 wxLocale
*arg1
= (wxLocale
*) 0 ;
17204 wxString
*result
= 0 ;
17207 PyObject
*swig_obj
[1] ;
17209 if (!args
) SWIG_fail
;
17210 swig_obj
[0] = args
;
17211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17212 if (!SWIG_IsOK(res1
)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17215 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17220 result
= (wxString
*) &_result_ref
;
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17229 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17238 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17241 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17242 return SWIG_Py_Void();
17245 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17246 return SWIG_Python_InitShadowInstance(args
);
17249 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
= 0;
17251 int arg1
= (int) -1 ;
17252 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17253 wxPyLocale
*result
= 0 ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char * kwnames
[] = {
17261 (char *) "language",(char *) "flags", NULL
17264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17266 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17267 if (!SWIG_IsOK(ecode1
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17270 arg1
= static_cast< int >(val1
);
17273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17274 if (!SWIG_IsOK(ecode2
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17277 arg2
= static_cast< int >(val2
);
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17292 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17293 PyObject
*resultobj
= 0;
17294 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17297 PyObject
*swig_obj
[1] ;
17299 if (!args
) SWIG_fail
;
17300 swig_obj
[0] = args
;
17301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17302 if (!SWIG_IsOK(res1
)) {
17303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17305 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= SWIG_Py_Void();
17320 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
= 0;
17322 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17323 PyObject
*arg2
= (PyObject
*) 0 ;
17324 PyObject
*arg3
= (PyObject
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 PyObject
* obj2
= 0 ;
17330 char * kwnames
[] = {
17331 (char *) "self",(char *) "self",(char *) "_class", NULL
17334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17336 if (!SWIG_IsOK(res1
)) {
17337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17339 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_Py_Void();
17355 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
= 0;
17357 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17358 wxChar
*arg2
= (wxChar
*) 0 ;
17359 wxChar
*arg3
= (wxChar
*) NULL
;
17360 wxChar
*result
= 0 ;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 PyObject
* obj2
= 0 ;
17370 char * kwnames
[] = {
17371 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17376 if (!SWIG_IsOK(res1
)) {
17377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17379 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17381 if (!SWIG_IsOK(res2
)) {
17382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17384 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17386 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17387 if (!SWIG_IsOK(res3
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17390 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17405 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
= 0;
17407 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17408 wxChar
*arg2
= (wxChar
*) 0 ;
17409 wxChar
*arg3
= (wxChar
*) 0 ;
17411 wxChar
*arg5
= (wxChar
*) NULL
;
17412 wxChar
*result
= 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 PyObject
* obj2
= 0 ;
17426 PyObject
* obj3
= 0 ;
17427 PyObject
* obj4
= 0 ;
17428 char * kwnames
[] = {
17429 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17434 if (!SWIG_IsOK(res1
)) {
17435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17437 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17439 if (!SWIG_IsOK(res2
)) {
17440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17442 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17443 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17444 if (!SWIG_IsOK(res3
)) {
17445 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17447 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17448 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17449 if (!SWIG_IsOK(ecode4
)) {
17450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17452 arg4
= static_cast< size_t >(val4
);
17454 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17455 if (!SWIG_IsOK(res5
)) {
17456 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17458 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17473 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17476 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17477 return SWIG_Py_Void();
17480 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17481 return SWIG_Python_InitShadowInstance(args
);
17484 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17485 PyObject
*resultobj
= 0;
17486 wxLocale
*result
= 0 ;
17488 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (wxLocale
*)wxGetLocale();
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17502 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17503 PyObject
*resultobj
= 0;
17504 wxString
*arg1
= 0 ;
17506 bool temp1
= false ;
17508 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17510 arg1
= wxString_in_helper(swig_obj
[0]);
17511 if (arg1
== NULL
) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= wxGetTranslation((wxString
const &)*arg1
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17541 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17542 PyObject
*resultobj
= 0;
17543 wxString
*arg1
= 0 ;
17544 wxString
*arg2
= 0 ;
17546 bool temp1
= false ;
17547 bool temp2
= false ;
17549 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17551 arg1
= wxString_in_helper(swig_obj
[0]);
17552 if (arg1
== NULL
) SWIG_fail
;
17556 arg2
= wxString_in_helper(swig_obj
[1]);
17557 if (arg2
== NULL
) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17595 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17596 PyObject
*resultobj
= 0;
17597 wxString
*arg1
= 0 ;
17598 wxString
*arg2
= 0 ;
17601 bool temp1
= false ;
17602 bool temp2
= false ;
17606 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17608 arg1
= wxString_in_helper(swig_obj
[0]);
17609 if (arg1
== NULL
) SWIG_fail
;
17613 arg2
= wxString_in_helper(swig_obj
[1]);
17614 if (arg2
== NULL
) SWIG_fail
;
17617 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17618 if (!SWIG_IsOK(ecode3
)) {
17619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17621 arg3
= static_cast< size_t >(val3
);
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17657 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17658 PyObject
*resultobj
= 0;
17659 wxString
*arg1
= 0 ;
17660 wxString
*arg2
= 0 ;
17662 wxString
*arg4
= 0 ;
17664 bool temp1
= false ;
17665 bool temp2
= false ;
17668 bool temp4
= false ;
17670 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17672 arg1
= wxString_in_helper(swig_obj
[0]);
17673 if (arg1
== NULL
) SWIG_fail
;
17677 arg2
= wxString_in_helper(swig_obj
[1]);
17678 if (arg2
== NULL
) SWIG_fail
;
17681 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17682 if (!SWIG_IsOK(ecode3
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17685 arg3
= static_cast< size_t >(val3
);
17687 arg4
= wxString_in_helper(swig_obj
[3]);
17688 if (arg4
== NULL
) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17734 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17738 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17741 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17744 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17747 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17750 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17754 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17759 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17760 PyObject
*resultobj
= 0;
17761 wxEncodingConverter
*result
= 0 ;
17763 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17777 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17778 PyObject
*resultobj
= 0;
17779 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17782 PyObject
*swig_obj
[1] ;
17784 if (!args
) SWIG_fail
;
17785 swig_obj
[0] = args
;
17786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17790 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_Py_Void();
17805 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
= 0;
17807 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17808 wxFontEncoding arg2
;
17809 wxFontEncoding arg3
;
17810 int arg4
= (int) wxCONVERT_STRICT
;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 PyObject
* obj3
= 0 ;
17824 char * kwnames
[] = {
17825 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17830 if (!SWIG_IsOK(res1
)) {
17831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17833 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17835 if (!SWIG_IsOK(ecode2
)) {
17836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17838 arg2
= static_cast< wxFontEncoding
>(val2
);
17839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17840 if (!SWIG_IsOK(ecode3
)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17843 arg3
= static_cast< wxFontEncoding
>(val3
);
17845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17846 if (!SWIG_IsOK(ecode4
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17849 arg4
= static_cast< int >(val4
);
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17866 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
= 0;
17868 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17869 wxString
*arg2
= 0 ;
17873 bool temp2
= false ;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char * kwnames
[] = {
17877 (char *) "self",(char *) "input", NULL
17880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17882 if (!SWIG_IsOK(res1
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17885 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17887 arg2
= wxString_in_helper(obj1
);
17888 if (arg2
== NULL
) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17918 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= 0;
17920 wxFontEncoding arg1
;
17921 int arg2
= (int) wxPLATFORM_CURRENT
;
17922 wxFontEncodingArray result
;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char * kwnames
[] = {
17930 (char *) "enc",(char *) "platform", NULL
17933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17934 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17935 if (!SWIG_IsOK(ecode1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17938 arg1
= static_cast< wxFontEncoding
>(val1
);
17940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17941 if (!SWIG_IsOK(ecode2
)) {
17942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17944 arg2
= static_cast< int >(val2
);
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= PyList_New(0);
17954 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17955 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17956 PyList_Append(resultobj
, number
);
17966 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
= 0;
17968 wxFontEncoding arg1
;
17969 wxFontEncodingArray result
;
17972 PyObject
* obj0
= 0 ;
17973 char * kwnames
[] = {
17974 (char *) "enc", NULL
17977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17979 if (!SWIG_IsOK(ecode1
)) {
17980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17982 arg1
= static_cast< wxFontEncoding
>(val1
);
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= PyList_New(0);
17991 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17992 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17993 PyList_Append(resultobj
, number
);
18003 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
= 0;
18005 wxFontEncoding arg1
;
18006 wxFontEncoding arg2
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 char * kwnames
[] = {
18015 (char *) "encIn",(char *) "encOut", NULL
18018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18020 if (!SWIG_IsOK(ecode1
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18023 arg1
= static_cast< wxFontEncoding
>(val1
);
18024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18025 if (!SWIG_IsOK(ecode2
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18028 arg2
= static_cast< wxFontEncoding
>(val2
);
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18044 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18047 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18048 return SWIG_Py_Void();
18051 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18052 return SWIG_Python_InitShadowInstance(args
);
18055 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18056 PyObject
*resultobj
= 0;
18057 wxDC
*arg1
= (wxDC
*) 0 ;
18060 PyObject
*swig_obj
[1] ;
18062 if (!args
) SWIG_fail
;
18063 swig_obj
[0] = args
;
18064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18065 if (!SWIG_IsOK(res1
)) {
18066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_Py_Void();
18083 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
= 0;
18085 wxDC
*arg1
= (wxDC
*) 0 ;
18088 wxColour
*arg4
= 0 ;
18089 int arg5
= (int) wxFLOOD_SURFACE
;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 PyObject
* obj2
= 0 ;
18103 PyObject
* obj3
= 0 ;
18104 PyObject
* obj4
= 0 ;
18105 char * kwnames
[] = {
18106 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18116 if (!SWIG_IsOK(ecode2
)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18119 arg2
= static_cast< int >(val2
);
18120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18121 if (!SWIG_IsOK(ecode3
)) {
18122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18124 arg3
= static_cast< int >(val3
);
18127 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18130 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18131 if (!SWIG_IsOK(ecode5
)) {
18132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18134 arg5
= static_cast< int >(val5
);
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18151 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
= 0;
18153 wxDC
*arg1
= (wxDC
*) 0 ;
18154 wxPoint
*arg2
= 0 ;
18155 wxColour
*arg3
= 0 ;
18156 int arg4
= (int) wxFLOOD_SURFACE
;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 PyObject
* obj2
= 0 ;
18167 PyObject
* obj3
= 0 ;
18168 char * kwnames
[] = {
18169 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18184 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18188 if (!SWIG_IsOK(ecode4
)) {
18189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18191 arg4
= static_cast< int >(val4
);
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18208 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
= 0;
18210 wxDC
*arg1
= (wxDC
*) 0 ;
18212 wxColour
*arg3
= 0 ;
18213 wxColour
*arg4
= 0 ;
18214 wxPoint
*arg5
= 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 PyObject
* obj3
= 0 ;
18225 PyObject
* obj4
= 0 ;
18226 char * kwnames
[] = {
18227 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18232 if (!SWIG_IsOK(res1
)) {
18233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18238 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18242 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18246 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18250 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_Py_Void();
18265 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
= 0;
18267 wxDC
*arg1
= (wxDC
*) 0 ;
18269 wxColour
*arg3
= 0 ;
18270 wxColour
*arg4
= 0 ;
18271 wxDirection arg5
= (wxDirection
) wxEAST
;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 PyObject
* obj2
= 0 ;
18282 PyObject
* obj3
= 0 ;
18283 PyObject
* obj4
= 0 ;
18284 char * kwnames
[] = {
18285 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18296 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18300 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18304 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18308 if (!SWIG_IsOK(ecode5
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18311 arg5
= static_cast< wxDirection
>(val5
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_Py_Void();
18326 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
= 0;
18328 wxDC
*arg1
= (wxDC
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj2
= 0 ;
18341 char * kwnames
[] = {
18342 (char *) "self",(char *) "x",(char *) "y", NULL
18345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18347 if (!SWIG_IsOK(res1
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18352 if (!SWIG_IsOK(ecode2
)) {
18353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18355 arg2
= static_cast< int >(val2
);
18356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18357 if (!SWIG_IsOK(ecode3
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18360 arg3
= static_cast< int >(val3
);
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18374 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
= 0;
18376 wxDC
*arg1
= (wxDC
*) 0 ;
18377 wxPoint
*arg2
= 0 ;
18382 PyObject
* obj0
= 0 ;
18383 PyObject
* obj1
= 0 ;
18384 char * kwnames
[] = {
18385 (char *) "self",(char *) "pt", NULL
18388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18390 if (!SWIG_IsOK(res1
)) {
18391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18411 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
= 0;
18413 wxDC
*arg1
= (wxDC
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 PyObject
* obj3
= 0 ;
18432 PyObject
* obj4
= 0 ;
18433 char * kwnames
[] = {
18434 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18444 if (!SWIG_IsOK(ecode2
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18447 arg2
= static_cast< int >(val2
);
18448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18449 if (!SWIG_IsOK(ecode3
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18452 arg3
= static_cast< int >(val3
);
18453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18454 if (!SWIG_IsOK(ecode4
)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18457 arg4
= static_cast< int >(val4
);
18458 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18459 if (!SWIG_IsOK(ecode5
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18462 arg5
= static_cast< int >(val5
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_Py_Void();
18476 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= 0;
18478 wxDC
*arg1
= (wxDC
*) 0 ;
18479 wxPoint
*arg2
= 0 ;
18480 wxPoint
*arg3
= 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 char * kwnames
[] = {
18489 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_Py_Void();
18519 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
= 0;
18521 wxDC
*arg1
= (wxDC
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 PyObject
* obj2
= 0 ;
18533 char * kwnames
[] = {
18534 (char *) "self",(char *) "x",(char *) "y", NULL
18537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18539 if (!SWIG_IsOK(res1
)) {
18540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18544 if (!SWIG_IsOK(ecode2
)) {
18545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18547 arg2
= static_cast< int >(val2
);
18548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18549 if (!SWIG_IsOK(ecode3
)) {
18550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18552 arg3
= static_cast< int >(val3
);
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 (arg1
)->CrossHair(arg2
,arg3
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_Py_Void();
18566 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
= 0;
18568 wxDC
*arg1
= (wxDC
*) 0 ;
18569 wxPoint
*arg2
= 0 ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 char * kwnames
[] = {
18576 (char *) "self",(char *) "pt", NULL
18579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18581 if (!SWIG_IsOK(res1
)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= SWIG_Py_Void();
18602 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
= 0;
18604 wxDC
*arg1
= (wxDC
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 PyObject
* obj2
= 0 ;
18628 PyObject
* obj3
= 0 ;
18629 PyObject
* obj4
= 0 ;
18630 PyObject
* obj5
= 0 ;
18631 PyObject
* obj6
= 0 ;
18632 char * kwnames
[] = {
18633 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18638 if (!SWIG_IsOK(res1
)) {
18639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18643 if (!SWIG_IsOK(ecode2
)) {
18644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18646 arg2
= static_cast< int >(val2
);
18647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18648 if (!SWIG_IsOK(ecode3
)) {
18649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18651 arg3
= static_cast< int >(val3
);
18652 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18653 if (!SWIG_IsOK(ecode4
)) {
18654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18656 arg4
= static_cast< int >(val4
);
18657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18658 if (!SWIG_IsOK(ecode5
)) {
18659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18661 arg5
= static_cast< int >(val5
);
18662 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18663 if (!SWIG_IsOK(ecode6
)) {
18664 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18666 arg6
= static_cast< int >(val6
);
18667 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18668 if (!SWIG_IsOK(ecode7
)) {
18669 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18671 arg7
= static_cast< int >(val7
);
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_Py_Void();
18685 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
= 0;
18687 wxDC
*arg1
= (wxDC
*) 0 ;
18688 wxPoint
*arg2
= 0 ;
18689 wxPoint
*arg3
= 0 ;
18690 wxPoint
*arg4
= 0 ;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 PyObject
* obj2
= 0 ;
18699 PyObject
* obj3
= 0 ;
18700 char * kwnames
[] = {
18701 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18720 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_Py_Void();
18735 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
= 0;
18737 wxDC
*arg1
= (wxDC
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 PyObject
* obj2
= 0 ;
18755 PyObject
* obj3
= 0 ;
18756 PyObject
* obj4
= 0 ;
18757 char * kwnames
[] = {
18758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18768 if (!SWIG_IsOK(ecode2
)) {
18769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18771 arg2
= static_cast< int >(val2
);
18772 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18773 if (!SWIG_IsOK(ecode3
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18776 arg3
= static_cast< int >(val3
);
18777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18778 if (!SWIG_IsOK(ecode4
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18781 arg4
= static_cast< int >(val4
);
18782 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18783 if (!SWIG_IsOK(ecode5
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18786 arg5
= static_cast< int >(val5
);
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= SWIG_Py_Void();
18800 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
= 0;
18802 wxDC
*arg1
= (wxDC
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char * kwnames
[] = {
18810 (char *) "self",(char *) "rect", NULL
18813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18815 if (!SWIG_IsOK(res1
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18821 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_Py_Void();
18836 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
= 0;
18838 wxDC
*arg1
= (wxDC
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 PyObject
* obj3
= 0 ;
18863 PyObject
* obj4
= 0 ;
18864 PyObject
* obj5
= 0 ;
18865 PyObject
* obj6
= 0 ;
18866 char * kwnames
[] = {
18867 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18872 if (!SWIG_IsOK(res1
)) {
18873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18877 if (!SWIG_IsOK(ecode2
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18880 arg2
= static_cast< int >(val2
);
18881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18882 if (!SWIG_IsOK(ecode3
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18885 arg3
= static_cast< int >(val3
);
18886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18887 if (!SWIG_IsOK(ecode4
)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18890 arg4
= static_cast< int >(val4
);
18891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18892 if (!SWIG_IsOK(ecode5
)) {
18893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18895 arg5
= static_cast< int >(val5
);
18896 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18897 if (!SWIG_IsOK(ecode6
)) {
18898 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18900 arg6
= static_cast< double >(val6
);
18901 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18902 if (!SWIG_IsOK(ecode7
)) {
18903 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18905 arg7
= static_cast< double >(val7
);
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_Py_Void();
18919 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
= 0;
18921 wxDC
*arg1
= (wxDC
*) 0 ;
18922 wxPoint
*arg2
= 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 PyObject
* obj2
= 0 ;
18937 PyObject
* obj3
= 0 ;
18938 PyObject
* obj4
= 0 ;
18939 char * kwnames
[] = {
18940 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18955 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18957 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18958 if (!SWIG_IsOK(ecode4
)) {
18959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18961 arg4
= static_cast< double >(val4
);
18962 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18963 if (!SWIG_IsOK(ecode5
)) {
18964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18966 arg5
= static_cast< double >(val5
);
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_Py_Void();
18980 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
= 0;
18982 wxDC
*arg1
= (wxDC
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 PyObject
* obj2
= 0 ;
18994 char * kwnames
[] = {
18995 (char *) "self",(char *) "x",(char *) "y", NULL
18998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19000 if (!SWIG_IsOK(res1
)) {
19001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19005 if (!SWIG_IsOK(ecode2
)) {
19006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19008 arg2
= static_cast< int >(val2
);
19009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19010 if (!SWIG_IsOK(ecode3
)) {
19011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19013 arg3
= static_cast< int >(val3
);
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 (arg1
)->DrawPoint(arg2
,arg3
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_Py_Void();
19027 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
= 0;
19029 wxDC
*arg1
= (wxDC
*) 0 ;
19030 wxPoint
*arg2
= 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "self",(char *) "pt", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= SWIG_Py_Void();
19063 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
= 0;
19065 wxDC
*arg1
= (wxDC
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 PyObject
* obj2
= 0 ;
19083 PyObject
* obj3
= 0 ;
19084 PyObject
* obj4
= 0 ;
19085 char * kwnames
[] = {
19086 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19091 if (!SWIG_IsOK(res1
)) {
19092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19096 if (!SWIG_IsOK(ecode2
)) {
19097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19099 arg2
= static_cast< int >(val2
);
19100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19101 if (!SWIG_IsOK(ecode3
)) {
19102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19104 arg3
= static_cast< int >(val3
);
19105 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19106 if (!SWIG_IsOK(ecode4
)) {
19107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19109 arg4
= static_cast< int >(val4
);
19110 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19111 if (!SWIG_IsOK(ecode5
)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19114 arg5
= static_cast< int >(val5
);
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_Py_Void();
19128 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
= 0;
19130 wxDC
*arg1
= (wxDC
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 char * kwnames
[] = {
19138 (char *) "self",(char *) "rect", NULL
19141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19143 if (!SWIG_IsOK(res1
)) {
19144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_Py_Void();
19164 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= 0;
19166 wxDC
*arg1
= (wxDC
*) 0 ;
19167 wxPoint
*arg2
= 0 ;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 PyObject
* obj2
= 0 ;
19176 char * kwnames
[] = {
19177 (char *) "self",(char *) "pt",(char *) "sz", NULL
19180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19192 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_Py_Void();
19207 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
= 0;
19209 wxDC
*arg1
= (wxDC
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 PyObject
* obj2
= 0 ;
19230 PyObject
* obj3
= 0 ;
19231 PyObject
* obj4
= 0 ;
19232 PyObject
* obj5
= 0 ;
19233 char * kwnames
[] = {
19234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19239 if (!SWIG_IsOK(res1
)) {
19240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19244 if (!SWIG_IsOK(ecode2
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19247 arg2
= static_cast< int >(val2
);
19248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19249 if (!SWIG_IsOK(ecode3
)) {
19250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19252 arg3
= static_cast< int >(val3
);
19253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19254 if (!SWIG_IsOK(ecode4
)) {
19255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19257 arg4
= static_cast< int >(val4
);
19258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19259 if (!SWIG_IsOK(ecode5
)) {
19260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19262 arg5
= static_cast< int >(val5
);
19263 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19264 if (!SWIG_IsOK(ecode6
)) {
19265 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19267 arg6
= static_cast< double >(val6
);
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= SWIG_Py_Void();
19281 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
= 0;
19283 wxDC
*arg1
= (wxDC
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 PyObject
* obj2
= 0 ;
19294 char * kwnames
[] = {
19295 (char *) "self",(char *) "r",(char *) "radius", NULL
19298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19300 if (!SWIG_IsOK(res1
)) {
19301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19308 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19309 if (!SWIG_IsOK(ecode3
)) {
19310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19312 arg3
= static_cast< double >(val3
);
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_Py_Void();
19326 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
= 0;
19328 wxDC
*arg1
= (wxDC
*) 0 ;
19329 wxPoint
*arg2
= 0 ;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 PyObject
* obj2
= 0 ;
19341 PyObject
* obj3
= 0 ;
19342 char * kwnames
[] = {
19343 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19358 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19360 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19361 if (!SWIG_IsOK(ecode4
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19364 arg4
= static_cast< double >(val4
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_Py_Void();
19378 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxDC
*arg1
= (wxDC
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 PyObject
* obj1
= 0 ;
19394 PyObject
* obj2
= 0 ;
19395 PyObject
* obj3
= 0 ;
19396 char * kwnames
[] = {
19397 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19402 if (!SWIG_IsOK(res1
)) {
19403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19407 if (!SWIG_IsOK(ecode2
)) {
19408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19410 arg2
= static_cast< int >(val2
);
19411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19412 if (!SWIG_IsOK(ecode3
)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19415 arg3
= static_cast< int >(val3
);
19416 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19417 if (!SWIG_IsOK(ecode4
)) {
19418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19420 arg4
= static_cast< int >(val4
);
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 resultobj
= SWIG_Py_Void();
19434 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxDC
*arg1
= (wxDC
*) 0 ;
19437 wxPoint
*arg2
= 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 PyObject
* obj2
= 0 ;
19447 char * kwnames
[] = {
19448 (char *) "self",(char *) "pt",(char *) "radius", NULL
19451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19453 if (!SWIG_IsOK(res1
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19462 if (!SWIG_IsOK(ecode3
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19465 arg3
= static_cast< int >(val3
);
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 resultobj
= SWIG_Py_Void();
19479 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
= 0;
19481 wxDC
*arg1
= (wxDC
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 PyObject
* obj2
= 0 ;
19499 PyObject
* obj3
= 0 ;
19500 PyObject
* obj4
= 0 ;
19501 char * kwnames
[] = {
19502 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19507 if (!SWIG_IsOK(res1
)) {
19508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19512 if (!SWIG_IsOK(ecode2
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19515 arg2
= static_cast< int >(val2
);
19516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19517 if (!SWIG_IsOK(ecode3
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19520 arg3
= static_cast< int >(val3
);
19521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19522 if (!SWIG_IsOK(ecode4
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19525 arg4
= static_cast< int >(val4
);
19526 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19527 if (!SWIG_IsOK(ecode5
)) {
19528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19530 arg5
= static_cast< int >(val5
);
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= SWIG_Py_Void();
19544 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= 0;
19546 wxDC
*arg1
= (wxDC
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "rect", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19565 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_Py_Void();
19580 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
= 0;
19582 wxDC
*arg1
= (wxDC
*) 0 ;
19583 wxPoint
*arg2
= 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 PyObject
* obj2
= 0 ;
19592 char * kwnames
[] = {
19593 (char *) "self",(char *) "pt",(char *) "sz", NULL
19596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19598 if (!SWIG_IsOK(res1
)) {
19599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19604 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19608 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_Py_Void();
19623 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxDC
*arg1
= (wxDC
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 PyObject
* obj1
= 0 ;
19639 PyObject
* obj2
= 0 ;
19640 PyObject
* obj3
= 0 ;
19641 char * kwnames
[] = {
19642 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19647 if (!SWIG_IsOK(res1
)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19652 if (!SWIG_IsOK(res2
)) {
19653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19658 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19660 if (!SWIG_IsOK(ecode3
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19663 arg3
= static_cast< int >(val3
);
19664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19665 if (!SWIG_IsOK(ecode4
)) {
19666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19668 arg4
= static_cast< int >(val4
);
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19675 resultobj
= SWIG_Py_Void();
19682 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
= 0;
19684 wxDC
*arg1
= (wxDC
*) 0 ;
19686 wxPoint
*arg3
= 0 ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 PyObject
* obj2
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "icon",(char *) "pt", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19706 if (!SWIG_IsOK(res2
)) {
19707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19712 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxDC
*arg1
= (wxDC
*) 0 ;
19733 wxBitmap
*arg2
= 0 ;
19736 bool arg5
= (bool) false ;
19747 PyObject
* obj0
= 0 ;
19748 PyObject
* obj1
= 0 ;
19749 PyObject
* obj2
= 0 ;
19750 PyObject
* obj3
= 0 ;
19751 PyObject
* obj4
= 0 ;
19752 char * kwnames
[] = {
19753 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19758 if (!SWIG_IsOK(res1
)) {
19759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19763 if (!SWIG_IsOK(res2
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19769 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19771 if (!SWIG_IsOK(ecode3
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19774 arg3
= static_cast< int >(val3
);
19775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19776 if (!SWIG_IsOK(ecode4
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19779 arg4
= static_cast< int >(val4
);
19781 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19782 if (!SWIG_IsOK(ecode5
)) {
19783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19785 arg5
= static_cast< bool >(val5
);
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_Py_Void();
19800 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
= 0;
19802 wxDC
*arg1
= (wxDC
*) 0 ;
19803 wxBitmap
*arg2
= 0 ;
19804 wxPoint
*arg3
= 0 ;
19805 bool arg4
= (bool) false ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 PyObject
* obj3
= 0 ;
19817 char * kwnames
[] = {
19818 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19828 if (!SWIG_IsOK(res2
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19834 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19840 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19841 if (!SWIG_IsOK(ecode4
)) {
19842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19844 arg4
= static_cast< bool >(val4
);
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_Py_Void();
19859 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
= 0;
19861 wxDC
*arg1
= (wxDC
*) 0 ;
19862 wxString
*arg2
= 0 ;
19867 bool temp2
= false ;
19872 PyObject
* obj0
= 0 ;
19873 PyObject
* obj1
= 0 ;
19874 PyObject
* obj2
= 0 ;
19875 PyObject
* obj3
= 0 ;
19876 char * kwnames
[] = {
19877 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19882 if (!SWIG_IsOK(res1
)) {
19883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19887 arg2
= wxString_in_helper(obj1
);
19888 if (arg2
== NULL
) SWIG_fail
;
19891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19892 if (!SWIG_IsOK(ecode3
)) {
19893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19895 arg3
= static_cast< int >(val3
);
19896 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19897 if (!SWIG_IsOK(ecode4
)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19900 arg4
= static_cast< int >(val4
);
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_Py_Void();
19922 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
= 0;
19924 wxDC
*arg1
= (wxDC
*) 0 ;
19925 wxString
*arg2
= 0 ;
19926 wxPoint
*arg3
= 0 ;
19929 bool temp2
= false ;
19931 PyObject
* obj0
= 0 ;
19932 PyObject
* obj1
= 0 ;
19933 PyObject
* obj2
= 0 ;
19934 char * kwnames
[] = {
19935 (char *) "self",(char *) "text",(char *) "pt", NULL
19938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19940 if (!SWIG_IsOK(res1
)) {
19941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19945 arg2
= wxString_in_helper(obj1
);
19946 if (arg2
== NULL
) SWIG_fail
;
19951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_Py_Void();
19974 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19975 PyObject
*resultobj
= 0;
19976 wxDC
*arg1
= (wxDC
*) 0 ;
19977 wxString
*arg2
= 0 ;
19983 bool temp2
= false ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 PyObject
* obj3
= 0 ;
19994 PyObject
* obj4
= 0 ;
19995 char * kwnames
[] = {
19996 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 arg2
= wxString_in_helper(obj1
);
20007 if (arg2
== NULL
) SWIG_fail
;
20010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20011 if (!SWIG_IsOK(ecode3
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20014 arg3
= static_cast< int >(val3
);
20015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20016 if (!SWIG_IsOK(ecode4
)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20019 arg4
= static_cast< int >(val4
);
20020 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20021 if (!SWIG_IsOK(ecode5
)) {
20022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20024 arg5
= static_cast< double >(val5
);
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_Py_Void();
20046 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
= 0;
20048 wxDC
*arg1
= (wxDC
*) 0 ;
20049 wxString
*arg2
= 0 ;
20050 wxPoint
*arg3
= 0 ;
20054 bool temp2
= false ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 PyObject
* obj2
= 0 ;
20061 PyObject
* obj3
= 0 ;
20062 char * kwnames
[] = {
20063 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20068 if (!SWIG_IsOK(res1
)) {
20069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20073 arg2
= wxString_in_helper(obj1
);
20074 if (arg2
== NULL
) SWIG_fail
;
20079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20081 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20082 if (!SWIG_IsOK(ecode4
)) {
20083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20085 arg4
= static_cast< double >(val4
);
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= SWIG_Py_Void();
20107 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= 0;
20109 wxDC
*arg1
= (wxDC
*) 0 ;
20114 wxDC
*arg6
= (wxDC
*) 0 ;
20117 int arg9
= (int) wxCOPY
;
20118 bool arg10
= (bool) false ;
20119 int arg11
= (int) -1 ;
20120 int arg12
= (int) -1 ;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 PyObject
* obj2
= 0 ;
20149 PyObject
* obj3
= 0 ;
20150 PyObject
* obj4
= 0 ;
20151 PyObject
* obj5
= 0 ;
20152 PyObject
* obj6
= 0 ;
20153 PyObject
* obj7
= 0 ;
20154 PyObject
* obj8
= 0 ;
20155 PyObject
* obj9
= 0 ;
20156 PyObject
* obj10
= 0 ;
20157 PyObject
* obj11
= 0 ;
20158 char * kwnames
[] = {
20159 (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
20162 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
;
20163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20169 if (!SWIG_IsOK(ecode2
)) {
20170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20172 arg2
= static_cast< int >(val2
);
20173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20174 if (!SWIG_IsOK(ecode3
)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20177 arg3
= static_cast< int >(val3
);
20178 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20179 if (!SWIG_IsOK(ecode4
)) {
20180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20182 arg4
= static_cast< int >(val4
);
20183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20184 if (!SWIG_IsOK(ecode5
)) {
20185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20187 arg5
= static_cast< int >(val5
);
20188 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20189 if (!SWIG_IsOK(res6
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20192 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20193 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20194 if (!SWIG_IsOK(ecode7
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20197 arg7
= static_cast< int >(val7
);
20198 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20199 if (!SWIG_IsOK(ecode8
)) {
20200 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20202 arg8
= static_cast< int >(val8
);
20204 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20205 if (!SWIG_IsOK(ecode9
)) {
20206 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20208 arg9
= static_cast< int >(val9
);
20211 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20212 if (!SWIG_IsOK(ecode10
)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20215 arg10
= static_cast< bool >(val10
);
20218 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20219 if (!SWIG_IsOK(ecode11
)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20222 arg11
= static_cast< int >(val11
);
20225 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20226 if (!SWIG_IsOK(ecode12
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20229 arg12
= static_cast< int >(val12
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20246 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxDC
*arg1
= (wxDC
*) 0 ;
20249 wxPoint
*arg2
= 0 ;
20251 wxDC
*arg4
= (wxDC
*) 0 ;
20252 wxPoint
*arg5
= 0 ;
20253 int arg6
= (int) wxCOPY
;
20254 bool arg7
= (bool) false ;
20255 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20256 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 PyObject
* obj2
= 0 ;
20273 PyObject
* obj3
= 0 ;
20274 PyObject
* obj4
= 0 ;
20275 PyObject
* obj5
= 0 ;
20276 PyObject
* obj6
= 0 ;
20277 PyObject
* obj7
= 0 ;
20278 char * kwnames
[] = {
20279 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20284 if (!SWIG_IsOK(res1
)) {
20285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20294 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20296 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20297 if (!SWIG_IsOK(res4
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20300 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20306 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20307 if (!SWIG_IsOK(ecode6
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20310 arg6
= static_cast< int >(val6
);
20313 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20314 if (!SWIG_IsOK(ecode7
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20317 arg7
= static_cast< bool >(val7
);
20322 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20340 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= 0;
20342 wxDC
*arg1
= (wxDC
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20359 PyObject
* obj2
= 0 ;
20360 PyObject
* obj3
= 0 ;
20361 PyObject
* obj4
= 0 ;
20362 char * kwnames
[] = {
20363 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20368 if (!SWIG_IsOK(res1
)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20373 if (!SWIG_IsOK(ecode2
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20376 arg2
= static_cast< int >(val2
);
20377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20378 if (!SWIG_IsOK(ecode3
)) {
20379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20381 arg3
= static_cast< int >(val3
);
20382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20383 if (!SWIG_IsOK(ecode4
)) {
20384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20386 arg4
= static_cast< int >(val4
);
20387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20388 if (!SWIG_IsOK(ecode5
)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20391 arg5
= static_cast< int >(val5
);
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxDC
*arg1
= (wxDC
*) 0 ;
20408 wxPoint
*arg2
= 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 char * kwnames
[] = {
20418 (char *) "self",(char *) "pt",(char *) "sz", NULL
20421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20423 if (!SWIG_IsOK(res1
)) {
20424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20433 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_Py_Void();
20448 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= 0;
20450 wxDC
*arg1
= (wxDC
*) 0 ;
20451 wxRegion
*arg2
= 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 char * kwnames
[] = {
20459 (char *) "self",(char *) "region", NULL
20462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20469 if (!SWIG_IsOK(res2
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20475 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
= 0;
20491 wxDC
*arg1
= (wxDC
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 char * kwnames
[] = {
20499 (char *) "self",(char *) "rect", NULL
20502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20504 if (!SWIG_IsOK(res1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20510 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_Py_Void();
20525 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
= 0;
20527 wxDC
*arg1
= (wxDC
*) 0 ;
20529 wxPoint
*arg3
= (wxPoint
*) 0 ;
20530 int arg4
= (int) 0 ;
20531 int arg5
= (int) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 PyObject
* obj2
= 0 ;
20541 PyObject
* obj3
= 0 ;
20542 char * kwnames
[] = {
20543 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20548 if (!SWIG_IsOK(res1
)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20553 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20554 if (arg3
== NULL
) SWIG_fail
;
20557 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20558 if (!SWIG_IsOK(ecode4
)) {
20559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20561 arg4
= static_cast< int >(val4
);
20564 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20565 if (!SWIG_IsOK(ecode5
)) {
20566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20568 arg5
= static_cast< int >(val5
);
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_Py_Void();
20578 if (arg3
) delete [] arg3
;
20583 if (arg3
) delete [] arg3
;
20589 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
= 0;
20591 wxDC
*arg1
= (wxDC
*) 0 ;
20593 wxPoint
*arg3
= (wxPoint
*) 0 ;
20594 int arg4
= (int) 0 ;
20595 int arg5
= (int) 0 ;
20596 int arg6
= (int) wxODDEVEN_RULE
;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 PyObject
* obj2
= 0 ;
20608 PyObject
* obj3
= 0 ;
20609 PyObject
* obj4
= 0 ;
20610 char * kwnames
[] = {
20611 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20616 if (!SWIG_IsOK(res1
)) {
20617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20621 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20622 if (arg3
== NULL
) SWIG_fail
;
20625 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20626 if (!SWIG_IsOK(ecode4
)) {
20627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20629 arg4
= static_cast< int >(val4
);
20632 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20633 if (!SWIG_IsOK(ecode5
)) {
20634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20636 arg5
= static_cast< int >(val5
);
20639 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20640 if (!SWIG_IsOK(ecode6
)) {
20641 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20643 arg6
= static_cast< int >(val6
);
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_Py_Void();
20653 if (arg3
) delete [] arg3
;
20658 if (arg3
) delete [] arg3
;
20664 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
= 0;
20666 wxDC
*arg1
= (wxDC
*) 0 ;
20667 wxString
*arg2
= 0 ;
20669 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20670 int arg5
= (int) -1 ;
20673 bool temp2
= false ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 PyObject
* obj2
= 0 ;
20682 PyObject
* obj3
= 0 ;
20683 PyObject
* obj4
= 0 ;
20684 char * kwnames
[] = {
20685 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20690 if (!SWIG_IsOK(res1
)) {
20691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20695 arg2
= wxString_in_helper(obj1
);
20696 if (arg2
== NULL
) SWIG_fail
;
20701 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20705 if (!SWIG_IsOK(ecode4
)) {
20706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20708 arg4
= static_cast< int >(val4
);
20711 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20712 if (!SWIG_IsOK(ecode5
)) {
20713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20715 arg5
= static_cast< int >(val5
);
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_Py_Void();
20738 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxDC
*arg1
= (wxDC
*) 0 ;
20741 wxString
*arg2
= 0 ;
20742 wxBitmap
*arg3
= 0 ;
20744 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20745 int arg6
= (int) -1 ;
20749 bool temp2
= false ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 PyObject
* obj2
= 0 ;
20760 PyObject
* obj3
= 0 ;
20761 PyObject
* obj4
= 0 ;
20762 PyObject
* obj5
= 0 ;
20763 char * kwnames
[] = {
20764 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20774 arg2
= wxString_in_helper(obj1
);
20775 if (arg2
== NULL
) SWIG_fail
;
20778 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20779 if (!SWIG_IsOK(res3
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20785 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20788 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20791 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20792 if (!SWIG_IsOK(ecode5
)) {
20793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20795 arg5
= static_cast< int >(val5
);
20798 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20799 if (!SWIG_IsOK(ecode6
)) {
20800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20802 arg6
= static_cast< int >(val6
);
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20825 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxDC
*arg1
= (wxDC
*) 0 ;
20829 wxPoint
*arg3
= (wxPoint
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char * kwnames
[] = {
20835 (char *) "self",(char *) "points", NULL
20838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20840 if (!SWIG_IsOK(res1
)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20845 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20846 if (arg3
== NULL
) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 (arg1
)->DrawSpline(arg2
,arg3
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= SWIG_Py_Void();
20856 if (arg3
) delete [] arg3
;
20861 if (arg3
) delete [] arg3
;
20867 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20868 PyObject
*resultobj
= 0;
20869 wxDC
*arg1
= (wxDC
*) 0 ;
20872 PyObject
*swig_obj
[1] ;
20874 if (!args
) SWIG_fail
;
20875 swig_obj
[0] = args
;
20876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_Py_Void();
20894 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxDC
*arg1
= (wxDC
*) 0 ;
20897 wxString
*arg2
= 0 ;
20901 bool temp2
= false ;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 char * kwnames
[] = {
20905 (char *) "self",(char *) "message", NULL
20908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20915 arg2
= wxString_in_helper(obj1
);
20916 if (arg2
== NULL
) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20942 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 PyObject
*resultobj
= 0;
20944 wxDC
*arg1
= (wxDC
*) 0 ;
20947 PyObject
*swig_obj
[1] ;
20949 if (!args
) SWIG_fail
;
20950 swig_obj
[0] = args
;
20951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20952 if (!SWIG_IsOK(res1
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= SWIG_Py_Void();
20969 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20970 PyObject
*resultobj
= 0;
20971 wxDC
*arg1
= (wxDC
*) 0 ;
20974 PyObject
*swig_obj
[1] ;
20976 if (!args
) SWIG_fail
;
20977 swig_obj
[0] = args
;
20978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20979 if (!SWIG_IsOK(res1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 (arg1
)->StartPage();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_Py_Void();
20996 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20997 PyObject
*resultobj
= 0;
20998 wxDC
*arg1
= (wxDC
*) 0 ;
21001 PyObject
*swig_obj
[1] ;
21003 if (!args
) SWIG_fail
;
21004 swig_obj
[0] = args
;
21005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= SWIG_Py_Void();
21023 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
= 0;
21025 wxDC
*arg1
= (wxDC
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char * kwnames
[] = {
21034 (char *) "self",(char *) "font", NULL
21037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21039 if (!SWIG_IsOK(res1
)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21044 if (!SWIG_IsOK(res2
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21050 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 (arg1
)->SetFont((wxFont
const &)*arg2
);
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_Py_Void();
21064 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
= 0;
21066 wxDC
*arg1
= (wxDC
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char * kwnames
[] = {
21075 (char *) "self",(char *) "pen", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21080 if (!SWIG_IsOK(res1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21085 if (!SWIG_IsOK(res2
)) {
21086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21091 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 (arg1
)->SetPen((wxPen
const &)*arg2
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_Py_Void();
21105 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
= 0;
21107 wxDC
*arg1
= (wxDC
*) 0 ;
21108 wxBrush
*arg2
= 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "brush", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21126 if (!SWIG_IsOK(res2
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21132 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_Py_Void();
21146 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
= 0;
21148 wxDC
*arg1
= (wxDC
*) 0 ;
21149 wxBrush
*arg2
= 0 ;
21154 PyObject
* obj0
= 0 ;
21155 PyObject
* obj1
= 0 ;
21156 char * kwnames
[] = {
21157 (char *) "self",(char *) "brush", NULL
21160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21162 if (!SWIG_IsOK(res1
)) {
21163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21167 if (!SWIG_IsOK(res2
)) {
21168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21173 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_Py_Void();
21187 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxDC
*arg1
= (wxDC
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "self",(char *) "mode", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21208 if (!SWIG_IsOK(ecode2
)) {
21209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21211 arg2
= static_cast< int >(val2
);
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 (arg1
)->SetBackgroundMode(arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_Py_Void();
21225 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxDC
*arg1
= (wxDC
*) 0 ;
21228 wxPalette
*arg2
= 0 ;
21233 PyObject
* obj0
= 0 ;
21234 PyObject
* obj1
= 0 ;
21235 char * kwnames
[] = {
21236 (char *) "self",(char *) "palette", NULL
21239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21241 if (!SWIG_IsOK(res1
)) {
21242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21246 if (!SWIG_IsOK(res2
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21252 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_Py_Void();
21266 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21267 PyObject
*resultobj
= 0;
21268 wxDC
*arg1
= (wxDC
*) 0 ;
21271 PyObject
*swig_obj
[1] ;
21273 if (!args
) SWIG_fail
;
21274 swig_obj
[0] = args
;
21275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->DestroyClippingRegion();
21283 wxPyEndAllowThreads(__tstate
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= SWIG_Py_Void();
21293 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxDC
*arg1
= (wxDC
*) 0 ;
21296 int *arg2
= (int *) 0 ;
21297 int *arg3
= (int *) 0 ;
21298 int *arg4
= (int *) 0 ;
21299 int *arg5
= (int *) 0 ;
21303 int res2
= SWIG_TMPOBJ
;
21305 int res3
= SWIG_TMPOBJ
;
21307 int res4
= SWIG_TMPOBJ
;
21309 int res5
= SWIG_TMPOBJ
;
21310 PyObject
*swig_obj
[1] ;
21316 if (!args
) SWIG_fail
;
21317 swig_obj
[0] = args
;
21318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21319 if (!SWIG_IsOK(res1
)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_Py_Void();
21330 if (SWIG_IsTmpObj(res2
)) {
21331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21333 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21336 if (SWIG_IsTmpObj(res3
)) {
21337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21339 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21342 if (SWIG_IsTmpObj(res4
)) {
21343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21345 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21348 if (SWIG_IsTmpObj(res5
)) {
21349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21351 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21360 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21361 PyObject
*resultobj
= 0;
21362 wxDC
*arg1
= (wxDC
*) 0 ;
21366 PyObject
*swig_obj
[1] ;
21368 if (!args
) SWIG_fail
;
21369 swig_obj
[0] = args
;
21370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 result
= wxDC_GetClippingRect(arg1
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21388 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21389 PyObject
*resultobj
= 0;
21390 wxDC
*arg1
= (wxDC
*) 0 ;
21394 PyObject
*swig_obj
[1] ;
21396 if (!args
) SWIG_fail
;
21397 swig_obj
[0] = args
;
21398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21399 if (!SWIG_IsOK(res1
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_From_int(static_cast< int >(result
));
21416 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21417 PyObject
*resultobj
= 0;
21418 wxDC
*arg1
= (wxDC
*) 0 ;
21422 PyObject
*swig_obj
[1] ;
21424 if (!args
) SWIG_fail
;
21425 swig_obj
[0] = args
;
21426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21427 if (!SWIG_IsOK(res1
)) {
21428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= SWIG_From_int(static_cast< int >(result
));
21444 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
= 0;
21446 wxDC
*arg1
= (wxDC
*) 0 ;
21447 wxString
*arg2
= 0 ;
21448 int *arg3
= (int *) 0 ;
21449 int *arg4
= (int *) 0 ;
21452 bool temp2
= false ;
21454 int res3
= SWIG_TMPOBJ
;
21456 int res4
= SWIG_TMPOBJ
;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char * kwnames
[] = {
21460 (char *) "self",(char *) "string", NULL
21465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21472 arg2
= wxString_in_helper(obj1
);
21473 if (arg2
== NULL
) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_Py_Void();
21483 if (SWIG_IsTmpObj(res3
)) {
21484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21486 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21489 if (SWIG_IsTmpObj(res4
)) {
21490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21492 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21509 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
= 0;
21511 wxDC
*arg1
= (wxDC
*) 0 ;
21512 wxString
*arg2
= 0 ;
21513 int *arg3
= (int *) 0 ;
21514 int *arg4
= (int *) 0 ;
21515 int *arg5
= (int *) 0 ;
21516 int *arg6
= (int *) 0 ;
21517 wxFont
*arg7
= (wxFont
*) NULL
;
21520 bool temp2
= false ;
21522 int res3
= SWIG_TMPOBJ
;
21524 int res4
= SWIG_TMPOBJ
;
21526 int res5
= SWIG_TMPOBJ
;
21528 int res6
= SWIG_TMPOBJ
;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 PyObject
* obj2
= 0 ;
21534 char * kwnames
[] = {
21535 (char *) "self",(char *) "string",(char *) "font", NULL
21542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21544 if (!SWIG_IsOK(res1
)) {
21545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21549 arg2
= wxString_in_helper(obj1
);
21550 if (arg2
== NULL
) SWIG_fail
;
21554 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21555 if (!SWIG_IsOK(res7
)) {
21556 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21558 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_Py_Void();
21567 if (SWIG_IsTmpObj(res3
)) {
21568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21570 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21573 if (SWIG_IsTmpObj(res4
)) {
21574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21576 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21579 if (SWIG_IsTmpObj(res5
)) {
21580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21582 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21585 if (SWIG_IsTmpObj(res6
)) {
21586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21588 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21605 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
= 0;
21607 wxDC
*arg1
= (wxDC
*) 0 ;
21608 wxString
*arg2
= 0 ;
21609 int *arg3
= (int *) 0 ;
21610 int *arg4
= (int *) 0 ;
21611 int *arg5
= (int *) 0 ;
21612 wxFont
*arg6
= (wxFont
*) NULL
;
21615 bool temp2
= false ;
21617 int res3
= SWIG_TMPOBJ
;
21619 int res4
= SWIG_TMPOBJ
;
21621 int res5
= SWIG_TMPOBJ
;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 PyObject
* obj2
= 0 ;
21627 char * kwnames
[] = {
21628 (char *) "self",(char *) "text",(char *) "font", NULL
21634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21641 arg2
= wxString_in_helper(obj1
);
21642 if (arg2
== NULL
) SWIG_fail
;
21646 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21647 if (!SWIG_IsOK(res6
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21650 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_Py_Void();
21659 if (SWIG_IsTmpObj(res3
)) {
21660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21662 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21665 if (SWIG_IsTmpObj(res4
)) {
21666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21668 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21671 if (SWIG_IsTmpObj(res5
)) {
21672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21674 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21691 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
= 0;
21693 wxDC
*arg1
= (wxDC
*) 0 ;
21694 wxString
*arg2
= 0 ;
21698 bool temp2
= false ;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char * kwnames
[] = {
21702 (char *) "self",(char *) "text", NULL
21705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21712 arg2
= wxString_in_helper(obj1
);
21713 if (arg2
== NULL
) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= wxArrayInt2PyList_helper(result
);
21739 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 PyObject
*resultobj
= 0;
21741 wxDC
*arg1
= (wxDC
*) 0 ;
21745 PyObject
*swig_obj
[1] ;
21747 if (!args
) SWIG_fail
;
21748 swig_obj
[0] = args
;
21749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21750 if (!SWIG_IsOK(res1
)) {
21751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (arg1
)->GetSize();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21767 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21768 PyObject
*resultobj
= 0;
21769 wxDC
*arg1
= (wxDC
*) 0 ;
21770 int *arg2
= (int *) 0 ;
21771 int *arg3
= (int *) 0 ;
21775 int res2
= SWIG_TMPOBJ
;
21777 int res3
= SWIG_TMPOBJ
;
21778 PyObject
*swig_obj
[1] ;
21782 if (!args
) SWIG_fail
;
21783 swig_obj
[0] = args
;
21784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21785 if (!SWIG_IsOK(res1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 (arg1
)->GetSize(arg2
,arg3
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_Py_Void();
21796 if (SWIG_IsTmpObj(res2
)) {
21797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21799 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21802 if (SWIG_IsTmpObj(res3
)) {
21803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21805 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21814 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 PyObject
*resultobj
= 0;
21816 wxDC
*arg1
= (wxDC
*) 0 ;
21820 PyObject
*swig_obj
[1] ;
21822 if (!args
) SWIG_fail
;
21823 swig_obj
[0] = args
;
21824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21842 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21843 PyObject
*resultobj
= 0;
21844 wxDC
*arg1
= (wxDC
*) 0 ;
21845 int *arg2
= (int *) 0 ;
21846 int *arg3
= (int *) 0 ;
21850 int res2
= SWIG_TMPOBJ
;
21852 int res3
= SWIG_TMPOBJ
;
21853 PyObject
*swig_obj
[1] ;
21857 if (!args
) SWIG_fail
;
21858 swig_obj
[0] = args
;
21859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21860 if (!SWIG_IsOK(res1
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_Py_Void();
21871 if (SWIG_IsTmpObj(res2
)) {
21872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21874 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21877 if (SWIG_IsTmpObj(res3
)) {
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21880 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21889 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= 0;
21891 wxDC
*arg1
= (wxDC
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 char * kwnames
[] = {
21901 (char *) "self",(char *) "x", NULL
21904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21906 if (!SWIG_IsOK(res1
)) {
21907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21911 if (!SWIG_IsOK(ecode2
)) {
21912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21914 arg2
= static_cast< int >(val2
);
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_From_int(static_cast< int >(result
));
21928 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
= 0;
21930 wxDC
*arg1
= (wxDC
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char * kwnames
[] = {
21940 (char *) "self",(char *) "y", NULL
21943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21945 if (!SWIG_IsOK(res1
)) {
21946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21950 if (!SWIG_IsOK(ecode2
)) {
21951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21953 arg2
= static_cast< int >(val2
);
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= SWIG_From_int(static_cast< int >(result
));
21967 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
= 0;
21969 wxDC
*arg1
= (wxDC
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "self",(char *) "x", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21989 if (!SWIG_IsOK(ecode2
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21992 arg2
= static_cast< int >(val2
);
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_From_int(static_cast< int >(result
));
22006 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
= 0;
22008 wxDC
*arg1
= (wxDC
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char * kwnames
[] = {
22018 (char *) "self",(char *) "y", NULL
22021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22023 if (!SWIG_IsOK(res1
)) {
22024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22028 if (!SWIG_IsOK(ecode2
)) {
22029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22031 arg2
= static_cast< int >(val2
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_From_int(static_cast< int >(result
));
22045 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
= 0;
22047 wxDC
*arg1
= (wxDC
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char * kwnames
[] = {
22057 (char *) "self",(char *) "x", NULL
22060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22062 if (!SWIG_IsOK(res1
)) {
22063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22065 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22067 if (!SWIG_IsOK(ecode2
)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22070 arg2
= static_cast< int >(val2
);
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_From_int(static_cast< int >(result
));
22084 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
= 0;
22086 wxDC
*arg1
= (wxDC
*) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 char * kwnames
[] = {
22096 (char *) "self",(char *) "y", NULL
22099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22101 if (!SWIG_IsOK(res1
)) {
22102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22106 if (!SWIG_IsOK(ecode2
)) {
22107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22109 arg2
= static_cast< int >(val2
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_From_int(static_cast< int >(result
));
22123 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
= 0;
22125 wxDC
*arg1
= (wxDC
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 char * kwnames
[] = {
22135 (char *) "self",(char *) "x", NULL
22138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22140 if (!SWIG_IsOK(res1
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22145 if (!SWIG_IsOK(ecode2
)) {
22146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22148 arg2
= static_cast< int >(val2
);
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_From_int(static_cast< int >(result
));
22162 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
= 0;
22164 wxDC
*arg1
= (wxDC
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 PyObject
* obj1
= 0 ;
22173 char * kwnames
[] = {
22174 (char *) "self",(char *) "y", NULL
22177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22179 if (!SWIG_IsOK(res1
)) {
22180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22184 if (!SWIG_IsOK(ecode2
)) {
22185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22187 arg2
= static_cast< int >(val2
);
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_From_int(static_cast< int >(result
));
22201 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22202 PyObject
*resultobj
= 0;
22203 wxDC
*arg1
= (wxDC
*) 0 ;
22207 PyObject
*swig_obj
[1] ;
22209 if (!args
) SWIG_fail
;
22210 swig_obj
[0] = args
;
22211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22231 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxDC
*arg1
= (wxDC
*) 0 ;
22237 PyObject
*swig_obj
[1] ;
22239 if (!args
) SWIG_fail
;
22240 swig_obj
[0] = args
;
22241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22261 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22262 PyObject
*resultobj
= 0;
22263 wxDC
*arg1
= (wxDC
*) 0 ;
22267 PyObject
*swig_obj
[1] ;
22269 if (!args
) SWIG_fail
;
22270 swig_obj
[0] = args
;
22271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= SWIG_From_int(static_cast< int >(result
));
22289 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22290 PyObject
*resultobj
= 0;
22291 wxDC
*arg1
= (wxDC
*) 0 ;
22295 PyObject
*swig_obj
[1] ;
22297 if (!args
) SWIG_fail
;
22298 swig_obj
[0] = args
;
22299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 result
= ((wxDC
const *)arg1
)->GetPPI();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22317 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22318 PyObject
*resultobj
= 0;
22319 wxDC
*arg1
= (wxDC
*) 0 ;
22323 PyObject
*swig_obj
[1] ;
22325 if (!args
) SWIG_fail
;
22326 swig_obj
[0] = args
;
22327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22347 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22348 PyObject
*resultobj
= 0;
22349 wxDC
*arg1
= (wxDC
*) 0 ;
22353 PyObject
*swig_obj
[1] ;
22355 if (!args
) SWIG_fail
;
22356 swig_obj
[0] = args
;
22357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22358 if (!SWIG_IsOK(res1
)) {
22359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_From_int(static_cast< int >(result
));
22375 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22376 PyObject
*resultobj
= 0;
22377 wxDC
*arg1
= (wxDC
*) 0 ;
22378 wxBrush
*result
= 0 ;
22381 PyObject
*swig_obj
[1] ;
22383 if (!args
) SWIG_fail
;
22384 swig_obj
[0] = args
;
22385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22386 if (!SWIG_IsOK(res1
)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22394 result
= (wxBrush
*) &_result_ref
;
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 wxBrush
* resultptr
= new wxBrush(*result
);
22401 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22409 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxDC
*arg1
= (wxDC
*) 0 ;
22412 wxBrush
*result
= 0 ;
22415 PyObject
*swig_obj
[1] ;
22417 if (!args
) SWIG_fail
;
22418 swig_obj
[0] = args
;
22419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22428 result
= (wxBrush
*) &_result_ref
;
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 wxBrush
* resultptr
= new wxBrush(*result
);
22435 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22443 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 PyObject
*resultobj
= 0;
22445 wxDC
*arg1
= (wxDC
*) 0 ;
22446 wxFont
*result
= 0 ;
22449 PyObject
*swig_obj
[1] ;
22451 if (!args
) SWIG_fail
;
22452 swig_obj
[0] = args
;
22453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22454 if (!SWIG_IsOK(res1
)) {
22455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22462 result
= (wxFont
*) &_result_ref
;
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 wxFont
* resultptr
= new wxFont(*result
);
22469 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22477 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxDC
*arg1
= (wxDC
*) 0 ;
22480 wxPen
*result
= 0 ;
22483 PyObject
*swig_obj
[1] ;
22485 if (!args
) SWIG_fail
;
22486 swig_obj
[0] = args
;
22487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22496 result
= (wxPen
*) &_result_ref
;
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22502 wxPen
* resultptr
= new wxPen(*result
);
22503 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22511 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22512 PyObject
*resultobj
= 0;
22513 wxDC
*arg1
= (wxDC
*) 0 ;
22514 wxColour
*result
= 0 ;
22517 PyObject
*swig_obj
[1] ;
22519 if (!args
) SWIG_fail
;
22520 swig_obj
[0] = args
;
22521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22522 if (!SWIG_IsOK(res1
)) {
22523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22530 result
= (wxColour
*) &_result_ref
;
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22542 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 PyObject
*resultobj
= 0;
22544 wxDC
*arg1
= (wxDC
*) 0 ;
22545 wxColour
*result
= 0 ;
22548 PyObject
*swig_obj
[1] ;
22550 if (!args
) SWIG_fail
;
22551 swig_obj
[0] = args
;
22552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22561 result
= (wxColour
*) &_result_ref
;
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22573 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
= 0;
22575 wxDC
*arg1
= (wxDC
*) 0 ;
22576 wxColour
*arg2
= 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 char * kwnames
[] = {
22583 (char *) "self",(char *) "colour", NULL
22586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= SWIG_Py_Void();
22609 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
= 0;
22611 wxDC
*arg1
= (wxDC
*) 0 ;
22612 wxColour
*arg2
= 0 ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 char * kwnames
[] = {
22619 (char *) "self",(char *) "colour", NULL
22622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22624 if (!SWIG_IsOK(res1
)) {
22625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= SWIG_Py_Void();
22645 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22646 PyObject
*resultobj
= 0;
22647 wxDC
*arg1
= (wxDC
*) 0 ;
22651 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_From_int(static_cast< int >(result
));
22673 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
= 0;
22675 wxDC
*arg1
= (wxDC
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char * kwnames
[] = {
22684 (char *) "self",(char *) "mode", NULL
22687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22694 if (!SWIG_IsOK(ecode2
)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22697 arg2
= static_cast< int >(val2
);
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 (arg1
)->SetMapMode(arg2
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_Py_Void();
22711 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22712 PyObject
*resultobj
= 0;
22713 wxDC
*arg1
= (wxDC
*) 0 ;
22714 double *arg2
= (double *) 0 ;
22715 double *arg3
= (double *) 0 ;
22719 int res2
= SWIG_TMPOBJ
;
22721 int res3
= SWIG_TMPOBJ
;
22722 PyObject
*swig_obj
[1] ;
22726 if (!args
) SWIG_fail
;
22727 swig_obj
[0] = args
;
22728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_Py_Void();
22740 if (SWIG_IsTmpObj(res2
)) {
22741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22743 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22746 if (SWIG_IsTmpObj(res3
)) {
22747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22749 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22758 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
= 0;
22760 wxDC
*arg1
= (wxDC
*) 0 ;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22771 PyObject
* obj2
= 0 ;
22772 char * kwnames
[] = {
22773 (char *) "self",(char *) "x",(char *) "y", NULL
22776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22782 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22783 if (!SWIG_IsOK(ecode2
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22786 arg2
= static_cast< double >(val2
);
22787 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22788 if (!SWIG_IsOK(ecode3
)) {
22789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22791 arg3
= static_cast< double >(val3
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 (arg1
)->SetUserScale(arg2
,arg3
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_Py_Void();
22805 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22806 PyObject
*resultobj
= 0;
22807 wxDC
*arg1
= (wxDC
*) 0 ;
22808 double *arg2
= (double *) 0 ;
22809 double *arg3
= (double *) 0 ;
22813 int res2
= SWIG_TMPOBJ
;
22815 int res3
= SWIG_TMPOBJ
;
22816 PyObject
*swig_obj
[1] ;
22820 if (!args
) SWIG_fail
;
22821 swig_obj
[0] = args
;
22822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->GetLogicalScale(arg2
,arg3
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_Py_Void();
22834 if (SWIG_IsTmpObj(res2
)) {
22835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22837 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22840 if (SWIG_IsTmpObj(res3
)) {
22841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22843 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22852 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
= 0;
22854 wxDC
*arg1
= (wxDC
*) 0 ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 PyObject
* obj2
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "x",(char *) "y", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22876 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22877 if (!SWIG_IsOK(ecode2
)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22880 arg2
= static_cast< double >(val2
);
22881 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22882 if (!SWIG_IsOK(ecode3
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22885 arg3
= static_cast< double >(val3
);
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->SetLogicalScale(arg2
,arg3
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_Py_Void();
22899 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 PyObject
*resultobj
= 0;
22901 wxDC
*arg1
= (wxDC
*) 0 ;
22905 PyObject
*swig_obj
[1] ;
22907 if (!args
) SWIG_fail
;
22908 swig_obj
[0] = args
;
22909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22927 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22928 PyObject
*resultobj
= 0;
22929 wxDC
*arg1
= (wxDC
*) 0 ;
22930 int *arg2
= (int *) 0 ;
22931 int *arg3
= (int *) 0 ;
22935 int res2
= SWIG_TMPOBJ
;
22937 int res3
= SWIG_TMPOBJ
;
22938 PyObject
*swig_obj
[1] ;
22942 if (!args
) SWIG_fail
;
22943 swig_obj
[0] = args
;
22944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22945 if (!SWIG_IsOK(res1
)) {
22946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_Py_Void();
22956 if (SWIG_IsTmpObj(res2
)) {
22957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22959 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22962 if (SWIG_IsTmpObj(res3
)) {
22963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22965 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22974 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
= 0;
22976 wxDC
*arg1
= (wxDC
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 PyObject
* obj2
= 0 ;
22988 char * kwnames
[] = {
22989 (char *) "self",(char *) "x",(char *) "y", NULL
22992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22999 if (!SWIG_IsOK(ecode2
)) {
23000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23002 arg2
= static_cast< int >(val2
);
23003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23004 if (!SWIG_IsOK(ecode3
)) {
23005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23007 arg3
= static_cast< int >(val3
);
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_Py_Void();
23021 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
= 0;
23023 wxDC
*arg1
= (wxDC
*) 0 ;
23024 wxPoint
*arg2
= 0 ;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 char * kwnames
[] = {
23031 (char *) "self",(char *) "point", NULL
23034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_Py_Void();
23057 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxDC
*arg1
= (wxDC
*) 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23085 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxDC
*arg1
= (wxDC
*) 0 ;
23088 int *arg2
= (int *) 0 ;
23089 int *arg3
= (int *) 0 ;
23093 int res2
= SWIG_TMPOBJ
;
23095 int res3
= SWIG_TMPOBJ
;
23096 PyObject
*swig_obj
[1] ;
23100 if (!args
) SWIG_fail
;
23101 swig_obj
[0] = args
;
23102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23103 if (!SWIG_IsOK(res1
)) {
23104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_Py_Void();
23114 if (SWIG_IsTmpObj(res2
)) {
23115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23117 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23120 if (SWIG_IsTmpObj(res3
)) {
23121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23123 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23132 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxDC
*arg1
= (wxDC
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 PyObject
* obj2
= 0 ;
23146 char * kwnames
[] = {
23147 (char *) "self",(char *) "x",(char *) "y", NULL
23150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23152 if (!SWIG_IsOK(res1
)) {
23153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23157 if (!SWIG_IsOK(ecode2
)) {
23158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23160 arg2
= static_cast< int >(val2
);
23161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23162 if (!SWIG_IsOK(ecode3
)) {
23163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23165 arg3
= static_cast< int >(val3
);
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_Py_Void();
23179 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
= 0;
23181 wxDC
*arg1
= (wxDC
*) 0 ;
23182 wxPoint
*arg2
= 0 ;
23186 PyObject
* obj0
= 0 ;
23187 PyObject
* obj1
= 0 ;
23188 char * kwnames
[] = {
23189 (char *) "self",(char *) "point", NULL
23192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23194 if (!SWIG_IsOK(res1
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= SWIG_Py_Void();
23215 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
= 0;
23217 wxDC
*arg1
= (wxDC
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 PyObject
* obj2
= 0 ;
23229 char * kwnames
[] = {
23230 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23235 if (!SWIG_IsOK(res1
)) {
23236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23240 if (!SWIG_IsOK(ecode2
)) {
23241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23243 arg2
= static_cast< bool >(val2
);
23244 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23245 if (!SWIG_IsOK(ecode3
)) {
23246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23248 arg3
= static_cast< bool >(val3
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_Py_Void();
23262 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23263 PyObject
*resultobj
= 0;
23264 wxDC
*arg1
= (wxDC
*) 0 ;
23268 PyObject
*swig_obj
[1] ;
23270 if (!args
) SWIG_fail
;
23271 swig_obj
[0] = args
;
23272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_From_int(static_cast< int >(result
));
23290 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
= 0;
23292 wxDC
*arg1
= (wxDC
*) 0 ;
23298 PyObject
* obj0
= 0 ;
23299 PyObject
* obj1
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "self",(char *) "function", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23309 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23311 if (!SWIG_IsOK(ecode2
)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23314 arg2
= static_cast< int >(val2
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 (arg1
)->SetLogicalFunction(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_Py_Void();
23328 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23329 PyObject
*resultobj
= 0;
23330 wxDC
*arg1
= (wxDC
*) 0 ;
23333 PyObject
*swig_obj
[1] ;
23335 if (!args
) SWIG_fail
;
23336 swig_obj
[0] = args
;
23337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23338 if (!SWIG_IsOK(res1
)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 (arg1
)->ComputeScaleAndOrigin();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_Py_Void();
23355 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
= 0;
23357 wxDC
*arg1
= (wxDC
*) 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj1
= 0 ;
23368 PyObject
* obj2
= 0 ;
23369 char * kwnames
[] = {
23370 (char *) "self",(char *) "x",(char *) "y", NULL
23373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23375 if (!SWIG_IsOK(res1
)) {
23376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23380 if (!SWIG_IsOK(ecode2
)) {
23381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23383 arg2
= static_cast< int >(val2
);
23384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23385 if (!SWIG_IsOK(ecode3
)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23388 arg3
= static_cast< int >(val3
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_Py_Void();
23402 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
= 0;
23404 wxDC
*arg1
= (wxDC
*) 0 ;
23405 wxPoint
*arg2
= 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char * kwnames
[] = {
23412 (char *) "self",(char *) "point", NULL
23415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_Py_Void();
23438 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23439 PyObject
*resultobj
= 0;
23440 wxDC
*arg1
= (wxDC
*) 0 ;
23443 PyObject
*swig_obj
[1] ;
23445 if (!args
) SWIG_fail
;
23446 swig_obj
[0] = args
;
23447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 (arg1
)->ResetBoundingBox();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_Py_Void();
23465 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23466 PyObject
*resultobj
= 0;
23467 wxDC
*arg1
= (wxDC
*) 0 ;
23471 PyObject
*swig_obj
[1] ;
23473 if (!args
) SWIG_fail
;
23474 swig_obj
[0] = args
;
23475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (int)((wxDC
const *)arg1
)->MinX();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_From_int(static_cast< int >(result
));
23493 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23494 PyObject
*resultobj
= 0;
23495 wxDC
*arg1
= (wxDC
*) 0 ;
23499 PyObject
*swig_obj
[1] ;
23501 if (!args
) SWIG_fail
;
23502 swig_obj
[0] = args
;
23503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23504 if (!SWIG_IsOK(res1
)) {
23505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (int)((wxDC
const *)arg1
)->MaxX();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_From_int(static_cast< int >(result
));
23521 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23522 PyObject
*resultobj
= 0;
23523 wxDC
*arg1
= (wxDC
*) 0 ;
23527 PyObject
*swig_obj
[1] ;
23529 if (!args
) SWIG_fail
;
23530 swig_obj
[0] = args
;
23531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (int)((wxDC
const *)arg1
)->MinY();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_int(static_cast< int >(result
));
23549 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23550 PyObject
*resultobj
= 0;
23551 wxDC
*arg1
= (wxDC
*) 0 ;
23555 PyObject
*swig_obj
[1] ;
23557 if (!args
) SWIG_fail
;
23558 swig_obj
[0] = args
;
23559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23560 if (!SWIG_IsOK(res1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (int)((wxDC
const *)arg1
)->MaxY();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_From_int(static_cast< int >(result
));
23577 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23578 PyObject
*resultobj
= 0;
23579 wxDC
*arg1
= (wxDC
*) 0 ;
23580 int *arg2
= (int *) 0 ;
23581 int *arg3
= (int *) 0 ;
23582 int *arg4
= (int *) 0 ;
23583 int *arg5
= (int *) 0 ;
23587 int res2
= SWIG_TMPOBJ
;
23589 int res3
= SWIG_TMPOBJ
;
23591 int res4
= SWIG_TMPOBJ
;
23593 int res5
= SWIG_TMPOBJ
;
23594 PyObject
*swig_obj
[1] ;
23600 if (!args
) SWIG_fail
;
23601 swig_obj
[0] = args
;
23602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_Py_Void();
23614 if (SWIG_IsTmpObj(res2
)) {
23615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23617 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23620 if (SWIG_IsTmpObj(res3
)) {
23621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23623 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23626 if (SWIG_IsTmpObj(res4
)) {
23627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23629 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23632 if (SWIG_IsTmpObj(res5
)) {
23633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23635 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23644 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 PyObject
*resultobj
= 0;
23646 wxDC
*arg1
= (wxDC
*) 0 ;
23647 wxLayoutDirection result
;
23650 PyObject
*swig_obj
[1] ;
23652 if (!args
) SWIG_fail
;
23653 swig_obj
[0] = args
;
23654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_From_int(static_cast< int >(result
));
23672 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
= 0;
23674 wxDC
*arg1
= (wxDC
*) 0 ;
23675 wxLayoutDirection arg2
;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 char * kwnames
[] = {
23683 (char *) "self",(char *) "dir", NULL
23686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23693 if (!SWIG_IsOK(ecode2
)) {
23694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23696 arg2
= static_cast< wxLayoutDirection
>(val2
);
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 (arg1
)->SetLayoutDirection(arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_Py_Void();
23710 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23711 PyObject
*resultobj
= 0;
23712 wxDC
*arg1
= (wxDC
*) 0 ;
23716 PyObject
*swig_obj
[1] ;
23718 if (!args
) SWIG_fail
;
23719 swig_obj
[0] = args
;
23720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23721 if (!SWIG_IsOK(res1
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (long)(arg1
)->GetHDC();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_From_long(static_cast< long >(result
));
23738 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
= 0;
23740 wxDC
*arg1
= (wxDC
*) 0 ;
23741 PyObject
*arg2
= (PyObject
*) 0 ;
23742 PyObject
*arg3
= (PyObject
*) 0 ;
23743 PyObject
*arg4
= (PyObject
*) 0 ;
23744 PyObject
*result
= 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 char * kwnames
[] = {
23752 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= result
;
23777 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
= 0;
23779 wxDC
*arg1
= (wxDC
*) 0 ;
23780 PyObject
*arg2
= (PyObject
*) 0 ;
23781 PyObject
*arg3
= (PyObject
*) 0 ;
23782 PyObject
*arg4
= (PyObject
*) 0 ;
23783 PyObject
*result
= 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 PyObject
* obj2
= 0 ;
23789 PyObject
* obj3
= 0 ;
23790 char * kwnames
[] = {
23791 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 resultobj
= result
;
23816 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
= 0;
23818 wxDC
*arg1
= (wxDC
*) 0 ;
23819 PyObject
*arg2
= (PyObject
*) 0 ;
23820 PyObject
*arg3
= (PyObject
*) 0 ;
23821 PyObject
*arg4
= (PyObject
*) 0 ;
23822 PyObject
*result
= 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 PyObject
* obj2
= 0 ;
23828 PyObject
* obj3
= 0 ;
23829 char * kwnames
[] = {
23830 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= result
;
23855 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
= 0;
23857 wxDC
*arg1
= (wxDC
*) 0 ;
23858 PyObject
*arg2
= (PyObject
*) 0 ;
23859 PyObject
*arg3
= (PyObject
*) 0 ;
23860 PyObject
*arg4
= (PyObject
*) 0 ;
23861 PyObject
*result
= 0 ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23866 PyObject
* obj2
= 0 ;
23867 PyObject
* obj3
= 0 ;
23868 char * kwnames
[] = {
23869 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= result
;
23894 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
= 0;
23896 wxDC
*arg1
= (wxDC
*) 0 ;
23897 PyObject
*arg2
= (PyObject
*) 0 ;
23898 PyObject
*arg3
= (PyObject
*) 0 ;
23899 PyObject
*arg4
= (PyObject
*) 0 ;
23900 PyObject
*result
= 0 ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 PyObject
* obj2
= 0 ;
23906 PyObject
* obj3
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= result
;
23933 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
= 0;
23935 wxDC
*arg1
= (wxDC
*) 0 ;
23936 PyObject
*arg2
= (PyObject
*) 0 ;
23937 PyObject
*arg3
= (PyObject
*) 0 ;
23938 PyObject
*arg4
= (PyObject
*) 0 ;
23939 PyObject
*arg5
= (PyObject
*) 0 ;
23940 PyObject
*result
= 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 PyObject
* obj2
= 0 ;
23946 PyObject
* obj3
= 0 ;
23947 PyObject
* obj4
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= result
;
23975 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23978 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23979 return SWIG_Py_Void();
23982 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
= 0;
23985 wxColour
*arg2
= 0 ;
23986 wxDCTextColourChanger
*result
= 0 ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 char * kwnames
[] = {
23993 (char *) "dc",(char *) "col", NULL
23996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23997 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23998 if (!SWIG_IsOK(res1
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24007 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24022 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24023 PyObject
*resultobj
= 0;
24024 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24027 PyObject
*swig_obj
[1] ;
24029 if (!args
) SWIG_fail
;
24030 swig_obj
[0] = args
;
24031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24032 if (!SWIG_IsOK(res1
)) {
24033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24035 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= SWIG_Py_Void();
24050 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24053 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24054 return SWIG_Py_Void();
24057 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24058 return SWIG_Python_InitShadowInstance(args
);
24061 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
= 0;
24065 wxDCPenChanger
*result
= 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 char * kwnames
[] = {
24073 (char *) "dc",(char *) "pen", NULL
24076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24077 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24078 if (!SWIG_IsOK(res1
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24086 if (!SWIG_IsOK(res2
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24092 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24106 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24107 PyObject
*resultobj
= 0;
24108 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24111 PyObject
*swig_obj
[1] ;
24113 if (!args
) SWIG_fail
;
24114 swig_obj
[0] = args
;
24115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24116 if (!SWIG_IsOK(res1
)) {
24117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24119 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_Py_Void();
24134 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24137 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24138 return SWIG_Py_Void();
24141 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 return SWIG_Python_InitShadowInstance(args
);
24145 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24148 wxBrush
*arg2
= 0 ;
24149 wxDCBrushChanger
*result
= 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 char * kwnames
[] = {
24157 (char *) "dc",(char *) "brush", NULL
24160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24161 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24162 if (!SWIG_IsOK(res1
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24170 if (!SWIG_IsOK(res2
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24176 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24190 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24191 PyObject
*resultobj
= 0;
24192 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24195 PyObject
*swig_obj
[1] ;
24197 if (!args
) SWIG_fail
;
24198 swig_obj
[0] = args
;
24199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24203 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_Py_Void();
24218 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24221 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24222 return SWIG_Py_Void();
24225 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 return SWIG_Python_InitShadowInstance(args
);
24229 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24230 PyObject
*resultobj
= 0;
24232 wxRegion
*arg2
= 0 ;
24233 wxDCClipper
*result
= 0 ;
24239 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24248 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24249 if (!SWIG_IsOK(res2
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24255 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24269 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24270 PyObject
*resultobj
= 0;
24273 wxDCClipper
*result
= 0 ;
24278 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24289 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24304 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24305 PyObject
*resultobj
= 0;
24311 wxDCClipper
*result
= 0 ;
24323 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24332 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24333 if (!SWIG_IsOK(ecode2
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24336 arg2
= static_cast< int >(val2
);
24337 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24338 if (!SWIG_IsOK(ecode3
)) {
24339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24341 arg3
= static_cast< int >(val3
);
24342 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24343 if (!SWIG_IsOK(ecode4
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24346 arg4
= static_cast< int >(val4
);
24347 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24348 if (!SWIG_IsOK(ecode5
)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24351 arg5
= static_cast< int >(val5
);
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24365 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24369 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24374 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24375 _v
= SWIG_CheckState(res
);
24377 if (!_v
) goto check_1
;
24378 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24383 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24386 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24390 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24395 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24396 PyObject
*resultobj
= 0;
24397 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24400 PyObject
*swig_obj
[1] ;
24402 if (!args
) SWIG_fail
;
24403 swig_obj
[0] = args
;
24404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24405 if (!SWIG_IsOK(res1
)) {
24406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24408 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_Py_Void();
24423 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24426 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24427 return SWIG_Py_Void();
24430 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24431 return SWIG_Python_InitShadowInstance(args
);
24434 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
= 0;
24436 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24437 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24438 wxMemoryDC
*result
= 0 ;
24441 PyObject
* obj0
= 0 ;
24442 char * kwnames
[] = {
24443 (char *) "bitmap", NULL
24446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24448 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24449 if (!SWIG_IsOK(res1
)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
24453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
24455 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24458 if (!wxPyCheckForApp()) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24471 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
= 0;
24473 wxDC
*arg1
= (wxDC
*) 0 ;
24474 wxMemoryDC
*result
= 0 ;
24477 PyObject
* obj0
= 0 ;
24478 char * kwnames
[] = {
24479 (char *) "oldDC", NULL
24482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24484 if (!SWIG_IsOK(res1
)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24489 if (!wxPyCheckForApp()) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24502 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
= 0;
24504 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24505 wxBitmap
*arg2
= 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 char * kwnames
[] = {
24513 (char *) "self",(char *) "bitmap", NULL
24516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24518 if (!SWIG_IsOK(res1
)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24521 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24523 if (!SWIG_IsOK(res2
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24529 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_Py_Void();
24543 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24546 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24547 return SWIG_Py_Void();
24550 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24551 return SWIG_Python_InitShadowInstance(args
);
24554 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24555 PyObject
*resultobj
= 0;
24556 wxScreenDC
*result
= 0 ;
24558 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24560 if (!wxPyCheckForApp()) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxScreenDC
*)new wxScreenDC();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24573 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
= 0;
24575 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24576 wxWindow
*arg2
= (wxWindow
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char * kwnames
[] = {
24585 (char *) "self",(char *) "window", NULL
24588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24590 if (!SWIG_IsOK(res1
)) {
24591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24593 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24595 if (!SWIG_IsOK(res2
)) {
24596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24614 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
= 0;
24616 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24617 wxRect
*arg2
= (wxRect
*) NULL
;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 char * kwnames
[] = {
24626 (char *) "self",(char *) "rect", NULL
24629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24631 if (!SWIG_IsOK(res1
)) {
24632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24634 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24637 if (!SWIG_IsOK(res2
)) {
24638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24640 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24657 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24658 PyObject
*resultobj
= 0;
24659 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24663 PyObject
*swig_obj
[1] ;
24665 if (!args
) SWIG_fail
;
24666 swig_obj
[0] = args
;
24667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24671 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (bool)(arg1
)->EndDrawingOnTop();
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24687 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24690 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24691 return SWIG_Py_Void();
24694 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24695 return SWIG_Python_InitShadowInstance(args
);
24698 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxWindow
*arg1
= (wxWindow
*) 0 ;
24701 wxWindowDC
*result
= 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "win", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24716 if (!wxPyCheckForApp()) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24729 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24732 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24733 return SWIG_Py_Void();
24736 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 return SWIG_Python_InitShadowInstance(args
);
24740 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
= 0;
24742 wxWindow
*arg1
= (wxWindow
*) 0 ;
24743 wxClientDC
*result
= 0 ;
24746 PyObject
* obj0
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "win", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24758 if (!wxPyCheckForApp()) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (wxClientDC
*)new wxClientDC(arg1
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24771 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24774 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24775 return SWIG_Py_Void();
24778 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24779 return SWIG_Python_InitShadowInstance(args
);
24782 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxWindow
*arg1
= (wxWindow
*) 0 ;
24785 wxPaintDC
*result
= 0 ;
24788 PyObject
* obj0
= 0 ;
24789 char * kwnames
[] = {
24790 (char *) "win", NULL
24793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24795 if (!SWIG_IsOK(res1
)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24800 if (!wxPyCheckForApp()) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24813 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24817 return SWIG_Py_Void();
24820 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 return SWIG_Python_InitShadowInstance(args
);
24824 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24825 PyObject
*resultobj
= 0;
24826 wxDC
*arg1
= (wxDC
*) 0 ;
24827 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24828 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24829 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24830 wxBufferedDC
*result
= 0 ;
24838 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24845 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24846 if (!SWIG_IsOK(res2
)) {
24847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24852 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24855 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24856 if (!SWIG_IsOK(ecode3
)) {
24857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24859 arg3
= static_cast< int >(val3
);
24862 if (!wxPyCheckForApp()) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24875 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24876 PyObject
*resultobj
= 0;
24877 wxDC
*arg1
= (wxDC
*) 0 ;
24879 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24880 wxBufferedDC
*result
= 0 ;
24887 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24895 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24898 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24899 if (!SWIG_IsOK(ecode3
)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24902 arg3
= static_cast< int >(val3
);
24905 if (!wxPyCheckForApp()) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24918 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24922 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24924 if ((argc
>= 1) && (argc
<= 3)) {
24928 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24929 _v
= SWIG_CheckState(res
);
24931 if (!_v
) goto check_1
;
24933 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24937 if ((argc
>= 2) && (argc
<= 3)) {
24938 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24942 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24947 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24948 PyObject
*resultobj
= 0;
24949 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24952 PyObject
*swig_obj
[1] ;
24954 if (!args
) SWIG_fail
;
24955 swig_obj
[0] = args
;
24956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24960 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= SWIG_Py_Void();
24975 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24976 PyObject
*resultobj
= 0;
24977 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24980 PyObject
*swig_obj
[1] ;
24982 if (!args
) SWIG_fail
;
24983 swig_obj
[0] = args
;
24984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24988 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_Py_Void();
25002 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25005 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25006 return SWIG_Py_Void();
25009 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25010 return SWIG_Python_InitShadowInstance(args
);
25013 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
= 0;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25016 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
25017 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25018 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25019 wxBufferedPaintDC
*result
= 0 ;
25026 PyObject
* obj0
= 0 ;
25027 PyObject
* obj1
= 0 ;
25028 PyObject
* obj2
= 0 ;
25029 char * kwnames
[] = {
25030 (char *) "window",(char *) "buffer",(char *) "style", NULL
25033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25041 if (!SWIG_IsOK(res2
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25047 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25051 if (!SWIG_IsOK(ecode3
)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25054 arg3
= static_cast< int >(val3
);
25057 if (!wxPyCheckForApp()) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25070 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25073 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25074 return SWIG_Py_Void();
25077 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25078 return SWIG_Python_InitShadowInstance(args
);
25081 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
= 0;
25083 wxWindow
*arg1
= (wxWindow
*) 0 ;
25084 wxAutoBufferedPaintDC
*result
= 0 ;
25087 PyObject
* obj0
= 0 ;
25088 char * kwnames
[] = {
25089 (char *) "win", NULL
25092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25094 if (!SWIG_IsOK(res1
)) {
25095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25097 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25111 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25114 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25115 return SWIG_Py_Void();
25118 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25119 return SWIG_Python_InitShadowInstance(args
);
25122 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxWindow
*arg1
= (wxWindow
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 char * kwnames
[] = {
25130 (char *) "window", NULL
25133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) 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 '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25154 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
= 0;
25158 wxMirrorDC
*result
= 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char * kwnames
[] = {
25166 (char *) "dc",(char *) "mirror", NULL
25169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25170 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25171 if (!SWIG_IsOK(res1
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25178 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25179 if (!SWIG_IsOK(ecode2
)) {
25180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25182 arg2
= static_cast< bool >(val2
);
25184 if (!wxPyCheckForApp()) SWIG_fail
;
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25197 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25200 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25201 return SWIG_Py_Void();
25204 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 return SWIG_Python_InitShadowInstance(args
);
25208 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
= 0;
25210 wxPrintData
*arg1
= 0 ;
25211 wxPostScriptDC
*result
= 0 ;
25214 PyObject
* obj0
= 0 ;
25215 char * kwnames
[] = {
25216 (char *) "printData", NULL
25219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25220 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25227 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25229 if (!wxPyCheckForApp()) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25232 wxPyEndAllowThreads(__tstate
);
25233 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25242 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25243 PyObject
*resultobj
= 0;
25244 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25245 wxPrintData
*result
= 0 ;
25248 PyObject
*swig_obj
[1] ;
25250 if (!args
) SWIG_fail
;
25251 swig_obj
[0] = args
;
25252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25256 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25261 result
= (wxPrintData
*) &_result_ref
;
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25273 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
= 0;
25275 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25276 wxPrintData
*arg2
= 0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 char * kwnames
[] = {
25284 (char *) "self",(char *) "data", NULL
25287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25292 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25294 if (!SWIG_IsOK(res2
)) {
25295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25300 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_Py_Void();
25314 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= 0;
25319 PyObject
* obj0
= 0 ;
25320 char * kwnames
[] = {
25321 (char *) "ppi", NULL
25324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25326 if (!SWIG_IsOK(ecode1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25329 arg1
= static_cast< int >(val1
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 wxPostScriptDC::SetResolution(arg1
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_Py_Void();
25343 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 PyObject
*resultobj
= 0;
25347 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 result
= (int)wxPostScriptDC::GetResolution();
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_From_int(static_cast< int >(result
));
25361 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25364 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25365 return SWIG_Py_Void();
25368 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25369 return SWIG_Python_InitShadowInstance(args
);
25372 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
= 0;
25374 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25375 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25376 wxMetaFile
*result
= 0 ;
25377 bool temp1
= false ;
25378 PyObject
* obj0
= 0 ;
25379 char * kwnames
[] = {
25380 (char *) "filename", NULL
25383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25386 arg1
= wxString_in_helper(obj0
);
25387 if (arg1
== NULL
) SWIG_fail
;
25392 if (!wxPyCheckForApp()) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25413 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 PyObject
*resultobj
= 0;
25415 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25418 PyObject
*swig_obj
[1] ;
25420 if (!args
) SWIG_fail
;
25421 swig_obj
[0] = args
;
25422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25426 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_Py_Void();
25441 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25442 PyObject
*resultobj
= 0;
25443 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25447 PyObject
*swig_obj
[1] ;
25449 if (!args
) SWIG_fail
;
25450 swig_obj
[0] = args
;
25451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25452 if (!SWIG_IsOK(res1
)) {
25453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25455 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 result
= (bool)(arg1
)->IsOk();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25471 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
= 0;
25473 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25474 int arg2
= (int) 0 ;
25475 int arg3
= (int) 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 PyObject
* obj2
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "self",(char *) "width",(char *) "height", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25495 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25498 if (!SWIG_IsOK(ecode2
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25501 arg2
= static_cast< int >(val2
);
25504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25505 if (!SWIG_IsOK(ecode3
)) {
25506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25508 arg3
= static_cast< int >(val3
);
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25531 PyObject
*swig_obj
[1] ;
25533 if (!args
) SWIG_fail
;
25534 swig_obj
[0] = args
;
25535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25539 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (arg1
)->GetSize();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25553 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25559 PyObject
*swig_obj
[1] ;
25561 if (!args
) SWIG_fail
;
25562 swig_obj
[0] = args
;
25563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25567 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (int)(arg1
)->GetWidth();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_From_int(static_cast< int >(result
));
25581 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25582 PyObject
*resultobj
= 0;
25583 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25587 PyObject
*swig_obj
[1] ;
25589 if (!args
) SWIG_fail
;
25590 swig_obj
[0] = args
;
25591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25595 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (int)(arg1
)->GetHeight();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_From_int(static_cast< int >(result
));
25609 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25612 wxString
*result
= 0 ;
25615 PyObject
*swig_obj
[1] ;
25617 if (!args
) SWIG_fail
;
25618 swig_obj
[0] = args
;
25619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25623 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25628 result
= (wxString
*) &_result_ref
;
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25646 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25649 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25650 return SWIG_Py_Void();
25653 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25654 return SWIG_Python_InitShadowInstance(args
);
25657 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
= 0;
25659 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25660 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25661 int arg2
= (int) 0 ;
25662 int arg3
= (int) 0 ;
25663 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25664 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25665 wxMetaFileDC
*result
= 0 ;
25666 bool temp1
= false ;
25671 bool temp4
= false ;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 PyObject
* obj2
= 0 ;
25675 PyObject
* obj3
= 0 ;
25676 char * kwnames
[] = {
25677 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25683 arg1
= wxString_in_helper(obj0
);
25684 if (arg1
== NULL
) SWIG_fail
;
25689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25690 if (!SWIG_IsOK(ecode2
)) {
25691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25693 arg2
= static_cast< int >(val2
);
25696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25697 if (!SWIG_IsOK(ecode3
)) {
25698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25700 arg3
= static_cast< int >(val3
);
25704 arg4
= wxString_in_helper(obj3
);
25705 if (arg4
== NULL
) SWIG_fail
;
25710 if (!wxPyCheckForApp()) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25739 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25740 PyObject
*resultobj
= 0;
25741 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25742 wxMetaFile
*result
= 0 ;
25745 PyObject
*swig_obj
[1] ;
25747 if (!args
) SWIG_fail
;
25748 swig_obj
[0] = args
;
25749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25750 if (!SWIG_IsOK(res1
)) {
25751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25753 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (wxMetaFile
*)(arg1
)->Close();
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25767 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25770 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25771 return SWIG_Py_Void();
25774 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25775 return SWIG_Python_InitShadowInstance(args
);
25778 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
= 0;
25780 wxPrintData
*arg1
= 0 ;
25781 wxPrinterDC
*result
= 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char * kwnames
[] = {
25786 (char *) "printData", NULL
25789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25790 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25791 if (!SWIG_IsOK(res1
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25797 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25799 if (!wxPyCheckForApp()) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25812 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25816 return SWIG_Py_Void();
25819 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25820 return SWIG_Python_InitShadowInstance(args
);
25823 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
= 0;
25825 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25826 wxGraphicsObject
*result
= 0 ;
25829 PyObject
* obj0
= 0 ;
25830 char * kwnames
[] = {
25831 (char *) "renderer", NULL
25834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25837 if (!SWIG_IsOK(res1
)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25840 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25843 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25853 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25854 PyObject
*resultobj
= 0;
25855 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25858 PyObject
*swig_obj
[1] ;
25860 if (!args
) SWIG_fail
;
25861 swig_obj
[0] = args
;
25862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25866 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_Py_Void();
25879 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25880 PyObject
*resultobj
= 0;
25881 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25885 PyObject
*swig_obj
[1] ;
25887 if (!args
) SWIG_fail
;
25888 swig_obj
[0] = args
;
25889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25893 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25895 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25896 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25907 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25908 PyObject
*resultobj
= 0;
25909 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25910 wxGraphicsRenderer
*result
= 0 ;
25913 PyObject
*swig_obj
[1] ;
25915 if (!args
) SWIG_fail
;
25916 swig_obj
[0] = args
;
25917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25921 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25923 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25933 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25936 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25937 return SWIG_Py_Void();
25940 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 return SWIG_Python_InitShadowInstance(args
);
25944 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25945 PyObject
*resultobj
= 0;
25946 wxGraphicsPen
*result
= 0 ;
25948 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25950 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25960 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25961 PyObject
*resultobj
= 0;
25962 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25965 PyObject
*swig_obj
[1] ;
25967 if (!args
) SWIG_fail
;
25968 swig_obj
[0] = args
;
25969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25973 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_Py_Void();
25986 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25989 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25990 return SWIG_Py_Void();
25993 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 return SWIG_Python_InitShadowInstance(args
);
25997 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25998 PyObject
*resultobj
= 0;
25999 wxGraphicsBrush
*result
= 0 ;
26001 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26003 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26013 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26014 PyObject
*resultobj
= 0;
26015 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26018 PyObject
*swig_obj
[1] ;
26020 if (!args
) SWIG_fail
;
26021 swig_obj
[0] = args
;
26022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26023 if (!SWIG_IsOK(res1
)) {
26024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26026 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_Py_Void();
26039 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26042 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26043 return SWIG_Py_Void();
26046 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26047 return SWIG_Python_InitShadowInstance(args
);
26050 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26051 PyObject
*resultobj
= 0;
26052 wxGraphicsFont
*result
= 0 ;
26054 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26056 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26066 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26067 PyObject
*resultobj
= 0;
26068 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26071 PyObject
*swig_obj
[1] ;
26073 if (!args
) SWIG_fail
;
26074 swig_obj
[0] = args
;
26075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26076 if (!SWIG_IsOK(res1
)) {
26077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26079 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_Py_Void();
26092 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26095 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26096 return SWIG_Py_Void();
26099 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26100 return SWIG_Python_InitShadowInstance(args
);
26103 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26104 PyObject
*resultobj
= 0;
26105 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26108 PyObject
*swig_obj
[1] ;
26110 if (!args
) SWIG_fail
;
26111 swig_obj
[0] = args
;
26112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26116 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26129 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
= 0;
26131 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26132 wxGraphicsMatrix
*arg2
= 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char * kwnames
[] = {
26140 (char *) "self",(char *) "t", NULL
26143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26148 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26150 if (!SWIG_IsOK(res2
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26156 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26158 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_Py_Void();
26168 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
= 0;
26170 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26171 wxGraphicsMatrix
*arg2
= 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char * kwnames
[] = {
26179 (char *) "self",(char *) "t", NULL
26182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26187 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26189 if (!SWIG_IsOK(res2
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26195 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26197 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_Py_Void();
26207 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
= 0;
26209 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26210 wxDouble arg2
= (wxDouble
) 1.0 ;
26211 wxDouble arg3
= (wxDouble
) 0.0 ;
26212 wxDouble arg4
= (wxDouble
) 0.0 ;
26213 wxDouble arg5
= (wxDouble
) 1.0 ;
26214 wxDouble arg6
= (wxDouble
) 0.0 ;
26215 wxDouble arg7
= (wxDouble
) 0.0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 PyObject
* obj2
= 0 ;
26233 PyObject
* obj3
= 0 ;
26234 PyObject
* obj4
= 0 ;
26235 PyObject
* obj5
= 0 ;
26236 PyObject
* obj6
= 0 ;
26237 char * kwnames
[] = {
26238 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26246 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26248 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26249 if (!SWIG_IsOK(ecode2
)) {
26250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26252 arg2
= static_cast< wxDouble
>(val2
);
26255 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26256 if (!SWIG_IsOK(ecode3
)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26259 arg3
= static_cast< wxDouble
>(val3
);
26262 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26263 if (!SWIG_IsOK(ecode4
)) {
26264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26266 arg4
= static_cast< wxDouble
>(val4
);
26269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26270 if (!SWIG_IsOK(ecode5
)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26273 arg5
= static_cast< wxDouble
>(val5
);
26276 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26277 if (!SWIG_IsOK(ecode6
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26280 arg6
= static_cast< wxDouble
>(val6
);
26283 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26284 if (!SWIG_IsOK(ecode7
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26287 arg7
= static_cast< wxDouble
>(val7
);
26290 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= SWIG_Py_Void();
26300 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26301 PyObject
*resultobj
= 0;
26302 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26305 PyObject
*swig_obj
[1] ;
26307 if (!args
) SWIG_fail
;
26308 swig_obj
[0] = args
;
26309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26313 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_Py_Void();
26325 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26328 wxGraphicsMatrix
*arg2
= 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char * kwnames
[] = {
26337 (char *) "self",(char *) "t", NULL
26340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26345 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26347 if (!SWIG_IsOK(res2
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26353 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26355 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26367 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26368 PyObject
*resultobj
= 0;
26369 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26373 PyObject
*swig_obj
[1] ;
26375 if (!args
) SWIG_fail
;
26376 swig_obj
[0] = args
;
26377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26378 if (!SWIG_IsOK(res1
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26381 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26383 result
= (bool)(arg1
)->IsIdentity();
26384 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26395 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
= 0;
26397 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 PyObject
* obj2
= 0 ;
26409 char * kwnames
[] = {
26410 (char *) "self",(char *) "dx",(char *) "dy", NULL
26413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26415 if (!SWIG_IsOK(res1
)) {
26416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26418 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26419 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26420 if (!SWIG_IsOK(ecode2
)) {
26421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26423 arg2
= static_cast< wxDouble
>(val2
);
26424 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26425 if (!SWIG_IsOK(ecode3
)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26428 arg3
= static_cast< wxDouble
>(val3
);
26430 (arg1
)->Translate(arg2
,arg3
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_Py_Void();
26440 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
= 0;
26442 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 PyObject
* obj2
= 0 ;
26454 char * kwnames
[] = {
26455 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26460 if (!SWIG_IsOK(res1
)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26463 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26464 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26465 if (!SWIG_IsOK(ecode2
)) {
26466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26468 arg2
= static_cast< wxDouble
>(val2
);
26469 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26470 if (!SWIG_IsOK(ecode3
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26473 arg3
= static_cast< wxDouble
>(val3
);
26475 (arg1
)->Scale(arg2
,arg3
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_Py_Void();
26485 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
= 0;
26487 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 char * kwnames
[] = {
26496 (char *) "self",(char *) "angle", NULL
26499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26501 if (!SWIG_IsOK(res1
)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26504 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26505 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26506 if (!SWIG_IsOK(ecode2
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26509 arg2
= static_cast< wxDouble
>(val2
);
26511 (arg1
)->Rotate(arg2
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26521 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26524 wxDouble
*arg2
= (wxDouble
*) 0 ;
26525 wxDouble
*arg3
= (wxDouble
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 PyObject
* obj2
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26544 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26545 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26547 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26548 if (!SWIG_IsOK(ecode
)) {
26549 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26551 temp2
= static_cast< wxDouble
>(val
);
26553 res2
= SWIG_AddTmpMask(ecode
);
26555 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26557 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26558 if (!SWIG_IsOK(ecode
)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26561 temp3
= static_cast< wxDouble
>(val
);
26563 res3
= SWIG_AddTmpMask(ecode
);
26566 (arg1
)->TransformPoint(arg2
,arg3
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_Py_Void();
26570 if (SWIG_IsTmpObj(res2
)) {
26571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26573 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26576 if (SWIG_IsTmpObj(res3
)) {
26577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26579 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26588 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
= 0;
26590 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26591 wxDouble
*arg2
= (wxDouble
*) 0 ;
26592 wxDouble
*arg3
= (wxDouble
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 PyObject
* obj2
= 0 ;
26602 char * kwnames
[] = {
26603 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26608 if (!SWIG_IsOK(res1
)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26611 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26612 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26614 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26615 if (!SWIG_IsOK(ecode
)) {
26616 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26618 temp2
= static_cast< wxDouble
>(val
);
26620 res2
= SWIG_AddTmpMask(ecode
);
26622 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26624 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26625 if (!SWIG_IsOK(ecode
)) {
26626 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26628 temp3
= static_cast< wxDouble
>(val
);
26630 res3
= SWIG_AddTmpMask(ecode
);
26633 (arg1
)->TransformDistance(arg2
,arg3
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26637 if (SWIG_IsTmpObj(res2
)) {
26638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26640 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26643 if (SWIG_IsTmpObj(res3
)) {
26644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26646 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26655 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26656 PyObject
*resultobj
= 0;
26657 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26661 PyObject
*swig_obj
[1] ;
26663 if (!args
) SWIG_fail
;
26664 swig_obj
[0] = args
;
26665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26666 if (!SWIG_IsOK(res1
)) {
26667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26669 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26671 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26681 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26684 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26685 return SWIG_Py_Void();
26688 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26689 PyObject
*resultobj
= 0;
26690 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26693 PyObject
*swig_obj
[1] ;
26695 if (!args
) SWIG_fail
;
26696 swig_obj
[0] = args
;
26697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26701 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= SWIG_Py_Void();
26714 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26715 PyObject
*resultobj
= 0;
26716 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26726 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26731 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26732 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26736 arg2
= static_cast< wxDouble
>(val2
);
26737 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26738 if (!SWIG_IsOK(ecode3
)) {
26739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26741 arg3
= static_cast< wxDouble
>(val3
);
26743 (arg1
)->MoveToPoint(arg2
,arg3
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_Py_Void();
26753 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26754 PyObject
*resultobj
= 0;
26755 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26756 wxPoint2D
*arg2
= 0 ;
26761 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26766 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26769 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26772 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_Py_Void();
26782 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26786 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26789 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26792 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26796 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26801 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26802 PyObject
*resultobj
= 0;
26803 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26813 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26818 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26819 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26820 if (!SWIG_IsOK(ecode2
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26823 arg2
= static_cast< wxDouble
>(val2
);
26824 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26825 if (!SWIG_IsOK(ecode3
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26828 arg3
= static_cast< wxDouble
>(val3
);
26830 (arg1
)->AddLineToPoint(arg2
,arg3
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_Py_Void();
26840 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26841 PyObject
*resultobj
= 0;
26842 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26843 wxPoint2D
*arg2
= 0 ;
26848 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26850 if (!SWIG_IsOK(res1
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26853 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26856 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26859 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26869 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26873 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26876 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26879 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26883 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26888 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26889 PyObject
*resultobj
= 0;
26890 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26912 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26914 if (!SWIG_IsOK(res1
)) {
26915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26917 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26918 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26919 if (!SWIG_IsOK(ecode2
)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26922 arg2
= static_cast< wxDouble
>(val2
);
26923 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26924 if (!SWIG_IsOK(ecode3
)) {
26925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26927 arg3
= static_cast< wxDouble
>(val3
);
26928 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26929 if (!SWIG_IsOK(ecode4
)) {
26930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26932 arg4
= static_cast< wxDouble
>(val4
);
26933 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26934 if (!SWIG_IsOK(ecode5
)) {
26935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26937 arg5
= static_cast< wxDouble
>(val5
);
26938 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26939 if (!SWIG_IsOK(ecode6
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26942 arg6
= static_cast< wxDouble
>(val6
);
26943 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26944 if (!SWIG_IsOK(ecode7
)) {
26945 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26947 arg7
= static_cast< wxDouble
>(val7
);
26949 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26959 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26960 PyObject
*resultobj
= 0;
26961 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26962 wxPoint2D
*arg2
= 0 ;
26963 wxPoint2D
*arg3
= 0 ;
26964 wxPoint2D
*arg4
= 0 ;
26971 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26976 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26979 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26983 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26987 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26990 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= SWIG_Py_Void();
27000 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27004 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27007 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27010 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27014 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27019 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
= 0;
27021 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27022 wxGraphicsPath
*arg2
= 0 ;
27027 PyObject
* obj0
= 0 ;
27028 PyObject
* obj1
= 0 ;
27029 char * kwnames
[] = {
27030 (char *) "self",(char *) "path", NULL
27033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27035 if (!SWIG_IsOK(res1
)) {
27036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27038 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27040 if (!SWIG_IsOK(res2
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27046 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27048 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_Py_Void();
27058 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27059 PyObject
*resultobj
= 0;
27060 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27063 PyObject
*swig_obj
[1] ;
27065 if (!args
) SWIG_fail
;
27066 swig_obj
[0] = args
;
27067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27068 if (!SWIG_IsOK(res1
)) {
27069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27071 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27073 (arg1
)->CloseSubpath();
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_Py_Void();
27083 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27084 PyObject
*resultobj
= 0;
27085 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27089 PyObject
*swig_obj
[1] ;
27091 if (!args
) SWIG_fail
;
27092 swig_obj
[0] = args
;
27093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27097 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27099 result
= (arg1
)->GetCurrentPoint();
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27109 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27110 PyObject
*resultobj
= 0;
27111 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27133 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27135 if (!SWIG_IsOK(res1
)) {
27136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27138 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27139 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27140 if (!SWIG_IsOK(ecode2
)) {
27141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27143 arg2
= static_cast< wxDouble
>(val2
);
27144 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27145 if (!SWIG_IsOK(ecode3
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27148 arg3
= static_cast< wxDouble
>(val3
);
27149 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27150 if (!SWIG_IsOK(ecode4
)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27153 arg4
= static_cast< wxDouble
>(val4
);
27154 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27155 if (!SWIG_IsOK(ecode5
)) {
27156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27158 arg5
= static_cast< wxDouble
>(val5
);
27159 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27160 if (!SWIG_IsOK(ecode6
)) {
27161 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27163 arg6
= static_cast< wxDouble
>(val6
);
27164 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27165 if (!SWIG_IsOK(ecode7
)) {
27166 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27168 arg7
= static_cast< bool >(val7
);
27170 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= SWIG_Py_Void();
27180 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27181 PyObject
*resultobj
= 0;
27182 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27183 wxPoint2D
*arg2
= 0 ;
27200 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27205 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27208 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27210 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27211 if (!SWIG_IsOK(ecode3
)) {
27212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27214 arg3
= static_cast< wxDouble
>(val3
);
27215 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27216 if (!SWIG_IsOK(ecode4
)) {
27217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27219 arg4
= static_cast< wxDouble
>(val4
);
27220 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27221 if (!SWIG_IsOK(ecode5
)) {
27222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27224 arg5
= static_cast< wxDouble
>(val5
);
27225 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27226 if (!SWIG_IsOK(ecode6
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27229 arg6
= static_cast< bool >(val6
);
27231 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_Py_Void();
27241 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27245 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27248 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27251 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27255 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27260 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
= 0;
27262 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 PyObject
* obj2
= 0 ;
27280 PyObject
* obj3
= 0 ;
27281 PyObject
* obj4
= 0 ;
27282 char * kwnames
[] = {
27283 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27288 if (!SWIG_IsOK(res1
)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27291 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27292 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27293 if (!SWIG_IsOK(ecode2
)) {
27294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27296 arg2
= static_cast< wxDouble
>(val2
);
27297 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27298 if (!SWIG_IsOK(ecode3
)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27301 arg3
= static_cast< wxDouble
>(val3
);
27302 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27303 if (!SWIG_IsOK(ecode4
)) {
27304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27306 arg4
= static_cast< wxDouble
>(val4
);
27307 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27308 if (!SWIG_IsOK(ecode5
)) {
27309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27311 arg5
= static_cast< wxDouble
>(val5
);
27313 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= SWIG_Py_Void();
27323 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27324 PyObject
*resultobj
= 0;
27325 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27340 PyObject
* obj0
= 0 ;
27341 PyObject
* obj1
= 0 ;
27342 PyObject
* obj2
= 0 ;
27343 PyObject
* obj3
= 0 ;
27344 PyObject
* obj4
= 0 ;
27345 char * kwnames
[] = {
27346 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27351 if (!SWIG_IsOK(res1
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27354 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27355 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27356 if (!SWIG_IsOK(ecode2
)) {
27357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27359 arg2
= static_cast< wxDouble
>(val2
);
27360 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27361 if (!SWIG_IsOK(ecode3
)) {
27362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27364 arg3
= static_cast< wxDouble
>(val3
);
27365 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27366 if (!SWIG_IsOK(ecode4
)) {
27367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27369 arg4
= static_cast< wxDouble
>(val4
);
27370 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27371 if (!SWIG_IsOK(ecode5
)) {
27372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27374 arg5
= static_cast< wxDouble
>(val5
);
27376 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_Py_Void();
27386 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
= 0;
27388 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 PyObject
* obj2
= 0 ;
27403 PyObject
* obj3
= 0 ;
27404 char * kwnames
[] = {
27405 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27410 if (!SWIG_IsOK(res1
)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27413 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27414 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27415 if (!SWIG_IsOK(ecode2
)) {
27416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27418 arg2
= static_cast< wxDouble
>(val2
);
27419 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27420 if (!SWIG_IsOK(ecode3
)) {
27421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27423 arg3
= static_cast< wxDouble
>(val3
);
27424 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27425 if (!SWIG_IsOK(ecode4
)) {
27426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27428 arg4
= static_cast< wxDouble
>(val4
);
27430 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_Py_Void();
27440 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
= 0;
27442 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 PyObject
* obj2
= 0 ;
27463 PyObject
* obj3
= 0 ;
27464 PyObject
* obj4
= 0 ;
27465 PyObject
* obj5
= 0 ;
27466 char * kwnames
[] = {
27467 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27472 if (!SWIG_IsOK(res1
)) {
27473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27475 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27476 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27477 if (!SWIG_IsOK(ecode2
)) {
27478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27480 arg2
= static_cast< wxDouble
>(val2
);
27481 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27482 if (!SWIG_IsOK(ecode3
)) {
27483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27485 arg3
= static_cast< wxDouble
>(val3
);
27486 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27487 if (!SWIG_IsOK(ecode4
)) {
27488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27490 arg4
= static_cast< wxDouble
>(val4
);
27491 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27492 if (!SWIG_IsOK(ecode5
)) {
27493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27495 arg5
= static_cast< wxDouble
>(val5
);
27496 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27497 if (!SWIG_IsOK(ecode6
)) {
27498 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27500 arg6
= static_cast< wxDouble
>(val6
);
27502 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 resultobj
= SWIG_Py_Void();
27512 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
= 0;
27514 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 PyObject
* obj2
= 0 ;
27532 PyObject
* obj3
= 0 ;
27533 PyObject
* obj4
= 0 ;
27534 char * kwnames
[] = {
27535 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27540 if (!SWIG_IsOK(res1
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27543 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27544 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27545 if (!SWIG_IsOK(ecode2
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27548 arg2
= static_cast< wxDouble
>(val2
);
27549 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27550 if (!SWIG_IsOK(ecode3
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27553 arg3
= static_cast< wxDouble
>(val3
);
27554 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27555 if (!SWIG_IsOK(ecode4
)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27558 arg4
= static_cast< wxDouble
>(val4
);
27559 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27560 if (!SWIG_IsOK(ecode5
)) {
27561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27563 arg5
= static_cast< wxDouble
>(val5
);
27565 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_Py_Void();
27575 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
= 0;
27577 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 PyObject
* obj2
= 0 ;
27598 PyObject
* obj3
= 0 ;
27599 PyObject
* obj4
= 0 ;
27600 PyObject
* obj5
= 0 ;
27601 char * kwnames
[] = {
27602 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27610 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27611 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27612 if (!SWIG_IsOK(ecode2
)) {
27613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27615 arg2
= static_cast< wxDouble
>(val2
);
27616 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27617 if (!SWIG_IsOK(ecode3
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27620 arg3
= static_cast< wxDouble
>(val3
);
27621 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27622 if (!SWIG_IsOK(ecode4
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27625 arg4
= static_cast< wxDouble
>(val4
);
27626 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27627 if (!SWIG_IsOK(ecode5
)) {
27628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27630 arg5
= static_cast< wxDouble
>(val5
);
27631 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27632 if (!SWIG_IsOK(ecode6
)) {
27633 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27635 arg6
= static_cast< wxDouble
>(val6
);
27637 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_Py_Void();
27647 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27648 PyObject
*resultobj
= 0;
27649 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27653 PyObject
*swig_obj
[1] ;
27655 if (!args
) SWIG_fail
;
27656 swig_obj
[0] = args
;
27657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27658 if (!SWIG_IsOK(res1
)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27661 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27663 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27673 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
= 0;
27675 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27676 void *arg2
= (void *) 0 ;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 char * kwnames
[] = {
27683 (char *) "self",(char *) "p", NULL
27686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27688 if (!SWIG_IsOK(res1
)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27691 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27692 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27693 if (!SWIG_IsOK(res2
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27697 (arg1
)->UnGetNativePath(arg2
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_Py_Void();
27707 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
= 0;
27709 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27710 wxGraphicsMatrix
*arg2
= 0 ;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char * kwnames
[] = {
27718 (char *) "self",(char *) "matrix", NULL
27721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27726 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27728 if (!SWIG_IsOK(res2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27734 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27736 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= SWIG_Py_Void();
27746 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27747 PyObject
*resultobj
= 0;
27748 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27749 wxRect2DDouble result
;
27752 PyObject
*swig_obj
[1] ;
27754 if (!args
) SWIG_fail
;
27755 swig_obj
[0] = args
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27760 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27762 result
= (arg1
)->GetBox();
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27772 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27773 PyObject
*resultobj
= 0;
27774 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27777 int arg4
= (int) wxWINDING_RULE
;
27788 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27790 if (!SWIG_IsOK(res1
)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27793 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27794 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27795 if (!SWIG_IsOK(ecode2
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27798 arg2
= static_cast< wxDouble
>(val2
);
27799 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27800 if (!SWIG_IsOK(ecode3
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27803 arg3
= static_cast< wxDouble
>(val3
);
27805 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27806 if (!SWIG_IsOK(ecode4
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27809 arg4
= static_cast< int >(val4
);
27812 result
= (bool)(arg1
)->Contains(arg2
,arg3
,arg4
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27824 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27825 PyObject
*resultobj
= 0;
27826 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27827 wxPoint2DDouble
*arg2
= 0 ;
27828 int arg3
= (int) wxWINDING_RULE
;
27837 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27842 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27843 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27844 if (!SWIG_IsOK(res2
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27850 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27852 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27853 if (!SWIG_IsOK(ecode3
)) {
27854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27856 arg3
= static_cast< int >(val3
);
27859 result
= (bool)(arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27871 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27875 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27877 if ((argc
>= 2) && (argc
<= 3)) {
27880 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27881 _v
= SWIG_CheckState(res
);
27883 if (!_v
) goto check_1
;
27887 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27888 _v
= SWIG_CheckState(res
);
27891 if (!_v
) goto check_1
;
27893 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27897 if ((argc
>= 3) && (argc
<= 4)) {
27898 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27902 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27907 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27910 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27911 return SWIG_Py_Void();
27914 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27915 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27920 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27921 PyObject
*pyobj
= 0;
27923 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27928 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27929 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27934 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27935 PyObject
*pyobj
= 0;
27937 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27942 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27943 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27948 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27949 PyObject
*pyobj
= 0;
27951 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27956 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27957 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27962 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27963 PyObject
*pyobj
= 0;
27965 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27970 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27971 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27976 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27977 PyObject
*pyobj
= 0;
27979 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27984 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27985 PyObject
*resultobj
= 0;
27986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27989 PyObject
*swig_obj
[1] ;
27991 if (!args
) SWIG_fail
;
27992 swig_obj
[0] = args
;
27993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_Py_Void();
28010 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28011 PyObject
*resultobj
= 0;
28012 wxWindowDC
*arg1
= 0 ;
28013 wxGraphicsContext
*result
= 0 ;
28017 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28025 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28027 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28037 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28038 PyObject
*resultobj
= 0;
28039 wxWindow
*arg1
= (wxWindow
*) 0 ;
28040 wxGraphicsContext
*result
= 0 ;
28044 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28046 if (!SWIG_IsOK(res1
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28051 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28061 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28065 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28070 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28071 _v
= SWIG_CheckState(res
);
28073 if (!_v
) goto check_1
;
28074 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28079 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28083 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28088 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
= 0;
28090 void *arg1
= (void *) 0 ;
28091 wxGraphicsContext
*result
= 0 ;
28093 PyObject
* obj0
= 0 ;
28094 char * kwnames
[] = {
28095 (char *) "context", NULL
28098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28099 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28100 if (!SWIG_IsOK(res1
)) {
28101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28104 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28114 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
= 0;
28116 void *arg1
= (void *) 0 ;
28117 wxGraphicsContext
*result
= 0 ;
28119 PyObject
* obj0
= 0 ;
28120 char * kwnames
[] = {
28121 (char *) "window", NULL
28124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28125 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28126 if (!SWIG_IsOK(res1
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28130 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28140 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28141 PyObject
*resultobj
= 0;
28142 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28143 wxGraphicsPath result
;
28146 PyObject
*swig_obj
[1] ;
28148 if (!args
) SWIG_fail
;
28149 swig_obj
[0] = args
;
28150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28154 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28156 result
= (arg1
)->CreatePath();
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28166 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
= 0;
28168 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28170 wxGraphicsPen result
;
28175 PyObject
* obj0
= 0 ;
28176 PyObject
* obj1
= 0 ;
28177 char * kwnames
[] = {
28178 (char *) "self",(char *) "pen", NULL
28181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28183 if (!SWIG_IsOK(res1
)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28186 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28188 if (!SWIG_IsOK(res2
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28194 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28196 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28199 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28206 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
= 0;
28208 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28209 wxBrush
*arg2
= 0 ;
28210 wxGraphicsBrush result
;
28215 PyObject
* obj0
= 0 ;
28216 PyObject
* obj1
= 0 ;
28217 char * kwnames
[] = {
28218 (char *) "self",(char *) "brush", NULL
28221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28223 if (!SWIG_IsOK(res1
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28227 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28228 if (!SWIG_IsOK(res2
)) {
28229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28234 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28236 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28246 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28247 PyObject
*resultobj
= 0;
28248 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28253 wxColour
*arg6
= 0 ;
28254 wxColour
*arg7
= 0 ;
28255 wxGraphicsBrush result
;
28268 PyObject
* obj0
= 0 ;
28269 PyObject
* obj1
= 0 ;
28270 PyObject
* obj2
= 0 ;
28271 PyObject
* obj3
= 0 ;
28272 PyObject
* obj4
= 0 ;
28273 PyObject
* obj5
= 0 ;
28274 PyObject
* obj6
= 0 ;
28275 char * kwnames
[] = {
28276 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28285 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28286 if (!SWIG_IsOK(ecode2
)) {
28287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28289 arg2
= static_cast< wxDouble
>(val2
);
28290 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28291 if (!SWIG_IsOK(ecode3
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28294 arg3
= static_cast< wxDouble
>(val3
);
28295 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28296 if (!SWIG_IsOK(ecode4
)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28299 arg4
= static_cast< wxDouble
>(val4
);
28300 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28301 if (!SWIG_IsOK(ecode5
)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28304 arg5
= static_cast< wxDouble
>(val5
);
28307 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28311 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28314 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28324 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28332 wxColour
*arg7
= 0 ;
28333 wxColour
*arg8
= 0 ;
28334 wxGraphicsBrush result
;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 PyObject
* obj2
= 0 ;
28352 PyObject
* obj3
= 0 ;
28353 PyObject
* obj4
= 0 ;
28354 PyObject
* obj5
= 0 ;
28355 PyObject
* obj6
= 0 ;
28356 PyObject
* obj7
= 0 ;
28357 char * kwnames
[] = {
28358 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28363 if (!SWIG_IsOK(res1
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28366 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28367 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28368 if (!SWIG_IsOK(ecode2
)) {
28369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28371 arg2
= static_cast< wxDouble
>(val2
);
28372 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28373 if (!SWIG_IsOK(ecode3
)) {
28374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28376 arg3
= static_cast< wxDouble
>(val3
);
28377 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28378 if (!SWIG_IsOK(ecode4
)) {
28379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28381 arg4
= static_cast< wxDouble
>(val4
);
28382 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28383 if (!SWIG_IsOK(ecode5
)) {
28384 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28386 arg5
= static_cast< wxDouble
>(val5
);
28387 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28388 if (!SWIG_IsOK(ecode6
)) {
28389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28391 arg6
= static_cast< wxDouble
>(val6
);
28394 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28398 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28401 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28411 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
= 0;
28413 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28415 wxColour
const &arg3_defvalue
= *wxBLACK
;
28416 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28417 wxGraphicsFont result
;
28423 PyObject
* obj0
= 0 ;
28424 PyObject
* obj1
= 0 ;
28425 PyObject
* obj2
= 0 ;
28426 char * kwnames
[] = {
28427 (char *) "self",(char *) "font",(char *) "col", NULL
28430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28432 if (!SWIG_IsOK(res1
)) {
28433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28435 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28437 if (!SWIG_IsOK(res2
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28443 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28447 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28451 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28461 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
= 0;
28463 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28464 wxDouble arg2
= (wxDouble
) 1.0 ;
28465 wxDouble arg3
= (wxDouble
) 0.0 ;
28466 wxDouble arg4
= (wxDouble
) 0.0 ;
28467 wxDouble arg5
= (wxDouble
) 1.0 ;
28468 wxDouble arg6
= (wxDouble
) 0.0 ;
28469 wxDouble arg7
= (wxDouble
) 0.0 ;
28470 wxGraphicsMatrix result
;
28485 PyObject
* obj0
= 0 ;
28486 PyObject
* obj1
= 0 ;
28487 PyObject
* obj2
= 0 ;
28488 PyObject
* obj3
= 0 ;
28489 PyObject
* obj4
= 0 ;
28490 PyObject
* obj5
= 0 ;
28491 PyObject
* obj6
= 0 ;
28492 char * kwnames
[] = {
28493 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28498 if (!SWIG_IsOK(res1
)) {
28499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28501 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28503 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28504 if (!SWIG_IsOK(ecode2
)) {
28505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28507 arg2
= static_cast< wxDouble
>(val2
);
28510 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28511 if (!SWIG_IsOK(ecode3
)) {
28512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28514 arg3
= static_cast< wxDouble
>(val3
);
28517 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28518 if (!SWIG_IsOK(ecode4
)) {
28519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28521 arg4
= static_cast< wxDouble
>(val4
);
28524 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28525 if (!SWIG_IsOK(ecode5
)) {
28526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28528 arg5
= static_cast< wxDouble
>(val5
);
28531 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28532 if (!SWIG_IsOK(ecode6
)) {
28533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28535 arg6
= static_cast< wxDouble
>(val6
);
28538 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28539 if (!SWIG_IsOK(ecode7
)) {
28540 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28542 arg7
= static_cast< wxDouble
>(val7
);
28545 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28555 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 PyObject
*resultobj
= 0;
28557 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28560 PyObject
*swig_obj
[1] ;
28562 if (!args
) SWIG_fail
;
28563 swig_obj
[0] = args
;
28564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28568 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28570 (arg1
)->PushState();
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_Py_Void();
28580 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28581 PyObject
*resultobj
= 0;
28582 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28585 PyObject
*swig_obj
[1] ;
28587 if (!args
) SWIG_fail
;
28588 swig_obj
[0] = args
;
28589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28593 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28595 (arg1
)->PopState();
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= SWIG_Py_Void();
28605 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28606 PyObject
*resultobj
= 0;
28607 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28608 wxRegion
*arg2
= 0 ;
28613 PyObject
* obj0
= 0 ;
28614 PyObject
* obj1
= 0 ;
28615 char * kwnames
[] = {
28616 (char *) "self",(char *) "region", NULL
28619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28621 if (!SWIG_IsOK(res1
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28624 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28626 if (!SWIG_IsOK(res2
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28632 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28634 (arg1
)->Clip((wxRegion
const &)*arg2
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_Py_Void();
28644 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
= 0;
28646 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 PyObject
* obj3
= 0 ;
28665 PyObject
* obj4
= 0 ;
28666 char * kwnames
[] = {
28667 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28675 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28676 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28677 if (!SWIG_IsOK(ecode2
)) {
28678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28680 arg2
= static_cast< wxDouble
>(val2
);
28681 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28682 if (!SWIG_IsOK(ecode3
)) {
28683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28685 arg3
= static_cast< wxDouble
>(val3
);
28686 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28687 if (!SWIG_IsOK(ecode4
)) {
28688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28690 arg4
= static_cast< wxDouble
>(val4
);
28691 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28692 if (!SWIG_IsOK(ecode5
)) {
28693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28695 arg5
= static_cast< wxDouble
>(val5
);
28697 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_Py_Void();
28707 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28708 PyObject
*resultobj
= 0;
28709 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28712 PyObject
*swig_obj
[1] ;
28714 if (!args
) SWIG_fail
;
28715 swig_obj
[0] = args
;
28716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28717 if (!SWIG_IsOK(res1
)) {
28718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28720 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28722 (arg1
)->ResetClip();
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= SWIG_Py_Void();
28732 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28733 PyObject
*resultobj
= 0;
28734 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28738 PyObject
*swig_obj
[1] ;
28740 if (!args
) SWIG_fail
;
28741 swig_obj
[0] = args
;
28742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28743 if (!SWIG_IsOK(res1
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28746 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28748 result
= (void *)(arg1
)->GetNativeContext();
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28758 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
= 0;
28760 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 PyObject
* obj2
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "dx",(char *) "dy", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28782 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28783 if (!SWIG_IsOK(ecode2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28786 arg2
= static_cast< wxDouble
>(val2
);
28787 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28788 if (!SWIG_IsOK(ecode3
)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28791 arg3
= static_cast< wxDouble
>(val3
);
28793 (arg1
)->Translate(arg2
,arg3
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_Py_Void();
28803 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
= 0;
28805 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28814 PyObject
* obj0
= 0 ;
28815 PyObject
* obj1
= 0 ;
28816 PyObject
* obj2
= 0 ;
28817 char * kwnames
[] = {
28818 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28823 if (!SWIG_IsOK(res1
)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28826 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28827 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28828 if (!SWIG_IsOK(ecode2
)) {
28829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28831 arg2
= static_cast< wxDouble
>(val2
);
28832 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28833 if (!SWIG_IsOK(ecode3
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28836 arg3
= static_cast< wxDouble
>(val3
);
28838 (arg1
)->Scale(arg2
,arg3
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_Py_Void();
28848 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
= 0;
28850 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char * kwnames
[] = {
28859 (char *) "self",(char *) "angle", NULL
28862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28867 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28868 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28869 if (!SWIG_IsOK(ecode2
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28872 arg2
= static_cast< wxDouble
>(val2
);
28874 (arg1
)->Rotate(arg2
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_Py_Void();
28884 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
= 0;
28886 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28887 wxGraphicsMatrix
*arg2
= 0 ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char * kwnames
[] = {
28895 (char *) "self",(char *) "matrix", NULL
28898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28900 if (!SWIG_IsOK(res1
)) {
28901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28903 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28905 if (!SWIG_IsOK(res2
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28911 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28913 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= SWIG_Py_Void();
28923 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
= 0;
28925 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28926 wxGraphicsMatrix
*arg2
= 0 ;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 char * kwnames
[] = {
28934 (char *) "self",(char *) "matrix", NULL
28937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28942 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28944 if (!SWIG_IsOK(res2
)) {
28945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28950 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28952 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_Py_Void();
28962 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28963 PyObject
*resultobj
= 0;
28964 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28965 wxGraphicsMatrix result
;
28968 PyObject
*swig_obj
[1] ;
28970 if (!args
) SWIG_fail
;
28971 swig_obj
[0] = args
;
28972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28976 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28978 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28988 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28989 PyObject
*resultobj
= 0;
28990 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28991 wxGraphicsPen
*arg2
= 0 ;
28997 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28999 if (!SWIG_IsOK(res1
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29002 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29003 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29004 if (!SWIG_IsOK(res2
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29010 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29012 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_Py_Void();
29022 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29023 PyObject
*resultobj
= 0;
29024 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29031 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29033 if (!SWIG_IsOK(res1
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29036 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29037 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29038 if (!SWIG_IsOK(res2
)) {
29039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29044 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29046 (arg1
)->SetPen((wxPen
const &)*arg2
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= SWIG_Py_Void();
29056 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29060 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29065 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29066 _v
= SWIG_CheckState(res
);
29068 if (!_v
) goto check_1
;
29069 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29074 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29078 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29083 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29084 PyObject
*resultobj
= 0;
29085 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29086 wxGraphicsBrush
*arg2
= 0 ;
29092 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29094 if (!SWIG_IsOK(res1
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29097 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29098 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29099 if (!SWIG_IsOK(res2
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29105 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29107 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= SWIG_Py_Void();
29117 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29118 PyObject
*resultobj
= 0;
29119 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29120 wxBrush
*arg2
= 0 ;
29126 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29128 if (!SWIG_IsOK(res1
)) {
29129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29131 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29132 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29133 if (!SWIG_IsOK(res2
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29139 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29141 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= SWIG_Py_Void();
29151 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29155 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29160 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29161 _v
= SWIG_CheckState(res
);
29163 if (!_v
) goto check_1
;
29164 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29169 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29173 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29178 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29179 PyObject
*resultobj
= 0;
29180 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29181 wxGraphicsFont
*arg2
= 0 ;
29187 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29189 if (!SWIG_IsOK(res1
)) {
29190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29192 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29193 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29194 if (!SWIG_IsOK(res2
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29200 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29202 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= SWIG_Py_Void();
29212 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29213 PyObject
*resultobj
= 0;
29214 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29216 wxColour
const &arg3_defvalue
= *wxBLACK
;
29217 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29224 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29226 if (!SWIG_IsOK(res1
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29229 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29230 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29231 if (!SWIG_IsOK(res2
)) {
29232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29237 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29241 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29245 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= SWIG_Py_Void();
29255 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29259 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29264 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29265 _v
= SWIG_CheckState(res
);
29267 if (!_v
) goto check_1
;
29268 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29272 if ((argc
>= 2) && (argc
<= 3)) {
29273 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29277 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29282 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
= 0;
29284 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29285 wxGraphicsPath
*arg2
= 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char * kwnames
[] = {
29293 (char *) "self",(char *) "path", NULL
29296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29301 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29303 if (!SWIG_IsOK(res2
)) {
29304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29309 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29311 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_Py_Void();
29321 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
= 0;
29323 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29324 wxGraphicsPath
*arg2
= 0 ;
29325 int arg3
= (int) wxWINDING_RULE
;
29332 PyObject
* obj0
= 0 ;
29333 PyObject
* obj1
= 0 ;
29334 PyObject
* obj2
= 0 ;
29335 char * kwnames
[] = {
29336 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29344 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29346 if (!SWIG_IsOK(res2
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29352 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29355 if (!SWIG_IsOK(ecode3
)) {
29356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29358 arg3
= static_cast< int >(val3
);
29361 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_Py_Void();
29371 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
= 0;
29373 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29374 wxGraphicsPath
*arg2
= 0 ;
29375 int arg3
= (int) wxWINDING_RULE
;
29382 PyObject
* obj0
= 0 ;
29383 PyObject
* obj1
= 0 ;
29384 PyObject
* obj2
= 0 ;
29385 char * kwnames
[] = {
29386 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29394 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29396 if (!SWIG_IsOK(res2
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29402 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29405 if (!SWIG_IsOK(ecode3
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29408 arg3
= static_cast< int >(val3
);
29411 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= SWIG_Py_Void();
29421 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
= 0;
29423 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29424 wxString
*arg2
= 0 ;
29429 bool temp2
= false ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 PyObject
* obj2
= 0 ;
29437 PyObject
* obj3
= 0 ;
29438 char * kwnames
[] = {
29439 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29447 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29449 arg2
= wxString_in_helper(obj1
);
29450 if (arg2
== NULL
) SWIG_fail
;
29453 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29454 if (!SWIG_IsOK(ecode3
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29457 arg3
= static_cast< wxDouble
>(val3
);
29458 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29459 if (!SWIG_IsOK(ecode4
)) {
29460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29462 arg4
= static_cast< wxDouble
>(val4
);
29464 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_Py_Void();
29482 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
= 0;
29484 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29485 wxString
*arg2
= 0 ;
29491 bool temp2
= false ;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 PyObject
* obj2
= 0 ;
29501 PyObject
* obj3
= 0 ;
29502 PyObject
* obj4
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29512 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29514 arg2
= wxString_in_helper(obj1
);
29515 if (arg2
== NULL
) SWIG_fail
;
29518 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29519 if (!SWIG_IsOK(ecode3
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29522 arg3
= static_cast< wxDouble
>(val3
);
29523 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29524 if (!SWIG_IsOK(ecode4
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29527 arg4
= static_cast< wxDouble
>(val4
);
29528 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29529 if (!SWIG_IsOK(ecode5
)) {
29530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29532 arg5
= static_cast< wxDouble
>(val5
);
29534 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= SWIG_Py_Void();
29552 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
= 0;
29554 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29555 wxString
*arg2
= 0 ;
29556 wxDouble
*arg3
= (wxDouble
*) 0 ;
29557 wxDouble
*arg4
= (wxDouble
*) 0 ;
29558 wxDouble
*arg5
= (wxDouble
*) 0 ;
29559 wxDouble
*arg6
= (wxDouble
*) 0 ;
29562 bool temp2
= false ;
29564 int res3
= SWIG_TMPOBJ
;
29566 int res4
= SWIG_TMPOBJ
;
29568 int res5
= SWIG_TMPOBJ
;
29570 int res6
= SWIG_TMPOBJ
;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 char * kwnames
[] = {
29574 (char *) "self",(char *) "text", NULL
29581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29583 if (!SWIG_IsOK(res1
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29586 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29588 arg2
= wxString_in_helper(obj1
);
29589 if (arg2
== NULL
) SWIG_fail
;
29593 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_Py_Void();
29597 if (SWIG_IsTmpObj(res3
)) {
29598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29600 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29603 if (SWIG_IsTmpObj(res4
)) {
29604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29606 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29609 if (SWIG_IsTmpObj(res5
)) {
29610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29612 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29615 if (SWIG_IsTmpObj(res6
)) {
29616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29618 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29635 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
= 0;
29637 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29638 wxString
*arg2
= 0 ;
29639 PyObject
*result
= 0 ;
29642 bool temp2
= false ;
29643 PyObject
* obj0
= 0 ;
29644 PyObject
* obj1
= 0 ;
29645 char * kwnames
[] = {
29646 (char *) "self",(char *) "text", NULL
29649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29651 if (!SWIG_IsOK(res1
)) {
29652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29654 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29656 arg2
= wxString_in_helper(obj1
);
29657 if (arg2
== NULL
) SWIG_fail
;
29661 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= result
;
29679 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29682 wxString
*arg2
= 0 ;
29683 wxArrayDouble result
;
29686 bool temp2
= false ;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 char * kwnames
[] = {
29690 (char *) "self",(char *) "text", NULL
29693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29695 if (!SWIG_IsOK(res1
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29698 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29700 arg2
= wxString_in_helper(obj1
);
29701 if (arg2
== NULL
) SWIG_fail
;
29705 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= wxArrayDouble2PyList_helper(result
);
29725 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
= 0;
29727 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29728 wxBitmap
*arg2
= 0 ;
29745 PyObject
* obj0
= 0 ;
29746 PyObject
* obj1
= 0 ;
29747 PyObject
* obj2
= 0 ;
29748 PyObject
* obj3
= 0 ;
29749 PyObject
* obj4
= 0 ;
29750 PyObject
* obj5
= 0 ;
29751 char * kwnames
[] = {
29752 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29760 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29762 if (!SWIG_IsOK(res2
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29768 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29769 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29770 if (!SWIG_IsOK(ecode3
)) {
29771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29773 arg3
= static_cast< wxDouble
>(val3
);
29774 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29775 if (!SWIG_IsOK(ecode4
)) {
29776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29778 arg4
= static_cast< wxDouble
>(val4
);
29779 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29780 if (!SWIG_IsOK(ecode5
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29783 arg5
= static_cast< wxDouble
>(val5
);
29784 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29785 if (!SWIG_IsOK(ecode6
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29788 arg6
= static_cast< wxDouble
>(val6
);
29790 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_Py_Void();
29800 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
= 0;
29802 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29820 PyObject
* obj0
= 0 ;
29821 PyObject
* obj1
= 0 ;
29822 PyObject
* obj2
= 0 ;
29823 PyObject
* obj3
= 0 ;
29824 PyObject
* obj4
= 0 ;
29825 PyObject
* obj5
= 0 ;
29826 char * kwnames
[] = {
29827 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29832 if (!SWIG_IsOK(res1
)) {
29833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29835 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29837 if (!SWIG_IsOK(res2
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29843 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29844 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29845 if (!SWIG_IsOK(ecode3
)) {
29846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29848 arg3
= static_cast< wxDouble
>(val3
);
29849 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29850 if (!SWIG_IsOK(ecode4
)) {
29851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29853 arg4
= static_cast< wxDouble
>(val4
);
29854 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29855 if (!SWIG_IsOK(ecode5
)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29858 arg5
= static_cast< wxDouble
>(val5
);
29859 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29860 if (!SWIG_IsOK(ecode6
)) {
29861 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29863 arg6
= static_cast< wxDouble
>(val6
);
29865 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= SWIG_Py_Void();
29875 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
= 0;
29877 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 PyObject
* obj2
= 0 ;
29895 PyObject
* obj3
= 0 ;
29896 PyObject
* obj4
= 0 ;
29897 char * kwnames
[] = {
29898 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29906 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29907 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29908 if (!SWIG_IsOK(ecode2
)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29911 arg2
= static_cast< wxDouble
>(val2
);
29912 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29913 if (!SWIG_IsOK(ecode3
)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29916 arg3
= static_cast< wxDouble
>(val3
);
29917 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29918 if (!SWIG_IsOK(ecode4
)) {
29919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29921 arg4
= static_cast< wxDouble
>(val4
);
29922 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29923 if (!SWIG_IsOK(ecode5
)) {
29924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29926 arg5
= static_cast< wxDouble
>(val5
);
29928 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= SWIG_Py_Void();
29938 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
= 0;
29940 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29942 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 PyObject
* obj1
= 0 ;
29947 char * kwnames
[] = {
29948 (char *) "self",(char *) "points", NULL
29951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29953 if (!SWIG_IsOK(res1
)) {
29954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29956 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29958 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29959 if (arg3
== NULL
) SWIG_fail
;
29962 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= SWIG_Py_Void();
29967 if (arg3
) delete [] arg3
;
29972 if (arg3
) delete [] arg3
;
29978 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
= 0;
29980 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29981 PyObject
*arg2
= (PyObject
*) 0 ;
29982 PyObject
*arg3
= (PyObject
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 PyObject
* obj2
= 0 ;
29988 char * kwnames
[] = {
29989 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29994 if (!SWIG_IsOK(res1
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30001 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_Py_Void();
30011 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30015 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30016 int arg4
= (int) wxWINDING_RULE
;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 PyObject
* obj2
= 0 ;
30024 char * kwnames
[] = {
30025 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30033 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30035 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30036 if (arg3
== NULL
) SWIG_fail
;
30039 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30040 if (!SWIG_IsOK(ecode4
)) {
30041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30043 arg4
= static_cast< int >(val4
);
30046 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= SWIG_Py_Void();
30051 if (arg3
) delete [] arg3
;
30056 if (arg3
) delete [] arg3
;
30062 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 PyObject
* obj2
= 0 ;
30082 PyObject
* obj3
= 0 ;
30083 PyObject
* obj4
= 0 ;
30084 char * kwnames
[] = {
30085 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30090 if (!SWIG_IsOK(res1
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30093 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30094 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30095 if (!SWIG_IsOK(ecode2
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30098 arg2
= static_cast< wxDouble
>(val2
);
30099 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30100 if (!SWIG_IsOK(ecode3
)) {
30101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30103 arg3
= static_cast< wxDouble
>(val3
);
30104 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30105 if (!SWIG_IsOK(ecode4
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30108 arg4
= static_cast< wxDouble
>(val4
);
30109 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30110 if (!SWIG_IsOK(ecode5
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30113 arg5
= static_cast< wxDouble
>(val5
);
30115 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_Py_Void();
30125 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
= 0;
30127 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30142 PyObject
* obj0
= 0 ;
30143 PyObject
* obj1
= 0 ;
30144 PyObject
* obj2
= 0 ;
30145 PyObject
* obj3
= 0 ;
30146 PyObject
* obj4
= 0 ;
30147 char * kwnames
[] = {
30148 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30156 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30157 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30158 if (!SWIG_IsOK(ecode2
)) {
30159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30161 arg2
= static_cast< wxDouble
>(val2
);
30162 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30163 if (!SWIG_IsOK(ecode3
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30166 arg3
= static_cast< wxDouble
>(val3
);
30167 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30168 if (!SWIG_IsOK(ecode4
)) {
30169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30171 arg4
= static_cast< wxDouble
>(val4
);
30172 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30173 if (!SWIG_IsOK(ecode5
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30176 arg5
= static_cast< wxDouble
>(val5
);
30178 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= SWIG_Py_Void();
30188 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
= 0;
30190 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 PyObject
* obj2
= 0 ;
30211 PyObject
* obj3
= 0 ;
30212 PyObject
* obj4
= 0 ;
30213 PyObject
* obj5
= 0 ;
30214 char * kwnames
[] = {
30215 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30220 if (!SWIG_IsOK(res1
)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30223 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30224 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30225 if (!SWIG_IsOK(ecode2
)) {
30226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30228 arg2
= static_cast< wxDouble
>(val2
);
30229 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30230 if (!SWIG_IsOK(ecode3
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30233 arg3
= static_cast< wxDouble
>(val3
);
30234 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30235 if (!SWIG_IsOK(ecode4
)) {
30236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30238 arg4
= static_cast< wxDouble
>(val4
);
30239 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30240 if (!SWIG_IsOK(ecode5
)) {
30241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30243 arg5
= static_cast< wxDouble
>(val5
);
30244 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30245 if (!SWIG_IsOK(ecode6
)) {
30246 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30248 arg6
= static_cast< wxDouble
>(val6
);
30250 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_Py_Void();
30260 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30261 PyObject
*resultobj
= 0;
30262 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30266 PyObject
*swig_obj
[1] ;
30268 if (!args
) SWIG_fail
;
30269 swig_obj
[0] = args
;
30270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30274 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30276 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30277 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30288 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30291 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30292 return SWIG_Py_Void();
30295 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30296 PyObject
*resultobj
= 0;
30297 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30300 PyObject
*swig_obj
[1] ;
30302 if (!args
) SWIG_fail
;
30303 swig_obj
[0] = args
;
30304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30305 if (!SWIG_IsOK(res1
)) {
30306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30308 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= SWIG_Py_Void();
30321 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30322 PyObject
*resultobj
= 0;
30323 wxGraphicsRenderer
*result
= 0 ;
30325 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30327 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30328 if (PyErr_Occurred()) SWIG_fail
;
30330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30337 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30338 PyObject
*resultobj
= 0;
30339 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30340 wxWindowDC
*arg2
= 0 ;
30341 wxGraphicsContext
*result
= 0 ;
30347 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30352 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30353 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30354 if (!SWIG_IsOK(res2
)) {
30355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30360 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30362 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30372 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30373 PyObject
*resultobj
= 0;
30374 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30375 wxWindow
*arg2
= (wxWindow
*) 0 ;
30376 wxGraphicsContext
*result
= 0 ;
30382 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30384 if (!SWIG_IsOK(res1
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30387 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30388 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30389 if (!SWIG_IsOK(res2
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30392 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30394 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30404 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30408 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30413 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30414 _v
= SWIG_CheckState(res
);
30416 if (!_v
) goto check_1
;
30417 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30422 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30426 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30431 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
= 0;
30433 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30434 void *arg2
= (void *) 0 ;
30435 wxGraphicsContext
*result
= 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char * kwnames
[] = {
30442 (char *) "self",(char *) "context", NULL
30445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30447 if (!SWIG_IsOK(res1
)) {
30448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30450 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30451 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30452 if (!SWIG_IsOK(res2
)) {
30453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30456 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30466 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
= 0;
30468 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30469 void *arg2
= (void *) 0 ;
30470 wxGraphicsContext
*result
= 0 ;
30474 PyObject
* obj0
= 0 ;
30475 PyObject
* obj1
= 0 ;
30476 char * kwnames
[] = {
30477 (char *) "self",(char *) "window", NULL
30480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30482 if (!SWIG_IsOK(res1
)) {
30483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30485 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30486 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30487 if (!SWIG_IsOK(res2
)) {
30488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30491 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30501 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30502 PyObject
*resultobj
= 0;
30503 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30504 wxGraphicsPath result
;
30507 PyObject
*swig_obj
[1] ;
30509 if (!args
) SWIG_fail
;
30510 swig_obj
[0] = args
;
30511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30515 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30517 result
= (arg1
)->CreatePath();
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30527 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
= 0;
30529 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30530 wxDouble arg2
= (wxDouble
) 1.0 ;
30531 wxDouble arg3
= (wxDouble
) 0.0 ;
30532 wxDouble arg4
= (wxDouble
) 0.0 ;
30533 wxDouble arg5
= (wxDouble
) 1.0 ;
30534 wxDouble arg6
= (wxDouble
) 0.0 ;
30535 wxDouble arg7
= (wxDouble
) 0.0 ;
30536 wxGraphicsMatrix result
;
30551 PyObject
* obj0
= 0 ;
30552 PyObject
* obj1
= 0 ;
30553 PyObject
* obj2
= 0 ;
30554 PyObject
* obj3
= 0 ;
30555 PyObject
* obj4
= 0 ;
30556 PyObject
* obj5
= 0 ;
30557 PyObject
* obj6
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30567 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30569 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30570 if (!SWIG_IsOK(ecode2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30573 arg2
= static_cast< wxDouble
>(val2
);
30576 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30577 if (!SWIG_IsOK(ecode3
)) {
30578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30580 arg3
= static_cast< wxDouble
>(val3
);
30583 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30584 if (!SWIG_IsOK(ecode4
)) {
30585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30587 arg4
= static_cast< wxDouble
>(val4
);
30590 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30591 if (!SWIG_IsOK(ecode5
)) {
30592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30594 arg5
= static_cast< wxDouble
>(val5
);
30597 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30598 if (!SWIG_IsOK(ecode6
)) {
30599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30601 arg6
= static_cast< wxDouble
>(val6
);
30604 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30605 if (!SWIG_IsOK(ecode7
)) {
30606 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30608 arg7
= static_cast< wxDouble
>(val7
);
30611 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30614 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30621 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30622 PyObject
*resultobj
= 0;
30623 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30625 wxGraphicsPen result
;
30630 PyObject
* obj0
= 0 ;
30631 PyObject
* obj1
= 0 ;
30632 char * kwnames
[] = {
30633 (char *) "self",(char *) "pen", NULL
30636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30638 if (!SWIG_IsOK(res1
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30641 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30643 if (!SWIG_IsOK(res2
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30649 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30651 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30661 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
= 0;
30663 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30664 wxBrush
*arg2
= 0 ;
30665 wxGraphicsBrush result
;
30670 PyObject
* obj0
= 0 ;
30671 PyObject
* obj1
= 0 ;
30672 char * kwnames
[] = {
30673 (char *) "self",(char *) "brush", NULL
30676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30678 if (!SWIG_IsOK(res1
)) {
30679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30681 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30683 if (!SWIG_IsOK(res2
)) {
30684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30689 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30691 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30701 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
= 0;
30703 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30708 wxColour
*arg6
= 0 ;
30709 wxColour
*arg7
= 0 ;
30710 wxGraphicsBrush result
;
30723 PyObject
* obj0
= 0 ;
30724 PyObject
* obj1
= 0 ;
30725 PyObject
* obj2
= 0 ;
30726 PyObject
* obj3
= 0 ;
30727 PyObject
* obj4
= 0 ;
30728 PyObject
* obj5
= 0 ;
30729 PyObject
* obj6
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30739 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30740 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30741 if (!SWIG_IsOK(ecode2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30744 arg2
= static_cast< wxDouble
>(val2
);
30745 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30746 if (!SWIG_IsOK(ecode3
)) {
30747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30749 arg3
= static_cast< wxDouble
>(val3
);
30750 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30751 if (!SWIG_IsOK(ecode4
)) {
30752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30754 arg4
= static_cast< wxDouble
>(val4
);
30755 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30756 if (!SWIG_IsOK(ecode5
)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30759 arg5
= static_cast< wxDouble
>(val5
);
30762 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30766 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30769 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30779 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
= 0;
30781 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30787 wxColour
*arg7
= 0 ;
30788 wxColour
*arg8
= 0 ;
30789 wxGraphicsBrush result
;
30804 PyObject
* obj0
= 0 ;
30805 PyObject
* obj1
= 0 ;
30806 PyObject
* obj2
= 0 ;
30807 PyObject
* obj3
= 0 ;
30808 PyObject
* obj4
= 0 ;
30809 PyObject
* obj5
= 0 ;
30810 PyObject
* obj6
= 0 ;
30811 PyObject
* obj7
= 0 ;
30812 char * kwnames
[] = {
30813 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30821 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30823 if (!SWIG_IsOK(ecode2
)) {
30824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30826 arg2
= static_cast< wxDouble
>(val2
);
30827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30828 if (!SWIG_IsOK(ecode3
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30831 arg3
= static_cast< wxDouble
>(val3
);
30832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30833 if (!SWIG_IsOK(ecode4
)) {
30834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30836 arg4
= static_cast< wxDouble
>(val4
);
30837 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30838 if (!SWIG_IsOK(ecode5
)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30841 arg5
= static_cast< wxDouble
>(val5
);
30842 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30843 if (!SWIG_IsOK(ecode6
)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30846 arg6
= static_cast< wxDouble
>(val6
);
30849 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30853 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30856 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30866 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30867 PyObject
*resultobj
= 0;
30868 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30870 wxColour
const &arg3_defvalue
= *wxBLACK
;
30871 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30872 wxGraphicsFont result
;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 PyObject
* obj2
= 0 ;
30881 char * kwnames
[] = {
30882 (char *) "self",(char *) "font",(char *) "col", NULL
30885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30887 if (!SWIG_IsOK(res1
)) {
30888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30890 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30892 if (!SWIG_IsOK(res2
)) {
30893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30898 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30902 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30906 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30916 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30919 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30920 return SWIG_Py_Void();
30923 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30924 PyObject
*resultobj
= 0;
30925 wxWindowDC
*arg1
= 0 ;
30926 wxGCDC
*result
= 0 ;
30929 PyObject
* obj0
= 0 ;
30930 char * kwnames
[] = {
30931 (char *) "dc", NULL
30934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30935 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30936 if (!SWIG_IsOK(res1
)) {
30937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30942 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30944 if (!wxPyCheckForApp()) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30957 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30958 PyObject
*resultobj
= 0;
30959 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30962 PyObject
*swig_obj
[1] ;
30964 if (!args
) SWIG_fail
;
30965 swig_obj
[0] = args
;
30966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30970 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_Py_Void();
30983 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30984 PyObject
*resultobj
= 0;
30985 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30986 wxGraphicsContext
*result
= 0 ;
30989 PyObject
*swig_obj
[1] ;
30991 if (!args
) SWIG_fail
;
30992 swig_obj
[0] = args
;
30993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30997 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30999 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31009 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= 0;
31011 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31012 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31017 PyObject
* obj0
= 0 ;
31018 PyObject
* obj1
= 0 ;
31019 char * kwnames
[] = {
31020 (char *) "self",(char *) "ctx", NULL
31023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31025 if (!SWIG_IsOK(res1
)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31028 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31030 if (!SWIG_IsOK(res2
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31033 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31035 (arg1
)->SetGraphicsContext(arg2
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_Py_Void();
31045 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31048 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31049 return SWIG_Py_Void();
31052 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31053 return SWIG_Python_InitShadowInstance(args
);
31056 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31057 PyObject
*resultobj
= 0;
31058 wxOverlay
*result
= 0 ;
31060 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (wxOverlay
*)new wxOverlay();
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31074 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31075 PyObject
*resultobj
= 0;
31076 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31079 PyObject
*swig_obj
[1] ;
31081 if (!args
) SWIG_fail
;
31082 swig_obj
[0] = args
;
31083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31084 if (!SWIG_IsOK(res1
)) {
31085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31087 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= SWIG_Py_Void();
31102 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31103 PyObject
*resultobj
= 0;
31104 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31107 PyObject
*swig_obj
[1] ;
31109 if (!args
) SWIG_fail
;
31110 swig_obj
[0] = args
;
31111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31112 if (!SWIG_IsOK(res1
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31115 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= SWIG_Py_Void();
31129 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31132 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31133 return SWIG_Py_Void();
31136 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31137 return SWIG_Python_InitShadowInstance(args
);
31140 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31141 PyObject
*resultobj
= 0;
31142 wxOverlay
*arg1
= 0 ;
31143 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31148 wxDCOverlay
*result
= 0 ;
31162 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31170 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31171 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31172 if (!SWIG_IsOK(res2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31175 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31176 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31177 if (!SWIG_IsOK(ecode3
)) {
31178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31180 arg3
= static_cast< int >(val3
);
31181 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31182 if (!SWIG_IsOK(ecode4
)) {
31183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31185 arg4
= static_cast< int >(val4
);
31186 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31187 if (!SWIG_IsOK(ecode5
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31190 arg5
= static_cast< int >(val5
);
31191 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31192 if (!SWIG_IsOK(ecode6
)) {
31193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31195 arg6
= static_cast< int >(val6
);
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31209 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31210 PyObject
*resultobj
= 0;
31211 wxOverlay
*arg1
= 0 ;
31212 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31213 wxDCOverlay
*result
= 0 ;
31219 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31227 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31228 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31229 if (!SWIG_IsOK(res2
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31232 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31246 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31250 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31253 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31256 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31260 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31265 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31266 PyObject
*resultobj
= 0;
31267 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31270 PyObject
*swig_obj
[1] ;
31272 if (!args
) SWIG_fail
;
31273 swig_obj
[0] = args
;
31274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31275 if (!SWIG_IsOK(res1
)) {
31276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31278 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 wxPyEndAllowThreads(__tstate
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= SWIG_Py_Void();
31293 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31294 PyObject
*resultobj
= 0;
31295 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31298 PyObject
*swig_obj
[1] ;
31300 if (!args
) SWIG_fail
;
31301 swig_obj
[0] = args
;
31302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31303 if (!SWIG_IsOK(res1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31306 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= SWIG_Py_Void();
31320 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31323 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31324 return SWIG_Py_Void();
31327 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31328 return SWIG_Python_InitShadowInstance(args
);
31331 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31335 int arg3
= (int) true ;
31336 int arg4
= (int) 1 ;
31337 wxImageList
*result
= 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 PyObject
* obj3
= 0 ;
31350 char * kwnames
[] = {
31351 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31355 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31356 if (!SWIG_IsOK(ecode1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31359 arg1
= static_cast< int >(val1
);
31360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31361 if (!SWIG_IsOK(ecode2
)) {
31362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31364 arg2
= static_cast< int >(val2
);
31366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31367 if (!SWIG_IsOK(ecode3
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31370 arg3
= static_cast< int >(val3
);
31373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31374 if (!SWIG_IsOK(ecode4
)) {
31375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31377 arg4
= static_cast< int >(val4
);
31380 if (!wxPyCheckForApp()) SWIG_fail
;
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31393 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31394 PyObject
*resultobj
= 0;
31395 wxImageList
*arg1
= (wxImageList
*) 0 ;
31398 PyObject
*swig_obj
[1] ;
31400 if (!args
) SWIG_fail
;
31401 swig_obj
[0] = args
;
31402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31406 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_Py_Void();
31421 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxImageList
*arg1
= (wxImageList
*) 0 ;
31424 wxBitmap
*arg2
= 0 ;
31425 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31426 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 char * kwnames
[] = {
31438 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31443 if (!SWIG_IsOK(res1
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31446 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31448 if (!SWIG_IsOK(res2
)) {
31449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31454 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31456 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31457 if (!SWIG_IsOK(res3
)) {
31458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31463 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= SWIG_From_int(static_cast< int >(result
));
31478 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31479 PyObject
*resultobj
= 0;
31480 wxImageList
*arg1
= (wxImageList
*) 0 ;
31481 wxBitmap
*arg2
= 0 ;
31482 wxColour
*arg3
= 0 ;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 PyObject
* obj2
= 0 ;
31492 char * kwnames
[] = {
31493 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31498 if (!SWIG_IsOK(res1
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31501 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31503 if (!SWIG_IsOK(res2
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31509 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31512 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_From_int(static_cast< int >(result
));
31527 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxImageList
*arg1
= (wxImageList
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char * kwnames
[] = {
31539 (char *) "self",(char *) "icon", NULL
31542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31547 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31549 if (!SWIG_IsOK(res2
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31555 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= SWIG_From_int(static_cast< int >(result
));
31569 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
= 0;
31571 wxImageList
*arg1
= (wxImageList
*) 0 ;
31573 SwigValueWrapper
<wxBitmap
> result
;
31578 PyObject
* obj0
= 0 ;
31579 PyObject
* obj1
= 0 ;
31580 char * kwnames
[] = {
31581 (char *) "self",(char *) "index", NULL
31584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31586 if (!SWIG_IsOK(res1
)) {
31587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31589 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31591 if (!SWIG_IsOK(ecode2
)) {
31592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31594 arg2
= static_cast< int >(val2
);
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31608 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
= 0;
31610 wxImageList
*arg1
= (wxImageList
*) 0 ;
31617 PyObject
* obj0
= 0 ;
31618 PyObject
* obj1
= 0 ;
31619 char * kwnames
[] = {
31620 (char *) "self",(char *) "index", NULL
31623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31625 if (!SWIG_IsOK(res1
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31628 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31630 if (!SWIG_IsOK(ecode2
)) {
31631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31633 arg2
= static_cast< int >(val2
);
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31647 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
= 0;
31649 wxImageList
*arg1
= (wxImageList
*) 0 ;
31651 wxBitmap
*arg3
= 0 ;
31652 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31653 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31663 PyObject
* obj0
= 0 ;
31664 PyObject
* obj1
= 0 ;
31665 PyObject
* obj2
= 0 ;
31666 PyObject
* obj3
= 0 ;
31667 char * kwnames
[] = {
31668 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31673 if (!SWIG_IsOK(res1
)) {
31674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31676 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31678 if (!SWIG_IsOK(ecode2
)) {
31679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31681 arg2
= static_cast< int >(val2
);
31682 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31683 if (!SWIG_IsOK(res3
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31689 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31691 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31692 if (!SWIG_IsOK(res4
)) {
31693 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31698 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31715 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
= 0;
31717 wxImageList
*arg1
= (wxImageList
*) 0 ;
31722 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31723 bool arg7
= (bool) (bool)false ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 PyObject
* obj2
= 0 ;
31742 PyObject
* obj3
= 0 ;
31743 PyObject
* obj4
= 0 ;
31744 PyObject
* obj5
= 0 ;
31745 PyObject
* obj6
= 0 ;
31746 char * kwnames
[] = {
31747 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31752 if (!SWIG_IsOK(res1
)) {
31753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31755 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31757 if (!SWIG_IsOK(ecode2
)) {
31758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31760 arg2
= static_cast< int >(val2
);
31761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31762 if (!SWIG_IsOK(res3
)) {
31763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31768 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31770 if (!SWIG_IsOK(ecode4
)) {
31771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31773 arg4
= static_cast< int >(val4
);
31774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31775 if (!SWIG_IsOK(ecode5
)) {
31776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31778 arg5
= static_cast< int >(val5
);
31780 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31781 if (!SWIG_IsOK(ecode6
)) {
31782 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31784 arg6
= static_cast< int >(val6
);
31787 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31788 if (!SWIG_IsOK(ecode7
)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31791 arg7
= static_cast< bool >(val7
);
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31808 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31809 PyObject
*resultobj
= 0;
31810 wxImageList
*arg1
= (wxImageList
*) 0 ;
31814 PyObject
*swig_obj
[1] ;
31816 if (!args
) SWIG_fail
;
31817 swig_obj
[0] = args
;
31818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31819 if (!SWIG_IsOK(res1
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31822 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 result
= (int)(arg1
)->GetImageCount();
31826 wxPyEndAllowThreads(__tstate
);
31827 if (PyErr_Occurred()) SWIG_fail
;
31829 resultobj
= SWIG_From_int(static_cast< int >(result
));
31836 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
= 0;
31838 wxImageList
*arg1
= (wxImageList
*) 0 ;
31845 PyObject
* obj0
= 0 ;
31846 PyObject
* obj1
= 0 ;
31847 char * kwnames
[] = {
31848 (char *) "self",(char *) "index", NULL
31851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31853 if (!SWIG_IsOK(res1
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31856 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31858 if (!SWIG_IsOK(ecode2
)) {
31859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31861 arg2
= static_cast< int >(val2
);
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 result
= (bool)(arg1
)->Remove(arg2
);
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31877 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31878 PyObject
*resultobj
= 0;
31879 wxImageList
*arg1
= (wxImageList
*) 0 ;
31883 PyObject
*swig_obj
[1] ;
31885 if (!args
) SWIG_fail
;
31886 swig_obj
[0] = args
;
31887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31891 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 result
= (bool)(arg1
)->RemoveAll();
31895 wxPyEndAllowThreads(__tstate
);
31896 if (PyErr_Occurred()) SWIG_fail
;
31899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31907 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= 0;
31909 wxImageList
*arg1
= (wxImageList
*) 0 ;
31918 int res3
= SWIG_TMPOBJ
;
31920 int res4
= SWIG_TMPOBJ
;
31921 PyObject
* obj0
= 0 ;
31922 PyObject
* obj1
= 0 ;
31923 char * kwnames
[] = {
31924 (char *) "self",(char *) "index", NULL
31929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31931 if (!SWIG_IsOK(res1
)) {
31932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31934 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31936 if (!SWIG_IsOK(ecode2
)) {
31937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31939 arg2
= static_cast< int >(val2
);
31941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31942 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= SWIG_Py_Void();
31947 if (SWIG_IsTmpObj(res3
)) {
31948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31953 if (SWIG_IsTmpObj(res4
)) {
31954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31956 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31965 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31968 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31969 return SWIG_Py_Void();
31972 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31973 return SWIG_Python_InitShadowInstance(args
);
31976 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31977 PyObject
*resultobj
= 0;
31978 wxStockGDI
*result
= 0 ;
31980 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (wxStockGDI
*)new wxStockGDI();
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31994 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31995 PyObject
*resultobj
= 0;
31996 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31999 PyObject
*swig_obj
[1] ;
32001 if (!args
) SWIG_fail
;
32002 swig_obj
[0] = args
;
32003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32004 if (!SWIG_IsOK(res1
)) {
32005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32007 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= SWIG_Py_Void();
32022 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32023 PyObject
*resultobj
= 0;
32025 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 wxStockGDI::DeleteAll();
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32032 resultobj
= SWIG_Py_Void();
32039 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32040 PyObject
*resultobj
= 0;
32041 wxStockGDI
*result
= 0 ;
32043 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32048 result
= (wxStockGDI
*) &_result_ref
;
32050 wxPyEndAllowThreads(__tstate
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32060 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
= 0;
32062 wxStockGDI::Item arg1
;
32063 wxBrush
*result
= 0 ;
32066 PyObject
* obj0
= 0 ;
32067 char * kwnames
[] = {
32068 (char *) "item", NULL
32071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32073 if (!SWIG_IsOK(ecode1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32076 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32090 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
= 0;
32092 wxStockGDI::Item arg1
;
32093 wxColour
*result
= 0 ;
32096 PyObject
* obj0
= 0 ;
32097 char * kwnames
[] = {
32098 (char *) "item", NULL
32101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32102 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32103 if (!SWIG_IsOK(ecode1
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32106 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32120 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
= 0;
32122 wxStockGDI::Item arg1
;
32123 wxCursor
*result
= 0 ;
32126 PyObject
* obj0
= 0 ;
32127 char * kwnames
[] = {
32128 (char *) "item", NULL
32131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32132 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32133 if (!SWIG_IsOK(ecode1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32136 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32150 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
= 0;
32152 wxStockGDI::Item arg1
;
32153 wxPen
*result
= 0 ;
32156 PyObject
* obj0
= 0 ;
32157 char * kwnames
[] = {
32158 (char *) "item", NULL
32161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32163 if (!SWIG_IsOK(ecode1
)) {
32164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32166 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32180 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32181 PyObject
*resultobj
= 0;
32182 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32183 wxStockGDI::Item arg2
;
32184 wxFont
*result
= 0 ;
32189 PyObject
* obj0
= 0 ;
32190 PyObject
* obj1
= 0 ;
32191 char * kwnames
[] = {
32192 (char *) "self",(char *) "item", NULL
32195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32197 if (!SWIG_IsOK(res1
)) {
32198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32200 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32202 if (!SWIG_IsOK(ecode2
)) {
32203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32205 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32208 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32219 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32222 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32223 return SWIG_Py_Void();
32226 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32227 return SWIG_Python_InitShadowInstance(args
);
32230 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32231 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32236 SWIGINTERN PyObject
*NullBitmap_get(void) {
32237 PyObject
*pyobj
= 0;
32239 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32244 SWIGINTERN
int NullIcon_set(PyObject
*) {
32245 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32250 SWIGINTERN PyObject
*NullIcon_get(void) {
32251 PyObject
*pyobj
= 0;
32253 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32258 SWIGINTERN
int NullCursor_set(PyObject
*) {
32259 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32264 SWIGINTERN PyObject
*NullCursor_get(void) {
32265 PyObject
*pyobj
= 0;
32267 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32272 SWIGINTERN
int NullPen_set(PyObject
*) {
32273 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32278 SWIGINTERN PyObject
*NullPen_get(void) {
32279 PyObject
*pyobj
= 0;
32281 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32286 SWIGINTERN
int NullBrush_set(PyObject
*) {
32287 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32292 SWIGINTERN PyObject
*NullBrush_get(void) {
32293 PyObject
*pyobj
= 0;
32295 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32300 SWIGINTERN
int NullPalette_set(PyObject
*) {
32301 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32306 SWIGINTERN PyObject
*NullPalette_get(void) {
32307 PyObject
*pyobj
= 0;
32309 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32314 SWIGINTERN
int NullFont_set(PyObject
*) {
32315 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32320 SWIGINTERN PyObject
*NullFont_get(void) {
32321 PyObject
*pyobj
= 0;
32323 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32328 SWIGINTERN
int NullColour_set(PyObject
*) {
32329 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32334 SWIGINTERN PyObject
*NullColour_get(void) {
32335 PyObject
*pyobj
= 0;
32337 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32342 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32343 PyObject
*resultobj
= 0;
32344 wxGDIObjListBase
*result
= 0 ;
32346 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32350 wxPyEndAllowThreads(__tstate
);
32351 if (PyErr_Occurred()) SWIG_fail
;
32353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32360 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32361 PyObject
*resultobj
= 0;
32362 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32365 PyObject
*swig_obj
[1] ;
32367 if (!args
) SWIG_fail
;
32368 swig_obj
[0] = args
;
32369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32370 if (!SWIG_IsOK(res1
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32373 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 resultobj
= SWIG_Py_Void();
32388 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32391 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32392 return SWIG_Py_Void();
32395 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32396 return SWIG_Python_InitShadowInstance(args
);
32399 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
= 0;
32401 wxPenList
*arg1
= (wxPenList
*) 0 ;
32402 wxColour
*arg2
= 0 ;
32405 wxPen
*result
= 0 ;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 PyObject
* obj2
= 0 ;
32416 PyObject
* obj3
= 0 ;
32417 char * kwnames
[] = {
32418 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32423 if (!SWIG_IsOK(res1
)) {
32424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32426 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32432 if (!SWIG_IsOK(ecode3
)) {
32433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32435 arg3
= static_cast< int >(val3
);
32436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32437 if (!SWIG_IsOK(ecode4
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32440 arg4
= static_cast< int >(val4
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32454 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
= 0;
32456 wxPenList
*arg1
= (wxPenList
*) 0 ;
32457 wxPen
*arg2
= (wxPen
*) 0 ;
32462 PyObject
* obj0
= 0 ;
32463 PyObject
* obj1
= 0 ;
32464 char * kwnames
[] = {
32465 (char *) "self",(char *) "pen", NULL
32468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32470 if (!SWIG_IsOK(res1
)) {
32471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32473 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32475 if (!SWIG_IsOK(res2
)) {
32476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32478 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32481 (arg1
)->AddPen(arg2
);
32482 wxPyEndAllowThreads(__tstate
);
32483 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= SWIG_Py_Void();
32492 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
= 0;
32494 wxPenList
*arg1
= (wxPenList
*) 0 ;
32495 wxPen
*arg2
= (wxPen
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 char * kwnames
[] = {
32503 (char *) "self",(char *) "pen", NULL
32506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32508 if (!SWIG_IsOK(res1
)) {
32509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32511 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32513 if (!SWIG_IsOK(res2
)) {
32514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32516 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 (arg1
)->RemovePen(arg2
);
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= SWIG_Py_Void();
32530 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32533 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32534 return SWIG_Py_Void();
32537 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
= 0;
32539 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32540 wxColour
*arg2
= 0 ;
32541 int arg3
= (int) wxSOLID
;
32542 wxBrush
*result
= 0 ;
32548 PyObject
* obj0
= 0 ;
32549 PyObject
* obj1
= 0 ;
32550 PyObject
* obj2
= 0 ;
32551 char * kwnames
[] = {
32552 (char *) "self",(char *) "colour",(char *) "style", NULL
32555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32557 if (!SWIG_IsOK(res1
)) {
32558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32560 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32563 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32567 if (!SWIG_IsOK(ecode3
)) {
32568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32570 arg3
= static_cast< int >(val3
);
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32585 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
= 0;
32587 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32588 wxBrush
*arg2
= (wxBrush
*) 0 ;
32593 PyObject
* obj0
= 0 ;
32594 PyObject
* obj1
= 0 ;
32595 char * kwnames
[] = {
32596 (char *) "self",(char *) "brush", NULL
32599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32601 if (!SWIG_IsOK(res1
)) {
32602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32604 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32606 if (!SWIG_IsOK(res2
)) {
32607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32609 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32612 (arg1
)->AddBrush(arg2
);
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32616 resultobj
= SWIG_Py_Void();
32623 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32624 PyObject
*resultobj
= 0;
32625 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32626 wxBrush
*arg2
= (wxBrush
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 PyObject
* obj1
= 0 ;
32633 char * kwnames
[] = {
32634 (char *) "self",(char *) "brush", NULL
32637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32639 if (!SWIG_IsOK(res1
)) {
32640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32642 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32644 if (!SWIG_IsOK(res2
)) {
32645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32647 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32650 (arg1
)->RemoveBrush(arg2
);
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= SWIG_Py_Void();
32661 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32664 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32665 return SWIG_Py_Void();
32668 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32669 PyObject
*resultobj
= 0;
32670 wxFontList
*arg1
= (wxFontList
*) 0 ;
32675 bool arg6
= (bool) false ;
32676 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32678 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32679 wxFont
*result
= 0 ;
32692 bool temp7
= false ;
32695 PyObject
* obj0
= 0 ;
32696 PyObject
* obj1
= 0 ;
32697 PyObject
* obj2
= 0 ;
32698 PyObject
* obj3
= 0 ;
32699 PyObject
* obj4
= 0 ;
32700 PyObject
* obj5
= 0 ;
32701 PyObject
* obj6
= 0 ;
32702 PyObject
* obj7
= 0 ;
32703 char * kwnames
[] = {
32704 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32709 if (!SWIG_IsOK(res1
)) {
32710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32712 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32714 if (!SWIG_IsOK(ecode2
)) {
32715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32717 arg2
= static_cast< int >(val2
);
32718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32719 if (!SWIG_IsOK(ecode3
)) {
32720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32722 arg3
= static_cast< int >(val3
);
32723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32724 if (!SWIG_IsOK(ecode4
)) {
32725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32727 arg4
= static_cast< int >(val4
);
32728 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32729 if (!SWIG_IsOK(ecode5
)) {
32730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32732 arg5
= static_cast< int >(val5
);
32734 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32735 if (!SWIG_IsOK(ecode6
)) {
32736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32738 arg6
= static_cast< bool >(val6
);
32742 arg7
= wxString_in_helper(obj6
);
32743 if (arg7
== NULL
) SWIG_fail
;
32748 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32749 if (!SWIG_IsOK(ecode8
)) {
32750 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32752 arg8
= static_cast< wxFontEncoding
>(val8
);
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32757 wxPyEndAllowThreads(__tstate
);
32758 if (PyErr_Occurred()) SWIG_fail
;
32760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32775 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32776 PyObject
*resultobj
= 0;
32777 wxFontList
*arg1
= (wxFontList
*) 0 ;
32778 wxFont
*arg2
= (wxFont
*) 0 ;
32783 PyObject
* obj0
= 0 ;
32784 PyObject
* obj1
= 0 ;
32785 char * kwnames
[] = {
32786 (char *) "self",(char *) "font", NULL
32789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32791 if (!SWIG_IsOK(res1
)) {
32792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32794 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32796 if (!SWIG_IsOK(res2
)) {
32797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32799 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 (arg1
)->AddFont(arg2
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= SWIG_Py_Void();
32813 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
= 0;
32815 wxFontList
*arg1
= (wxFontList
*) 0 ;
32816 wxFont
*arg2
= (wxFont
*) 0 ;
32821 PyObject
* obj0
= 0 ;
32822 PyObject
* obj1
= 0 ;
32823 char * kwnames
[] = {
32824 (char *) "self",(char *) "font", NULL
32827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32829 if (!SWIG_IsOK(res1
)) {
32830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32832 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32834 if (!SWIG_IsOK(res2
)) {
32835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32837 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 (arg1
)->RemoveFont(arg2
);
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_Py_Void();
32851 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32854 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32855 return SWIG_Py_Void();
32858 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32859 PyObject
*resultobj
= 0;
32860 wxColourDatabase
*result
= 0 ;
32862 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32864 if (!wxPyCheckForApp()) SWIG_fail
;
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 result
= (wxColourDatabase
*)new wxColourDatabase();
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32877 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32878 PyObject
*resultobj
= 0;
32879 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32882 PyObject
*swig_obj
[1] ;
32884 if (!args
) SWIG_fail
;
32885 swig_obj
[0] = args
;
32886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32887 if (!SWIG_IsOK(res1
)) {
32888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32890 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= SWIG_Py_Void();
32905 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32906 PyObject
*resultobj
= 0;
32907 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32908 wxString
*arg2
= 0 ;
32912 bool temp2
= false ;
32913 PyObject
* obj0
= 0 ;
32914 PyObject
* obj1
= 0 ;
32915 char * kwnames
[] = {
32916 (char *) "self",(char *) "name", NULL
32919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32921 if (!SWIG_IsOK(res1
)) {
32922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32924 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32926 arg2
= wxString_in_helper(obj1
);
32927 if (arg2
== NULL
) SWIG_fail
;
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32932 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32951 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32952 PyObject
*resultobj
= 0;
32953 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32954 wxColour
*arg2
= 0 ;
32959 PyObject
* obj0
= 0 ;
32960 PyObject
* obj1
= 0 ;
32961 char * kwnames
[] = {
32962 (char *) "self",(char *) "colour", NULL
32965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32970 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32977 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32994 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
= 0;
32996 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32997 wxString
*arg2
= 0 ;
32998 wxColour
*arg3
= 0 ;
33001 bool temp2
= false ;
33003 PyObject
* obj0
= 0 ;
33004 PyObject
* obj1
= 0 ;
33005 PyObject
* obj2
= 0 ;
33006 char * kwnames
[] = {
33007 (char *) "self",(char *) "name",(char *) "colour", NULL
33010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33012 if (!SWIG_IsOK(res1
)) {
33013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33015 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33017 arg2
= wxString_in_helper(obj1
);
33018 if (arg2
== NULL
) SWIG_fail
;
33023 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33027 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33031 resultobj
= SWIG_Py_Void();
33046 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33047 PyObject
*resultobj
= 0;
33048 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33049 wxString
*arg2
= 0 ;
33055 bool temp2
= false ;
33062 PyObject
* obj0
= 0 ;
33063 PyObject
* obj1
= 0 ;
33064 PyObject
* obj2
= 0 ;
33065 PyObject
* obj3
= 0 ;
33066 PyObject
* obj4
= 0 ;
33067 char * kwnames
[] = {
33068 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33073 if (!SWIG_IsOK(res1
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33076 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33078 arg2
= wxString_in_helper(obj1
);
33079 if (arg2
== NULL
) SWIG_fail
;
33082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33083 if (!SWIG_IsOK(ecode3
)) {
33084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33086 arg3
= static_cast< int >(val3
);
33087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33088 if (!SWIG_IsOK(ecode4
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33091 arg4
= static_cast< int >(val4
);
33092 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33093 if (!SWIG_IsOK(ecode5
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33096 arg5
= static_cast< int >(val5
);
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33103 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33121 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33122 return SWIG_Py_Void();
33125 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33126 return SWIG_Python_InitShadowInstance(args
);
33129 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33130 PyObject
*resultobj
= 0;
33131 wxFontList
*result
= 0 ;
33133 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 result
= (wxFontList
*)_wxPyInitTheFontList();
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33147 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33148 PyObject
*resultobj
= 0;
33149 wxPenList
*result
= 0 ;
33151 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 result
= (wxPenList
*)_wxPyInitThePenList();
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33165 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33166 PyObject
*resultobj
= 0;
33167 wxBrushList
*result
= 0 ;
33169 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33172 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33183 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33184 PyObject
*resultobj
= 0;
33185 wxColourDatabase
*result
= 0 ;
33187 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33191 wxPyEndAllowThreads(__tstate
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33201 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33202 PyObject
*resultobj
= 0;
33203 wxEffects
*result
= 0 ;
33205 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33208 result
= (wxEffects
*)new wxEffects();
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33219 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33220 PyObject
*resultobj
= 0;
33221 wxEffects
*arg1
= (wxEffects
*) 0 ;
33225 PyObject
*swig_obj
[1] ;
33227 if (!args
) SWIG_fail
;
33228 swig_obj
[0] = args
;
33229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33230 if (!SWIG_IsOK(res1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33233 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33247 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33248 PyObject
*resultobj
= 0;
33249 wxEffects
*arg1
= (wxEffects
*) 0 ;
33253 PyObject
*swig_obj
[1] ;
33255 if (!args
) SWIG_fail
;
33256 swig_obj
[0] = args
;
33257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33258 if (!SWIG_IsOK(res1
)) {
33259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33261 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33275 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33276 PyObject
*resultobj
= 0;
33277 wxEffects
*arg1
= (wxEffects
*) 0 ;
33281 PyObject
*swig_obj
[1] ;
33283 if (!args
) SWIG_fail
;
33284 swig_obj
[0] = args
;
33285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33286 if (!SWIG_IsOK(res1
)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33289 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33292 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33296 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33303 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33304 PyObject
*resultobj
= 0;
33305 wxEffects
*arg1
= (wxEffects
*) 0 ;
33309 PyObject
*swig_obj
[1] ;
33311 if (!args
) SWIG_fail
;
33312 swig_obj
[0] = args
;
33313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33314 if (!SWIG_IsOK(res1
)) {
33315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33317 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33320 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33331 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33332 PyObject
*resultobj
= 0;
33333 wxEffects
*arg1
= (wxEffects
*) 0 ;
33337 PyObject
*swig_obj
[1] ;
33339 if (!args
) SWIG_fail
;
33340 swig_obj
[0] = args
;
33341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33342 if (!SWIG_IsOK(res1
)) {
33343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33345 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33348 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33359 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
= 0;
33361 wxEffects
*arg1
= (wxEffects
*) 0 ;
33362 wxColour
*arg2
= 0 ;
33366 PyObject
* obj0
= 0 ;
33367 PyObject
* obj1
= 0 ;
33368 char * kwnames
[] = {
33369 (char *) "self",(char *) "c", NULL
33372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33374 if (!SWIG_IsOK(res1
)) {
33375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33377 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33380 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33384 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= SWIG_Py_Void();
33395 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33396 PyObject
*resultobj
= 0;
33397 wxEffects
*arg1
= (wxEffects
*) 0 ;
33398 wxColour
*arg2
= 0 ;
33402 PyObject
* obj0
= 0 ;
33403 PyObject
* obj1
= 0 ;
33404 char * kwnames
[] = {
33405 (char *) "self",(char *) "c", NULL
33408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33410 if (!SWIG_IsOK(res1
)) {
33411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33413 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33420 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= SWIG_Py_Void();
33431 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33432 PyObject
*resultobj
= 0;
33433 wxEffects
*arg1
= (wxEffects
*) 0 ;
33434 wxColour
*arg2
= 0 ;
33438 PyObject
* obj0
= 0 ;
33439 PyObject
* obj1
= 0 ;
33440 char * kwnames
[] = {
33441 (char *) "self",(char *) "c", NULL
33444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33446 if (!SWIG_IsOK(res1
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33449 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33456 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33457 wxPyEndAllowThreads(__tstate
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33460 resultobj
= SWIG_Py_Void();
33467 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33468 PyObject
*resultobj
= 0;
33469 wxEffects
*arg1
= (wxEffects
*) 0 ;
33470 wxColour
*arg2
= 0 ;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 char * kwnames
[] = {
33477 (char *) "self",(char *) "c", NULL
33480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33482 if (!SWIG_IsOK(res1
)) {
33483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33485 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= SWIG_Py_Void();
33503 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
= 0;
33505 wxEffects
*arg1
= (wxEffects
*) 0 ;
33506 wxColour
*arg2
= 0 ;
33510 PyObject
* obj0
= 0 ;
33511 PyObject
* obj1
= 0 ;
33512 char * kwnames
[] = {
33513 (char *) "self",(char *) "c", NULL
33516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33518 if (!SWIG_IsOK(res1
)) {
33519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33521 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33524 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= SWIG_Py_Void();
33539 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33540 PyObject
*resultobj
= 0;
33541 wxEffects
*arg1
= (wxEffects
*) 0 ;
33542 wxColour
*arg2
= 0 ;
33543 wxColour
*arg3
= 0 ;
33544 wxColour
*arg4
= 0 ;
33545 wxColour
*arg5
= 0 ;
33546 wxColour
*arg6
= 0 ;
33554 PyObject
* obj0
= 0 ;
33555 PyObject
* obj1
= 0 ;
33556 PyObject
* obj2
= 0 ;
33557 PyObject
* obj3
= 0 ;
33558 PyObject
* obj4
= 0 ;
33559 PyObject
* obj5
= 0 ;
33560 char * kwnames
[] = {
33561 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33569 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33576 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33580 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33584 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33588 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33596 resultobj
= SWIG_Py_Void();
33603 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33604 PyObject
*resultobj
= 0;
33605 wxEffects
*arg1
= (wxEffects
*) 0 ;
33608 int arg4
= (int) 1 ;
33616 PyObject
* obj0
= 0 ;
33617 PyObject
* obj1
= 0 ;
33618 PyObject
* obj2
= 0 ;
33619 PyObject
* obj3
= 0 ;
33620 char * kwnames
[] = {
33621 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33629 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33631 if (!SWIG_IsOK(res2
)) {
33632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33637 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33640 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33644 if (!SWIG_IsOK(ecode4
)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33647 arg4
= static_cast< int >(val4
);
33650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33651 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33655 resultobj
= SWIG_Py_Void();
33662 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33663 PyObject
*resultobj
= 0;
33664 wxEffects
*arg1
= (wxEffects
*) 0 ;
33667 wxBitmap
*arg4
= 0 ;
33676 PyObject
* obj0
= 0 ;
33677 PyObject
* obj1
= 0 ;
33678 PyObject
* obj2
= 0 ;
33679 PyObject
* obj3
= 0 ;
33680 char * kwnames
[] = {
33681 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33689 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33694 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33695 if (!SWIG_IsOK(res3
)) {
33696 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33701 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33702 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33703 if (!SWIG_IsOK(res4
)) {
33704 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33709 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33725 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33728 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33729 return SWIG_Py_Void();
33732 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33733 return SWIG_Python_InitShadowInstance(args
);
33736 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33737 PyObject
*resultobj
= 0;
33741 wxSplitterRenderParams
*result
= 0 ;
33748 PyObject
* obj0
= 0 ;
33749 PyObject
* obj1
= 0 ;
33750 PyObject
* obj2
= 0 ;
33751 char * kwnames
[] = {
33752 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33757 if (!SWIG_IsOK(ecode1
)) {
33758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33760 arg1
= static_cast< int >(val1
);
33761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33762 if (!SWIG_IsOK(ecode2
)) {
33763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33765 arg2
= static_cast< int >(val2
);
33766 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33767 if (!SWIG_IsOK(ecode3
)) {
33768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33770 arg3
= static_cast< bool >(val3
);
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33774 wxPyEndAllowThreads(__tstate
);
33775 if (PyErr_Occurred()) SWIG_fail
;
33777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33784 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33785 PyObject
*resultobj
= 0;
33786 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33789 PyObject
*swig_obj
[1] ;
33791 if (!args
) SWIG_fail
;
33792 swig_obj
[0] = args
;
33793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33794 if (!SWIG_IsOK(res1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33797 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 wxPyEndAllowThreads(__tstate
);
33803 if (PyErr_Occurred()) SWIG_fail
;
33805 resultobj
= SWIG_Py_Void();
33812 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33813 PyObject
*resultobj
= 0;
33814 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33818 PyObject
*swig_obj
[1] ;
33820 if (!args
) SWIG_fail
;
33821 swig_obj
[0] = args
;
33822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33823 if (!SWIG_IsOK(res1
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33826 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33827 result
= (int)(int) ((arg1
)->widthSash
);
33828 resultobj
= SWIG_From_int(static_cast< int >(result
));
33835 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33836 PyObject
*resultobj
= 0;
33837 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33841 PyObject
*swig_obj
[1] ;
33843 if (!args
) SWIG_fail
;
33844 swig_obj
[0] = args
;
33845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33849 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33850 result
= (int)(int) ((arg1
)->border
);
33851 resultobj
= SWIG_From_int(static_cast< int >(result
));
33858 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33859 PyObject
*resultobj
= 0;
33860 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33864 PyObject
*swig_obj
[1] ;
33866 if (!args
) SWIG_fail
;
33867 swig_obj
[0] = args
;
33868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33869 if (!SWIG_IsOK(res1
)) {
33870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33872 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33873 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33874 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33881 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33884 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33885 return SWIG_Py_Void();
33888 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33889 return SWIG_Python_InitShadowInstance(args
);
33892 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33893 PyObject
*resultobj
= 0;
33894 wxHeaderButtonParams
*result
= 0 ;
33896 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33910 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33911 PyObject
*resultobj
= 0;
33912 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33915 PyObject
*swig_obj
[1] ;
33917 if (!args
) SWIG_fail
;
33918 swig_obj
[0] = args
;
33919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33920 if (!SWIG_IsOK(res1
)) {
33921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33923 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33931 resultobj
= SWIG_Py_Void();
33938 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33939 PyObject
*resultobj
= 0;
33940 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33941 wxColour
*arg2
= (wxColour
*) 0 ;
33945 PyObject
*swig_obj
[2] ;
33947 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33952 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33955 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33957 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33959 resultobj
= SWIG_Py_Void();
33966 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33967 PyObject
*resultobj
= 0;
33968 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33969 wxColour
*result
= 0 ;
33972 PyObject
*swig_obj
[1] ;
33974 if (!args
) SWIG_fail
;
33975 swig_obj
[0] = args
;
33976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33977 if (!SWIG_IsOK(res1
)) {
33978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33980 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33981 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33989 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33990 PyObject
*resultobj
= 0;
33991 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33992 wxColour
*arg2
= (wxColour
*) 0 ;
33996 PyObject
*swig_obj
[2] ;
33998 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34003 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34006 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34008 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34010 resultobj
= SWIG_Py_Void();
34017 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34018 PyObject
*resultobj
= 0;
34019 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34020 wxColour
*result
= 0 ;
34023 PyObject
*swig_obj
[1] ;
34025 if (!args
) SWIG_fail
;
34026 swig_obj
[0] = args
;
34027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34028 if (!SWIG_IsOK(res1
)) {
34029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34031 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34032 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34040 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34041 PyObject
*resultobj
= 0;
34042 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34043 wxString
*arg2
= (wxString
*) 0 ;
34046 bool temp2
= false ;
34047 PyObject
*swig_obj
[2] ;
34049 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34051 if (!SWIG_IsOK(res1
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34054 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34056 arg2
= wxString_in_helper(swig_obj
[1]);
34057 if (arg2
== NULL
) SWIG_fail
;
34060 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34062 resultobj
= SWIG_Py_Void();
34077 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34078 PyObject
*resultobj
= 0;
34079 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34080 wxString
*result
= 0 ;
34083 PyObject
*swig_obj
[1] ;
34085 if (!args
) SWIG_fail
;
34086 swig_obj
[0] = args
;
34087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34088 if (!SWIG_IsOK(res1
)) {
34089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34091 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34092 result
= (wxString
*)& ((arg1
)->m_labelText
);
34095 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34097 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34106 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34107 PyObject
*resultobj
= 0;
34108 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34109 wxFont
*arg2
= (wxFont
*) 0 ;
34114 PyObject
*swig_obj
[2] ;
34116 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34121 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34122 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34123 if (!SWIG_IsOK(res2
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34126 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34127 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34129 resultobj
= SWIG_Py_Void();
34136 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34137 PyObject
*resultobj
= 0;
34138 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34139 wxFont
*result
= 0 ;
34142 PyObject
*swig_obj
[1] ;
34144 if (!args
) SWIG_fail
;
34145 swig_obj
[0] = args
;
34146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34150 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34151 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34159 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34160 PyObject
*resultobj
= 0;
34161 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34162 wxColour
*arg2
= (wxColour
*) 0 ;
34166 PyObject
*swig_obj
[2] ;
34168 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34173 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34176 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34178 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34180 resultobj
= SWIG_Py_Void();
34187 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34188 PyObject
*resultobj
= 0;
34189 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34190 wxColour
*result
= 0 ;
34193 PyObject
*swig_obj
[1] ;
34195 if (!args
) SWIG_fail
;
34196 swig_obj
[0] = args
;
34197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34198 if (!SWIG_IsOK(res1
)) {
34199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34201 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34202 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34210 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34211 PyObject
*resultobj
= 0;
34212 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34213 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34218 PyObject
*swig_obj
[2] ;
34220 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34222 if (!SWIG_IsOK(res1
)) {
34223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34225 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34226 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34227 if (!SWIG_IsOK(res2
)) {
34228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34230 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34231 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34233 resultobj
= SWIG_Py_Void();
34240 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34241 PyObject
*resultobj
= 0;
34242 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34243 wxBitmap
*result
= 0 ;
34246 PyObject
*swig_obj
[1] ;
34248 if (!args
) SWIG_fail
;
34249 swig_obj
[0] = args
;
34250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34254 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34255 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34263 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34264 PyObject
*resultobj
= 0;
34265 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34271 PyObject
*swig_obj
[2] ;
34273 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34275 if (!SWIG_IsOK(res1
)) {
34276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34278 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34279 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34280 if (!SWIG_IsOK(ecode2
)) {
34281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34283 arg2
= static_cast< int >(val2
);
34284 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34286 resultobj
= SWIG_Py_Void();
34293 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34294 PyObject
*resultobj
= 0;
34295 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34299 PyObject
*swig_obj
[1] ;
34301 if (!args
) SWIG_fail
;
34302 swig_obj
[0] = args
;
34303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34304 if (!SWIG_IsOK(res1
)) {
34305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34307 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34308 result
= (int) ((arg1
)->m_labelAlignment
);
34309 resultobj
= SWIG_From_int(static_cast< int >(result
));
34316 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34319 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34320 return SWIG_Py_Void();
34323 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34324 return SWIG_Python_InitShadowInstance(args
);
34327 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34328 PyObject
*resultobj
= 0;
34331 wxRendererVersion
*result
= 0 ;
34336 PyObject
* obj0
= 0 ;
34337 PyObject
* obj1
= 0 ;
34338 char * kwnames
[] = {
34339 (char *) "version_",(char *) "age_", NULL
34342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34344 if (!SWIG_IsOK(ecode1
)) {
34345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34347 arg1
= static_cast< int >(val1
);
34348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34349 if (!SWIG_IsOK(ecode2
)) {
34350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34352 arg2
= static_cast< int >(val2
);
34354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34355 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34366 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34367 PyObject
*resultobj
= 0;
34368 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34371 PyObject
*swig_obj
[1] ;
34373 if (!args
) SWIG_fail
;
34374 swig_obj
[0] = args
;
34375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34376 if (!SWIG_IsOK(res1
)) {
34377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34379 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_Py_Void();
34394 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxRendererVersion
*arg1
= 0 ;
34400 PyObject
* obj0
= 0 ;
34401 char * kwnames
[] = {
34402 (char *) "ver", NULL
34405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34406 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34413 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34429 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34430 PyObject
*resultobj
= 0;
34431 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34435 PyObject
*swig_obj
[1] ;
34437 if (!args
) SWIG_fail
;
34438 swig_obj
[0] = args
;
34439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34440 if (!SWIG_IsOK(res1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34443 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34444 result
= (int)(int) ((arg1
)->version
);
34445 resultobj
= SWIG_From_int(static_cast< int >(result
));
34452 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34453 PyObject
*resultobj
= 0;
34454 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34458 PyObject
*swig_obj
[1] ;
34460 if (!args
) SWIG_fail
;
34461 swig_obj
[0] = args
;
34462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34463 if (!SWIG_IsOK(res1
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34466 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34467 result
= (int)(int) ((arg1
)->age
);
34468 resultobj
= SWIG_From_int(static_cast< int >(result
));
34475 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34478 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34479 return SWIG_Py_Void();
34482 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34483 return SWIG_Python_InitShadowInstance(args
);
34486 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34487 PyObject
*resultobj
= 0;
34488 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34489 wxWindow
*arg2
= (wxWindow
*) 0 ;
34492 int arg5
= (int) 0 ;
34493 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34494 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 PyObject
* obj2
= 0 ;
34511 PyObject
* obj3
= 0 ;
34512 PyObject
* obj4
= 0 ;
34513 PyObject
* obj5
= 0 ;
34514 PyObject
* obj6
= 0 ;
34515 char * kwnames
[] = {
34516 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34521 if (!SWIG_IsOK(res1
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34524 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34525 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34526 if (!SWIG_IsOK(res2
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34529 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34530 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34531 if (!SWIG_IsOK(res3
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34537 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34540 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34544 if (!SWIG_IsOK(ecode5
)) {
34545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34547 arg5
= static_cast< int >(val5
);
34550 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34551 if (!SWIG_IsOK(ecode6
)) {
34552 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34554 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34557 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34558 if (!SWIG_IsOK(res7
)) {
34559 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34561 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 resultobj
= SWIG_Py_Void();
34576 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
= 0;
34578 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34579 wxWindow
*arg2
= (wxWindow
*) 0 ;
34582 int arg5
= (int) 0 ;
34583 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34584 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34598 PyObject
* obj0
= 0 ;
34599 PyObject
* obj1
= 0 ;
34600 PyObject
* obj2
= 0 ;
34601 PyObject
* obj3
= 0 ;
34602 PyObject
* obj4
= 0 ;
34603 PyObject
* obj5
= 0 ;
34604 PyObject
* obj6
= 0 ;
34605 char * kwnames
[] = {
34606 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34611 if (!SWIG_IsOK(res1
)) {
34612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34614 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34615 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34616 if (!SWIG_IsOK(res2
)) {
34617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34619 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34620 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34621 if (!SWIG_IsOK(res3
)) {
34622 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34627 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34630 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34633 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34634 if (!SWIG_IsOK(ecode5
)) {
34635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34637 arg5
= static_cast< int >(val5
);
34640 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34641 if (!SWIG_IsOK(ecode6
)) {
34642 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34644 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34647 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34648 if (!SWIG_IsOK(res7
)) {
34649 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34651 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= SWIG_Py_Void();
34666 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
= 0;
34668 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34669 wxWindow
*arg2
= (wxWindow
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 char * kwnames
[] = {
34678 (char *) "self",(char *) "win", NULL
34681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34683 if (!SWIG_IsOK(res1
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34686 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34688 if (!SWIG_IsOK(res2
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34694 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34695 wxPyEndAllowThreads(__tstate
);
34696 if (PyErr_Occurred()) SWIG_fail
;
34698 resultobj
= SWIG_From_int(static_cast< int >(result
));
34705 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34706 PyObject
*resultobj
= 0;
34707 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34708 wxWindow
*arg2
= (wxWindow
*) 0 ;
34711 int arg5
= (int) 0 ;
34721 PyObject
* obj0
= 0 ;
34722 PyObject
* obj1
= 0 ;
34723 PyObject
* obj2
= 0 ;
34724 PyObject
* obj3
= 0 ;
34725 PyObject
* obj4
= 0 ;
34726 char * kwnames
[] = {
34727 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34732 if (!SWIG_IsOK(res1
)) {
34733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34735 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34737 if (!SWIG_IsOK(res2
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34740 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34741 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34742 if (!SWIG_IsOK(res3
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34748 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34751 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34754 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34755 if (!SWIG_IsOK(ecode5
)) {
34756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34758 arg5
= static_cast< int >(val5
);
34761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34762 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 resultobj
= SWIG_Py_Void();
34773 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
= 0;
34775 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34776 wxWindow
*arg2
= (wxWindow
*) 0 ;
34779 int arg5
= (int) 0 ;
34789 PyObject
* obj0
= 0 ;
34790 PyObject
* obj1
= 0 ;
34791 PyObject
* obj2
= 0 ;
34792 PyObject
* obj3
= 0 ;
34793 PyObject
* obj4
= 0 ;
34794 char * kwnames
[] = {
34795 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34800 if (!SWIG_IsOK(res1
)) {
34801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34803 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34805 if (!SWIG_IsOK(res2
)) {
34806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34808 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34810 if (!SWIG_IsOK(res3
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34816 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34819 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34823 if (!SWIG_IsOK(ecode5
)) {
34824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34826 arg5
= static_cast< int >(val5
);
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= SWIG_Py_Void();
34841 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
= 0;
34843 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34844 wxWindow
*arg2
= (wxWindow
*) 0 ;
34848 wxOrientation arg6
;
34849 int arg7
= (int) 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 PyObject
* obj2
= 0 ;
34866 PyObject
* obj3
= 0 ;
34867 PyObject
* obj4
= 0 ;
34868 PyObject
* obj5
= 0 ;
34869 PyObject
* obj6
= 0 ;
34870 char * kwnames
[] = {
34871 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34876 if (!SWIG_IsOK(res1
)) {
34877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34879 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34881 if (!SWIG_IsOK(res2
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34885 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34886 if (!SWIG_IsOK(res3
)) {
34887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34892 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34895 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34898 if (!SWIG_IsOK(ecode5
)) {
34899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34901 arg5
= static_cast< int >(val5
);
34902 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34903 if (!SWIG_IsOK(ecode6
)) {
34904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34906 arg6
= static_cast< wxOrientation
>(val6
);
34908 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34909 if (!SWIG_IsOK(ecode7
)) {
34910 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34912 arg7
= static_cast< int >(val7
);
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= SWIG_Py_Void();
34927 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34930 wxWindow
*arg2
= (wxWindow
*) 0 ;
34933 int arg5
= (int) 0 ;
34943 PyObject
* obj0
= 0 ;
34944 PyObject
* obj1
= 0 ;
34945 PyObject
* obj2
= 0 ;
34946 PyObject
* obj3
= 0 ;
34947 PyObject
* obj4
= 0 ;
34948 char * kwnames
[] = {
34949 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34957 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34959 if (!SWIG_IsOK(res2
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34962 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34963 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34964 if (!SWIG_IsOK(res3
)) {
34965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34970 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34973 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34976 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34977 if (!SWIG_IsOK(ecode5
)) {
34978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34980 arg5
= static_cast< int >(val5
);
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34985 wxPyEndAllowThreads(__tstate
);
34986 if (PyErr_Occurred()) SWIG_fail
;
34988 resultobj
= SWIG_Py_Void();
34995 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34996 PyObject
*resultobj
= 0;
34997 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34998 wxWindow
*arg2
= (wxWindow
*) 0 ;
35001 int arg5
= (int) 0 ;
35011 PyObject
* obj0
= 0 ;
35012 PyObject
* obj1
= 0 ;
35013 PyObject
* obj2
= 0 ;
35014 PyObject
* obj3
= 0 ;
35015 PyObject
* obj4
= 0 ;
35016 char * kwnames
[] = {
35017 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35025 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35027 if (!SWIG_IsOK(res2
)) {
35028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35030 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35031 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35032 if (!SWIG_IsOK(res3
)) {
35033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35038 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35041 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35045 if (!SWIG_IsOK(ecode5
)) {
35046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35048 arg5
= static_cast< int >(val5
);
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35052 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35053 wxPyEndAllowThreads(__tstate
);
35054 if (PyErr_Occurred()) SWIG_fail
;
35056 resultobj
= SWIG_Py_Void();
35063 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35064 PyObject
*resultobj
= 0;
35065 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35066 wxWindow
*arg2
= (wxWindow
*) 0 ;
35069 int arg5
= (int) 0 ;
35079 PyObject
* obj0
= 0 ;
35080 PyObject
* obj1
= 0 ;
35081 PyObject
* obj2
= 0 ;
35082 PyObject
* obj3
= 0 ;
35083 PyObject
* obj4
= 0 ;
35084 char * kwnames
[] = {
35085 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35090 if (!SWIG_IsOK(res1
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35093 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35095 if (!SWIG_IsOK(res2
)) {
35096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35098 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35099 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35100 if (!SWIG_IsOK(res3
)) {
35101 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35106 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35109 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35113 if (!SWIG_IsOK(ecode5
)) {
35114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35116 arg5
= static_cast< int >(val5
);
35119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_Py_Void();
35131 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
= 0;
35133 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35134 wxWindow
*arg2
= (wxWindow
*) 0 ;
35137 int arg5
= (int) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 PyObject
* obj3
= 0 ;
35151 PyObject
* obj4
= 0 ;
35152 char * kwnames
[] = {
35153 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35158 if (!SWIG_IsOK(res1
)) {
35159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35161 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35163 if (!SWIG_IsOK(res2
)) {
35164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35166 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35167 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35168 if (!SWIG_IsOK(res3
)) {
35169 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35174 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35177 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35181 if (!SWIG_IsOK(ecode5
)) {
35182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35184 arg5
= static_cast< int >(val5
);
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35189 wxPyEndAllowThreads(__tstate
);
35190 if (PyErr_Occurred()) SWIG_fail
;
35192 resultobj
= SWIG_Py_Void();
35199 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35200 PyObject
*resultobj
= 0;
35201 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35202 wxWindow
*arg2
= (wxWindow
*) 0 ;
35205 int arg5
= (int) 0 ;
35215 PyObject
* obj0
= 0 ;
35216 PyObject
* obj1
= 0 ;
35217 PyObject
* obj2
= 0 ;
35218 PyObject
* obj3
= 0 ;
35219 PyObject
* obj4
= 0 ;
35220 char * kwnames
[] = {
35221 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35226 if (!SWIG_IsOK(res1
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35229 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35231 if (!SWIG_IsOK(res2
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35235 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35236 if (!SWIG_IsOK(res3
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35242 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35245 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35249 if (!SWIG_IsOK(ecode5
)) {
35250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35252 arg5
= static_cast< int >(val5
);
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_Py_Void();
35267 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35268 PyObject
*resultobj
= 0;
35269 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35270 wxWindow
*arg2
= (wxWindow
*) 0 ;
35271 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35276 PyObject
* obj0
= 0 ;
35277 PyObject
* obj1
= 0 ;
35278 char * kwnames
[] = {
35279 (char *) "self",(char *) "win", NULL
35282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35284 if (!SWIG_IsOK(res1
)) {
35285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35287 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35289 if (!SWIG_IsOK(res2
)) {
35290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35292 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35296 wxPyEndAllowThreads(__tstate
);
35297 if (PyErr_Occurred()) SWIG_fail
;
35299 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35306 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35307 PyObject
*resultobj
= 0;
35308 wxRendererNative
*result
= 0 ;
35310 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35312 if (!wxPyCheckForApp()) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35316 result
= (wxRendererNative
*) &_result_ref
;
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35328 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35329 PyObject
*resultobj
= 0;
35330 wxRendererNative
*result
= 0 ;
35332 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35334 if (!wxPyCheckForApp()) SWIG_fail
;
35335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35337 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35338 result
= (wxRendererNative
*) &_result_ref
;
35340 wxPyEndAllowThreads(__tstate
);
35341 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35350 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35351 PyObject
*resultobj
= 0;
35352 wxRendererNative
*result
= 0 ;
35354 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35356 if (!wxPyCheckForApp()) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35360 result
= (wxRendererNative
*) &_result_ref
;
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35372 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35373 PyObject
*resultobj
= 0;
35374 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35375 wxRendererNative
*result
= 0 ;
35378 PyObject
* obj0
= 0 ;
35379 char * kwnames
[] = {
35380 (char *) "renderer", NULL
35383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35385 if (!SWIG_IsOK(res1
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35388 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35390 if (!wxPyCheckForApp()) SWIG_fail
;
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35393 wxPyEndAllowThreads(__tstate
);
35394 if (PyErr_Occurred()) SWIG_fail
;
35396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35403 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35404 PyObject
*resultobj
= 0;
35405 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35406 SwigValueWrapper
<wxRendererVersion
> result
;
35409 PyObject
*swig_obj
[1] ;
35411 if (!args
) SWIG_fail
;
35412 swig_obj
[0] = args
;
35413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35414 if (!SWIG_IsOK(res1
)) {
35415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35417 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35420 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35421 wxPyEndAllowThreads(__tstate
);
35422 if (PyErr_Occurred()) SWIG_fail
;
35424 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35431 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35434 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35435 return SWIG_Py_Void();
35438 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35439 PyObject
*resultobj
= 0;
35440 wxPseudoDC
*result
= 0 ;
35442 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35445 result
= (wxPseudoDC
*)new wxPseudoDC();
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35456 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35457 PyObject
*resultobj
= 0;
35458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35461 PyObject
*swig_obj
[1] ;
35463 if (!args
) SWIG_fail
;
35464 swig_obj
[0] = args
;
35465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35466 if (!SWIG_IsOK(res1
)) {
35467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35469 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35472 (arg1
)->BeginDrawing();
35473 wxPyEndAllowThreads(__tstate
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 resultobj
= SWIG_Py_Void();
35483 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35484 PyObject
*resultobj
= 0;
35485 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35488 PyObject
*swig_obj
[1] ;
35490 if (!args
) SWIG_fail
;
35491 swig_obj
[0] = args
;
35492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35493 if (!SWIG_IsOK(res1
)) {
35494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 (arg1
)->EndDrawing();
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35503 resultobj
= SWIG_Py_Void();
35510 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35511 PyObject
*resultobj
= 0;
35512 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35515 PyObject
*swig_obj
[1] ;
35517 if (!args
) SWIG_fail
;
35518 swig_obj
[0] = args
;
35519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35520 if (!SWIG_IsOK(res1
)) {
35521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35523 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35531 resultobj
= SWIG_Py_Void();
35538 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35539 PyObject
*resultobj
= 0;
35540 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35543 PyObject
*swig_obj
[1] ;
35545 if (!args
) SWIG_fail
;
35546 swig_obj
[0] = args
;
35547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35548 if (!SWIG_IsOK(res1
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35554 (arg1
)->RemoveAll();
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35558 resultobj
= SWIG_Py_Void();
35565 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35566 PyObject
*resultobj
= 0;
35567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35571 PyObject
*swig_obj
[1] ;
35573 if (!args
) SWIG_fail
;
35574 swig_obj
[0] = args
;
35575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35576 if (!SWIG_IsOK(res1
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35579 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= (int)(arg1
)->GetLen();
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35586 resultobj
= SWIG_From_int(static_cast< int >(result
));
35593 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35594 PyObject
*resultobj
= 0;
35595 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35601 PyObject
* obj0
= 0 ;
35602 PyObject
* obj1
= 0 ;
35603 char * kwnames
[] = {
35604 (char *) "self",(char *) "id", NULL
35607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35609 if (!SWIG_IsOK(res1
)) {
35610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35612 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35614 if (!SWIG_IsOK(ecode2
)) {
35615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35617 arg2
= static_cast< int >(val2
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 (arg1
)->SetId(arg2
);
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35624 resultobj
= SWIG_Py_Void();
35631 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
= 0;
35633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35639 PyObject
* obj0
= 0 ;
35640 PyObject
* obj1
= 0 ;
35641 char * kwnames
[] = {
35642 (char *) "self",(char *) "id", NULL
35645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35647 if (!SWIG_IsOK(res1
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35650 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35652 if (!SWIG_IsOK(ecode2
)) {
35653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35655 arg2
= static_cast< int >(val2
);
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 (arg1
)->ClearId(arg2
);
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= SWIG_Py_Void();
35669 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
= 0;
35671 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 char * kwnames
[] = {
35680 (char *) "self",(char *) "id", NULL
35683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35690 if (!SWIG_IsOK(ecode2
)) {
35691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35693 arg2
= static_cast< int >(val2
);
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 (arg1
)->RemoveId(arg2
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= SWIG_Py_Void();
35707 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35708 PyObject
*resultobj
= 0;
35709 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35721 PyObject
* obj0
= 0 ;
35722 PyObject
* obj1
= 0 ;
35723 PyObject
* obj2
= 0 ;
35724 PyObject
* obj3
= 0 ;
35725 char * kwnames
[] = {
35726 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35734 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35736 if (!SWIG_IsOK(ecode2
)) {
35737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35739 arg2
= static_cast< int >(val2
);
35740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35741 if (!SWIG_IsOK(ecode3
)) {
35742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35744 arg3
= static_cast< int >(val3
);
35745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35746 if (!SWIG_IsOK(ecode4
)) {
35747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35749 arg4
= static_cast< int >(val4
);
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35756 resultobj
= SWIG_Py_Void();
35763 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35764 PyObject
*resultobj
= 0;
35765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35767 bool arg3
= (bool) true ;
35774 PyObject
* obj0
= 0 ;
35775 PyObject
* obj1
= 0 ;
35776 PyObject
* obj2
= 0 ;
35777 char * kwnames
[] = {
35778 (char *) "self",(char *) "id",(char *) "greyout", NULL
35781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35783 if (!SWIG_IsOK(res1
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35788 if (!SWIG_IsOK(ecode2
)) {
35789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35791 arg2
= static_cast< int >(val2
);
35793 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35794 if (!SWIG_IsOK(ecode3
)) {
35795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35797 arg3
= static_cast< bool >(val3
);
35800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35801 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35802 wxPyEndAllowThreads(__tstate
);
35803 if (PyErr_Occurred()) SWIG_fail
;
35805 resultobj
= SWIG_Py_Void();
35812 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35813 PyObject
*resultobj
= 0;
35814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35821 PyObject
* obj0
= 0 ;
35822 PyObject
* obj1
= 0 ;
35823 char * kwnames
[] = {
35824 (char *) "self",(char *) "id", NULL
35827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35834 if (!SWIG_IsOK(ecode2
)) {
35835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35837 arg2
= static_cast< int >(val2
);
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35853 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35854 PyObject
*resultobj
= 0;
35855 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35858 int arg4
= (int) 1 ;
35859 wxColor
const &arg5_defvalue
= *wxWHITE
;
35860 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35861 PyObject
*result
= 0 ;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 PyObject
* obj2
= 0 ;
35875 PyObject
* obj3
= 0 ;
35876 PyObject
* obj4
= 0 ;
35877 char * kwnames
[] = {
35878 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35883 if (!SWIG_IsOK(res1
)) {
35884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35888 if (!SWIG_IsOK(ecode2
)) {
35889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35891 arg2
= static_cast< int >(val2
);
35892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35893 if (!SWIG_IsOK(ecode3
)) {
35894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35896 arg3
= static_cast< int >(val3
);
35898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35899 if (!SWIG_IsOK(ecode4
)) {
35900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35902 arg4
= static_cast< int >(val4
);
35905 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35906 if (!SWIG_IsOK(res5
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35912 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35915 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35918 resultobj
= result
;
35925 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35926 PyObject
*resultobj
= 0;
35927 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35930 PyObject
*result
= 0 ;
35937 PyObject
* obj0
= 0 ;
35938 PyObject
* obj1
= 0 ;
35939 PyObject
* obj2
= 0 ;
35940 char * kwnames
[] = {
35941 (char *) "self",(char *) "x",(char *) "y", NULL
35944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35946 if (!SWIG_IsOK(res1
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35951 if (!SWIG_IsOK(ecode2
)) {
35952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35954 arg2
= static_cast< int >(val2
);
35955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35956 if (!SWIG_IsOK(ecode3
)) {
35957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35959 arg3
= static_cast< int >(val3
);
35961 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35964 resultobj
= result
;
35971 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35972 PyObject
*resultobj
= 0;
35973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35975 wxDC
*arg3
= (wxDC
*) 0 ;
35982 PyObject
* obj0
= 0 ;
35983 PyObject
* obj1
= 0 ;
35984 PyObject
* obj2
= 0 ;
35985 char * kwnames
[] = {
35986 (char *) "self",(char *) "id",(char *) "dc", NULL
35989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawIdToDC" "', 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_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35999 arg2
= static_cast< int >(val2
);
36000 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36001 if (!SWIG_IsOK(res3
)) {
36002 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36004 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 (arg1
)->DrawIdToDC(arg2
,arg3
);
36008 wxPyEndAllowThreads(__tstate
);
36009 if (PyErr_Occurred()) SWIG_fail
;
36011 resultobj
= SWIG_Py_Void();
36018 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36019 PyObject
*resultobj
= 0;
36020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 PyObject
* obj2
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "id",(char *) "rect", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36037 if (!SWIG_IsOK(res1
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36042 if (!SWIG_IsOK(ecode2
)) {
36043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36045 arg2
= static_cast< int >(val2
);
36048 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 (arg1
)->SetIdBounds(arg2
,*arg3
);
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= SWIG_Py_Void();
36063 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36064 PyObject
*resultobj
= 0;
36065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36072 PyObject
* obj0
= 0 ;
36073 PyObject
* obj1
= 0 ;
36074 char * kwnames
[] = {
36075 (char *) "self",(char *) "id", NULL
36078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36080 if (!SWIG_IsOK(res1
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36085 if (!SWIG_IsOK(ecode2
)) {
36086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36088 arg2
= static_cast< int >(val2
);
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36102 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
= 0;
36104 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36105 wxDC
*arg2
= (wxDC
*) 0 ;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 PyObject
* obj2
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "dc",(char *) "rect", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36126 if (!SWIG_IsOK(res2
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36129 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36132 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 resultobj
= SWIG_Py_Void();
36147 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36148 PyObject
*resultobj
= 0;
36149 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36150 wxDC
*arg2
= (wxDC
*) 0 ;
36151 wxRegion
*arg3
= 0 ;
36158 PyObject
* obj0
= 0 ;
36159 PyObject
* obj1
= 0 ;
36160 PyObject
* obj2
= 0 ;
36161 char * kwnames
[] = {
36162 (char *) "self",(char *) "dc",(char *) "region", NULL
36165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36167 if (!SWIG_IsOK(res1
)) {
36168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36172 if (!SWIG_IsOK(res2
)) {
36173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36175 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36176 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36177 if (!SWIG_IsOK(res3
)) {
36178 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36183 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36186 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36190 resultobj
= SWIG_Py_Void();
36197 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36198 PyObject
*resultobj
= 0;
36199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36200 wxDC
*arg2
= (wxDC
*) 0 ;
36205 PyObject
* obj0
= 0 ;
36206 PyObject
* obj1
= 0 ;
36207 char * kwnames
[] = {
36208 (char *) "self",(char *) "dc", NULL
36211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36213 if (!SWIG_IsOK(res1
)) {
36214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36216 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36218 if (!SWIG_IsOK(res2
)) {
36219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36221 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36224 (arg1
)->DrawToDC(arg2
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 resultobj
= SWIG_Py_Void();
36235 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
= 0;
36237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36240 wxColour
*arg4
= 0 ;
36241 int arg5
= (int) wxFLOOD_SURFACE
;
36251 PyObject
* obj0
= 0 ;
36252 PyObject
* obj1
= 0 ;
36253 PyObject
* obj2
= 0 ;
36254 PyObject
* obj3
= 0 ;
36255 PyObject
* obj4
= 0 ;
36256 char * kwnames
[] = {
36257 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36262 if (!SWIG_IsOK(res1
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36267 if (!SWIG_IsOK(ecode2
)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36270 arg2
= static_cast< int >(val2
);
36271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36272 if (!SWIG_IsOK(ecode3
)) {
36273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36275 arg3
= static_cast< int >(val3
);
36278 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36281 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36282 if (!SWIG_IsOK(ecode5
)) {
36283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36285 arg5
= static_cast< int >(val5
);
36288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36289 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36290 wxPyEndAllowThreads(__tstate
);
36291 if (PyErr_Occurred()) SWIG_fail
;
36293 resultobj
= SWIG_Py_Void();
36300 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36301 PyObject
*resultobj
= 0;
36302 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36303 wxPoint
*arg2
= 0 ;
36304 wxColour
*arg3
= 0 ;
36305 int arg4
= (int) wxFLOOD_SURFACE
;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 PyObject
* obj2
= 0 ;
36315 PyObject
* obj3
= 0 ;
36316 char * kwnames
[] = {
36317 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36322 if (!SWIG_IsOK(res1
)) {
36323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36332 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36336 if (!SWIG_IsOK(ecode4
)) {
36337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36339 arg4
= static_cast< int >(val4
);
36342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36343 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36344 wxPyEndAllowThreads(__tstate
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36347 resultobj
= SWIG_Py_Void();
36354 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36355 PyObject
*resultobj
= 0;
36356 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36371 PyObject
* obj0
= 0 ;
36372 PyObject
* obj1
= 0 ;
36373 PyObject
* obj2
= 0 ;
36374 PyObject
* obj3
= 0 ;
36375 PyObject
* obj4
= 0 ;
36376 char * kwnames
[] = {
36377 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36382 if (!SWIG_IsOK(res1
)) {
36383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36387 if (!SWIG_IsOK(ecode2
)) {
36388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36390 arg2
= static_cast< int >(val2
);
36391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36392 if (!SWIG_IsOK(ecode3
)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36395 arg3
= static_cast< int >(val3
);
36396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36397 if (!SWIG_IsOK(ecode4
)) {
36398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36400 arg4
= static_cast< int >(val4
);
36401 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36402 if (!SWIG_IsOK(ecode5
)) {
36403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36405 arg5
= static_cast< int >(val5
);
36407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36408 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36409 wxPyEndAllowThreads(__tstate
);
36410 if (PyErr_Occurred()) SWIG_fail
;
36412 resultobj
= SWIG_Py_Void();
36419 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36420 PyObject
*resultobj
= 0;
36421 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36422 wxPoint
*arg2
= 0 ;
36423 wxPoint
*arg3
= 0 ;
36428 PyObject
* obj0
= 0 ;
36429 PyObject
* obj1
= 0 ;
36430 PyObject
* obj2
= 0 ;
36431 char * kwnames
[] = {
36432 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36437 if (!SWIG_IsOK(res1
)) {
36438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_Py_Void();
36462 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36463 PyObject
*resultobj
= 0;
36464 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36473 PyObject
* obj0
= 0 ;
36474 PyObject
* obj1
= 0 ;
36475 PyObject
* obj2
= 0 ;
36476 char * kwnames
[] = {
36477 (char *) "self",(char *) "x",(char *) "y", NULL
36480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36482 if (!SWIG_IsOK(res1
)) {
36483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36485 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36487 if (!SWIG_IsOK(ecode2
)) {
36488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36490 arg2
= static_cast< int >(val2
);
36491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36492 if (!SWIG_IsOK(ecode3
)) {
36493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36495 arg3
= static_cast< int >(val3
);
36497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36498 (arg1
)->CrossHair(arg2
,arg3
);
36499 wxPyEndAllowThreads(__tstate
);
36500 if (PyErr_Occurred()) SWIG_fail
;
36502 resultobj
= SWIG_Py_Void();
36509 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36510 PyObject
*resultobj
= 0;
36511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36512 wxPoint
*arg2
= 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 char * kwnames
[] = {
36519 (char *) "self",(char *) "pt", NULL
36522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36524 if (!SWIG_IsOK(res1
)) {
36525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36527 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36534 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36535 wxPyEndAllowThreads(__tstate
);
36536 if (PyErr_Occurred()) SWIG_fail
;
36538 resultobj
= SWIG_Py_Void();
36545 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36546 PyObject
*resultobj
= 0;
36547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36568 PyObject
* obj0
= 0 ;
36569 PyObject
* obj1
= 0 ;
36570 PyObject
* obj2
= 0 ;
36571 PyObject
* obj3
= 0 ;
36572 PyObject
* obj4
= 0 ;
36573 PyObject
* obj5
= 0 ;
36574 PyObject
* obj6
= 0 ;
36575 char * kwnames
[] = {
36576 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36581 if (!SWIG_IsOK(res1
)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36584 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36586 if (!SWIG_IsOK(ecode2
)) {
36587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36589 arg2
= static_cast< int >(val2
);
36590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36591 if (!SWIG_IsOK(ecode3
)) {
36592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36594 arg3
= static_cast< int >(val3
);
36595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36596 if (!SWIG_IsOK(ecode4
)) {
36597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36599 arg4
= static_cast< int >(val4
);
36600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36601 if (!SWIG_IsOK(ecode5
)) {
36602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36604 arg5
= static_cast< int >(val5
);
36605 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36606 if (!SWIG_IsOK(ecode6
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36609 arg6
= static_cast< int >(val6
);
36610 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36611 if (!SWIG_IsOK(ecode7
)) {
36612 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36614 arg7
= static_cast< int >(val7
);
36616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36617 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36618 wxPyEndAllowThreads(__tstate
);
36619 if (PyErr_Occurred()) SWIG_fail
;
36621 resultobj
= SWIG_Py_Void();
36628 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36629 PyObject
*resultobj
= 0;
36630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36631 wxPoint
*arg2
= 0 ;
36632 wxPoint
*arg3
= 0 ;
36633 wxPoint
*arg4
= 0 ;
36639 PyObject
* obj0
= 0 ;
36640 PyObject
* obj1
= 0 ;
36641 PyObject
* obj2
= 0 ;
36642 PyObject
* obj3
= 0 ;
36643 char * kwnames
[] = {
36644 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36649 if (!SWIG_IsOK(res1
)) {
36650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36652 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36667 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36668 wxPyEndAllowThreads(__tstate
);
36669 if (PyErr_Occurred()) SWIG_fail
;
36671 resultobj
= SWIG_Py_Void();
36678 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36679 PyObject
*resultobj
= 0;
36680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36695 PyObject
* obj0
= 0 ;
36696 PyObject
* obj1
= 0 ;
36697 PyObject
* obj2
= 0 ;
36698 PyObject
* obj3
= 0 ;
36699 PyObject
* obj4
= 0 ;
36700 char * kwnames
[] = {
36701 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36706 if (!SWIG_IsOK(res1
)) {
36707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36711 if (!SWIG_IsOK(ecode2
)) {
36712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36714 arg2
= static_cast< int >(val2
);
36715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36716 if (!SWIG_IsOK(ecode3
)) {
36717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36719 arg3
= static_cast< int >(val3
);
36720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36721 if (!SWIG_IsOK(ecode4
)) {
36722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36724 arg4
= static_cast< int >(val4
);
36725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36726 if (!SWIG_IsOK(ecode5
)) {
36727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36729 arg5
= static_cast< int >(val5
);
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36733 wxPyEndAllowThreads(__tstate
);
36734 if (PyErr_Occurred()) SWIG_fail
;
36736 resultobj
= SWIG_Py_Void();
36743 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36744 PyObject
*resultobj
= 0;
36745 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36750 PyObject
* obj0
= 0 ;
36751 PyObject
* obj1
= 0 ;
36752 char * kwnames
[] = {
36753 (char *) "self",(char *) "rect", NULL
36756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36758 if (!SWIG_IsOK(res1
)) {
36759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36768 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36772 resultobj
= SWIG_Py_Void();
36779 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
= 0;
36781 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36802 PyObject
* obj0
= 0 ;
36803 PyObject
* obj1
= 0 ;
36804 PyObject
* obj2
= 0 ;
36805 PyObject
* obj3
= 0 ;
36806 PyObject
* obj4
= 0 ;
36807 PyObject
* obj5
= 0 ;
36808 PyObject
* obj6
= 0 ;
36809 char * kwnames
[] = {
36810 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36815 if (!SWIG_IsOK(res1
)) {
36816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36818 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36820 if (!SWIG_IsOK(ecode2
)) {
36821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36823 arg2
= static_cast< int >(val2
);
36824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36825 if (!SWIG_IsOK(ecode3
)) {
36826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36828 arg3
= static_cast< int >(val3
);
36829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36830 if (!SWIG_IsOK(ecode4
)) {
36831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36833 arg4
= static_cast< int >(val4
);
36834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36835 if (!SWIG_IsOK(ecode5
)) {
36836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36838 arg5
= static_cast< int >(val5
);
36839 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36840 if (!SWIG_IsOK(ecode6
)) {
36841 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36843 arg6
= static_cast< double >(val6
);
36844 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36845 if (!SWIG_IsOK(ecode7
)) {
36846 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36848 arg7
= static_cast< double >(val7
);
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_Py_Void();
36862 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
= 0;
36864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36865 wxPoint
*arg2
= 0 ;
36877 PyObject
* obj0
= 0 ;
36878 PyObject
* obj1
= 0 ;
36879 PyObject
* obj2
= 0 ;
36880 PyObject
* obj3
= 0 ;
36881 PyObject
* obj4
= 0 ;
36882 char * kwnames
[] = {
36883 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36888 if (!SWIG_IsOK(res1
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36898 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36900 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36901 if (!SWIG_IsOK(ecode4
)) {
36902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36904 arg4
= static_cast< double >(val4
);
36905 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36906 if (!SWIG_IsOK(ecode5
)) {
36907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36909 arg5
= static_cast< double >(val5
);
36911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36912 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 resultobj
= SWIG_Py_Void();
36923 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36924 PyObject
*resultobj
= 0;
36925 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36934 PyObject
* obj0
= 0 ;
36935 PyObject
* obj1
= 0 ;
36936 PyObject
* obj2
= 0 ;
36937 char * kwnames
[] = {
36938 (char *) "self",(char *) "x",(char *) "y", NULL
36941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36943 if (!SWIG_IsOK(res1
)) {
36944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36946 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36948 if (!SWIG_IsOK(ecode2
)) {
36949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36951 arg2
= static_cast< int >(val2
);
36952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36953 if (!SWIG_IsOK(ecode3
)) {
36954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36956 arg3
= static_cast< int >(val3
);
36958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36959 (arg1
)->DrawPoint(arg2
,arg3
);
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36963 resultobj
= SWIG_Py_Void();
36970 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36971 PyObject
*resultobj
= 0;
36972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36973 wxPoint
*arg2
= 0 ;
36977 PyObject
* obj0
= 0 ;
36978 PyObject
* obj1
= 0 ;
36979 char * kwnames
[] = {
36980 (char *) "self",(char *) "pt", NULL
36983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36985 if (!SWIG_IsOK(res1
)) {
36986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36988 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36995 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36996 wxPyEndAllowThreads(__tstate
);
36997 if (PyErr_Occurred()) SWIG_fail
;
36999 resultobj
= SWIG_Py_Void();
37006 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37007 PyObject
*resultobj
= 0;
37008 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37023 PyObject
* obj0
= 0 ;
37024 PyObject
* obj1
= 0 ;
37025 PyObject
* obj2
= 0 ;
37026 PyObject
* obj3
= 0 ;
37027 PyObject
* obj4
= 0 ;
37028 char * kwnames
[] = {
37029 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37034 if (!SWIG_IsOK(res1
)) {
37035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37039 if (!SWIG_IsOK(ecode2
)) {
37040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37042 arg2
= static_cast< int >(val2
);
37043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37044 if (!SWIG_IsOK(ecode3
)) {
37045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37047 arg3
= static_cast< int >(val3
);
37048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37049 if (!SWIG_IsOK(ecode4
)) {
37050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37052 arg4
= static_cast< int >(val4
);
37053 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37054 if (!SWIG_IsOK(ecode5
)) {
37055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37057 arg5
= static_cast< int >(val5
);
37059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37064 resultobj
= SWIG_Py_Void();
37071 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37072 PyObject
*resultobj
= 0;
37073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37078 PyObject
* obj0
= 0 ;
37079 PyObject
* obj1
= 0 ;
37080 char * kwnames
[] = {
37081 (char *) "self",(char *) "rect", NULL
37084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37092 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 resultobj
= SWIG_Py_Void();
37107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37108 PyObject
*resultobj
= 0;
37109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37110 wxPoint
*arg2
= 0 ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 PyObject
* obj2
= 0 ;
37119 char * kwnames
[] = {
37120 (char *) "self",(char *) "pt",(char *) "sz", NULL
37123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37125 if (!SWIG_IsOK(res1
)) {
37126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37128 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37131 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37135 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37139 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 resultobj
= SWIG_Py_Void();
37150 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
= 0;
37152 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37170 PyObject
* obj0
= 0 ;
37171 PyObject
* obj1
= 0 ;
37172 PyObject
* obj2
= 0 ;
37173 PyObject
* obj3
= 0 ;
37174 PyObject
* obj4
= 0 ;
37175 PyObject
* obj5
= 0 ;
37176 char * kwnames
[] = {
37177 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37182 if (!SWIG_IsOK(res1
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37187 if (!SWIG_IsOK(ecode2
)) {
37188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37190 arg2
= static_cast< int >(val2
);
37191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37192 if (!SWIG_IsOK(ecode3
)) {
37193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37195 arg3
= static_cast< int >(val3
);
37196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37197 if (!SWIG_IsOK(ecode4
)) {
37198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37200 arg4
= static_cast< int >(val4
);
37201 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37202 if (!SWIG_IsOK(ecode5
)) {
37203 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37205 arg5
= static_cast< int >(val5
);
37206 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37207 if (!SWIG_IsOK(ecode6
)) {
37208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37210 arg6
= static_cast< double >(val6
);
37212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37213 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37214 wxPyEndAllowThreads(__tstate
);
37215 if (PyErr_Occurred()) SWIG_fail
;
37217 resultobj
= SWIG_Py_Void();
37224 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37225 PyObject
*resultobj
= 0;
37226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 PyObject
* obj2
= 0 ;
37237 char * kwnames
[] = {
37238 (char *) "self",(char *) "r",(char *) "radius", NULL
37241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37243 if (!SWIG_IsOK(res1
)) {
37244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37246 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37251 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37252 if (!SWIG_IsOK(ecode3
)) {
37253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37255 arg3
= static_cast< double >(val3
);
37257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37258 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37259 wxPyEndAllowThreads(__tstate
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= SWIG_Py_Void();
37269 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37270 PyObject
*resultobj
= 0;
37271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37272 wxPoint
*arg2
= 0 ;
37281 PyObject
* obj0
= 0 ;
37282 PyObject
* obj1
= 0 ;
37283 PyObject
* obj2
= 0 ;
37284 PyObject
* obj3
= 0 ;
37285 char * kwnames
[] = {
37286 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37291 if (!SWIG_IsOK(res1
)) {
37292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37301 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37303 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37304 if (!SWIG_IsOK(ecode4
)) {
37305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37307 arg4
= static_cast< double >(val4
);
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37311 wxPyEndAllowThreads(__tstate
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37314 resultobj
= SWIG_Py_Void();
37321 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37322 PyObject
*resultobj
= 0;
37323 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37335 PyObject
* obj0
= 0 ;
37336 PyObject
* obj1
= 0 ;
37337 PyObject
* obj2
= 0 ;
37338 PyObject
* obj3
= 0 ;
37339 char * kwnames
[] = {
37340 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37345 if (!SWIG_IsOK(res1
)) {
37346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37350 if (!SWIG_IsOK(ecode2
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37353 arg2
= static_cast< int >(val2
);
37354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37355 if (!SWIG_IsOK(ecode3
)) {
37356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37358 arg3
= static_cast< int >(val3
);
37359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37360 if (!SWIG_IsOK(ecode4
)) {
37361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37363 arg4
= static_cast< int >(val4
);
37365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37366 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37367 wxPyEndAllowThreads(__tstate
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37370 resultobj
= SWIG_Py_Void();
37377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37378 PyObject
*resultobj
= 0;
37379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37380 wxPoint
*arg2
= 0 ;
37387 PyObject
* obj0
= 0 ;
37388 PyObject
* obj1
= 0 ;
37389 PyObject
* obj2
= 0 ;
37390 char * kwnames
[] = {
37391 (char *) "self",(char *) "pt",(char *) "radius", NULL
37394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37396 if (!SWIG_IsOK(res1
)) {
37397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37399 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37405 if (!SWIG_IsOK(ecode3
)) {
37406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37408 arg3
= static_cast< int >(val3
);
37410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37411 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37412 wxPyEndAllowThreads(__tstate
);
37413 if (PyErr_Occurred()) SWIG_fail
;
37415 resultobj
= SWIG_Py_Void();
37422 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37423 PyObject
*resultobj
= 0;
37424 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37439 PyObject
* obj0
= 0 ;
37440 PyObject
* obj1
= 0 ;
37441 PyObject
* obj2
= 0 ;
37442 PyObject
* obj3
= 0 ;
37443 PyObject
* obj4
= 0 ;
37444 char * kwnames
[] = {
37445 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37450 if (!SWIG_IsOK(res1
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37455 if (!SWIG_IsOK(ecode2
)) {
37456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37458 arg2
= static_cast< int >(val2
);
37459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37460 if (!SWIG_IsOK(ecode3
)) {
37461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37463 arg3
= static_cast< int >(val3
);
37464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37465 if (!SWIG_IsOK(ecode4
)) {
37466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37468 arg4
= static_cast< int >(val4
);
37469 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37470 if (!SWIG_IsOK(ecode5
)) {
37471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37473 arg5
= static_cast< int >(val5
);
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37476 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37480 resultobj
= SWIG_Py_Void();
37487 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37488 PyObject
*resultobj
= 0;
37489 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 char * kwnames
[] = {
37497 (char *) "self",(char *) "rect", NULL
37500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37502 if (!SWIG_IsOK(res1
)) {
37503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37505 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37508 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37516 resultobj
= SWIG_Py_Void();
37523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37524 PyObject
*resultobj
= 0;
37525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37526 wxPoint
*arg2
= 0 ;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 PyObject
* obj2
= 0 ;
37535 char * kwnames
[] = {
37536 (char *) "self",(char *) "pt",(char *) "sz", NULL
37539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37541 if (!SWIG_IsOK(res1
)) {
37542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37544 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37551 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_Py_Void();
37566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37567 PyObject
*resultobj
= 0;
37568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37580 PyObject
* obj0
= 0 ;
37581 PyObject
* obj1
= 0 ;
37582 PyObject
* obj2
= 0 ;
37583 PyObject
* obj3
= 0 ;
37584 char * kwnames
[] = {
37585 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37590 if (!SWIG_IsOK(res1
)) {
37591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37593 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37595 if (!SWIG_IsOK(res2
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37601 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37603 if (!SWIG_IsOK(ecode3
)) {
37604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37606 arg3
= static_cast< int >(val3
);
37607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37608 if (!SWIG_IsOK(ecode4
)) {
37609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37611 arg4
= static_cast< int >(val4
);
37613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37614 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37615 wxPyEndAllowThreads(__tstate
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37618 resultobj
= SWIG_Py_Void();
37625 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37626 PyObject
*resultobj
= 0;
37627 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37629 wxPoint
*arg3
= 0 ;
37635 PyObject
* obj0
= 0 ;
37636 PyObject
* obj1
= 0 ;
37637 PyObject
* obj2
= 0 ;
37638 char * kwnames
[] = {
37639 (char *) "self",(char *) "icon",(char *) "pt", NULL
37642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37644 if (!SWIG_IsOK(res1
)) {
37645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37649 if (!SWIG_IsOK(res2
)) {
37650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37655 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37662 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37663 wxPyEndAllowThreads(__tstate
);
37664 if (PyErr_Occurred()) SWIG_fail
;
37666 resultobj
= SWIG_Py_Void();
37673 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37674 PyObject
*resultobj
= 0;
37675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37676 wxBitmap
*arg2
= 0 ;
37679 bool arg5
= (bool) false ;
37690 PyObject
* obj0
= 0 ;
37691 PyObject
* obj1
= 0 ;
37692 PyObject
* obj2
= 0 ;
37693 PyObject
* obj3
= 0 ;
37694 PyObject
* obj4
= 0 ;
37695 char * kwnames
[] = {
37696 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37701 if (!SWIG_IsOK(res1
)) {
37702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37704 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37706 if (!SWIG_IsOK(res2
)) {
37707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37712 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37714 if (!SWIG_IsOK(ecode3
)) {
37715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37717 arg3
= static_cast< int >(val3
);
37718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37719 if (!SWIG_IsOK(ecode4
)) {
37720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37722 arg4
= static_cast< int >(val4
);
37724 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37725 if (!SWIG_IsOK(ecode5
)) {
37726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37728 arg5
= static_cast< bool >(val5
);
37731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37732 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37733 wxPyEndAllowThreads(__tstate
);
37734 if (PyErr_Occurred()) SWIG_fail
;
37736 resultobj
= SWIG_Py_Void();
37743 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37744 PyObject
*resultobj
= 0;
37745 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37746 wxBitmap
*arg2
= 0 ;
37747 wxPoint
*arg3
= 0 ;
37748 bool arg4
= (bool) false ;
37756 PyObject
* obj0
= 0 ;
37757 PyObject
* obj1
= 0 ;
37758 PyObject
* obj2
= 0 ;
37759 PyObject
* obj3
= 0 ;
37760 char * kwnames
[] = {
37761 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37766 if (!SWIG_IsOK(res1
)) {
37767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37769 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37771 if (!SWIG_IsOK(res2
)) {
37772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37777 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37783 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37784 if (!SWIG_IsOK(ecode4
)) {
37785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37787 arg4
= static_cast< bool >(val4
);
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37792 wxPyEndAllowThreads(__tstate
);
37793 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= SWIG_Py_Void();
37802 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37803 PyObject
*resultobj
= 0;
37804 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37805 wxString
*arg2
= 0 ;
37810 bool temp2
= false ;
37815 PyObject
* obj0
= 0 ;
37816 PyObject
* obj1
= 0 ;
37817 PyObject
* obj2
= 0 ;
37818 PyObject
* obj3
= 0 ;
37819 char * kwnames
[] = {
37820 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37825 if (!SWIG_IsOK(res1
)) {
37826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37830 arg2
= wxString_in_helper(obj1
);
37831 if (arg2
== NULL
) SWIG_fail
;
37834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37835 if (!SWIG_IsOK(ecode3
)) {
37836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37838 arg3
= static_cast< int >(val3
);
37839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37840 if (!SWIG_IsOK(ecode4
)) {
37841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37843 arg4
= static_cast< int >(val4
);
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37850 resultobj
= SWIG_Py_Void();
37865 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37866 PyObject
*resultobj
= 0;
37867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37868 wxString
*arg2
= 0 ;
37869 wxPoint
*arg3
= 0 ;
37872 bool temp2
= false ;
37874 PyObject
* obj0
= 0 ;
37875 PyObject
* obj1
= 0 ;
37876 PyObject
* obj2
= 0 ;
37877 char * kwnames
[] = {
37878 (char *) "self",(char *) "text",(char *) "pt", NULL
37881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37883 if (!SWIG_IsOK(res1
)) {
37884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37888 arg2
= wxString_in_helper(obj1
);
37889 if (arg2
== NULL
) SWIG_fail
;
37894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37898 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37899 wxPyEndAllowThreads(__tstate
);
37900 if (PyErr_Occurred()) SWIG_fail
;
37902 resultobj
= SWIG_Py_Void();
37917 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37918 PyObject
*resultobj
= 0;
37919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37920 wxString
*arg2
= 0 ;
37926 bool temp2
= false ;
37933 PyObject
* obj0
= 0 ;
37934 PyObject
* obj1
= 0 ;
37935 PyObject
* obj2
= 0 ;
37936 PyObject
* obj3
= 0 ;
37937 PyObject
* obj4
= 0 ;
37938 char * kwnames
[] = {
37939 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37944 if (!SWIG_IsOK(res1
)) {
37945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37947 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37949 arg2
= wxString_in_helper(obj1
);
37950 if (arg2
== NULL
) SWIG_fail
;
37953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37954 if (!SWIG_IsOK(ecode3
)) {
37955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37957 arg3
= static_cast< int >(val3
);
37958 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37959 if (!SWIG_IsOK(ecode4
)) {
37960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37962 arg4
= static_cast< int >(val4
);
37963 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37964 if (!SWIG_IsOK(ecode5
)) {
37965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37967 arg5
= static_cast< double >(val5
);
37969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37970 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37974 resultobj
= SWIG_Py_Void();
37989 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37990 PyObject
*resultobj
= 0;
37991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37992 wxString
*arg2
= 0 ;
37993 wxPoint
*arg3
= 0 ;
37997 bool temp2
= false ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 PyObject
* obj2
= 0 ;
38004 PyObject
* obj3
= 0 ;
38005 char * kwnames
[] = {
38006 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38011 if (!SWIG_IsOK(res1
)) {
38012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38016 arg2
= wxString_in_helper(obj1
);
38017 if (arg2
== NULL
) SWIG_fail
;
38022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38024 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38025 if (!SWIG_IsOK(ecode4
)) {
38026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38028 arg4
= static_cast< double >(val4
);
38030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38031 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38032 wxPyEndAllowThreads(__tstate
);
38033 if (PyErr_Occurred()) SWIG_fail
;
38035 resultobj
= SWIG_Py_Void();
38050 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38051 PyObject
*resultobj
= 0;
38052 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38054 wxPoint
*arg3
= (wxPoint
*) 0 ;
38055 int arg4
= (int) 0 ;
38056 int arg5
= (int) 0 ;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 PyObject
* obj2
= 0 ;
38066 PyObject
* obj3
= 0 ;
38067 char * kwnames
[] = {
38068 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38073 if (!SWIG_IsOK(res1
)) {
38074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38076 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38078 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38079 if (arg3
== NULL
) SWIG_fail
;
38082 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38083 if (!SWIG_IsOK(ecode4
)) {
38084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38086 arg4
= static_cast< int >(val4
);
38089 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38090 if (!SWIG_IsOK(ecode5
)) {
38091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38093 arg5
= static_cast< int >(val5
);
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38101 resultobj
= SWIG_Py_Void();
38103 if (arg3
) delete [] arg3
;
38108 if (arg3
) delete [] arg3
;
38114 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38115 PyObject
*resultobj
= 0;
38116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38118 wxPoint
*arg3
= (wxPoint
*) 0 ;
38119 int arg4
= (int) 0 ;
38120 int arg5
= (int) 0 ;
38121 int arg6
= (int) wxODDEVEN_RULE
;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 PyObject
* obj2
= 0 ;
38133 PyObject
* obj3
= 0 ;
38134 PyObject
* obj4
= 0 ;
38135 char * kwnames
[] = {
38136 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38141 if (!SWIG_IsOK(res1
)) {
38142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38144 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38146 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38147 if (arg3
== NULL
) SWIG_fail
;
38150 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38151 if (!SWIG_IsOK(ecode4
)) {
38152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38154 arg4
= static_cast< int >(val4
);
38157 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38158 if (!SWIG_IsOK(ecode5
)) {
38159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38161 arg5
= static_cast< int >(val5
);
38164 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38165 if (!SWIG_IsOK(ecode6
)) {
38166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38168 arg6
= static_cast< int >(val6
);
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38173 wxPyEndAllowThreads(__tstate
);
38174 if (PyErr_Occurred()) SWIG_fail
;
38176 resultobj
= SWIG_Py_Void();
38178 if (arg3
) delete [] arg3
;
38183 if (arg3
) delete [] arg3
;
38189 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
= 0;
38191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38192 wxString
*arg2
= 0 ;
38194 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38195 int arg5
= (int) -1 ;
38198 bool temp2
= false ;
38204 PyObject
* obj0
= 0 ;
38205 PyObject
* obj1
= 0 ;
38206 PyObject
* obj2
= 0 ;
38207 PyObject
* obj3
= 0 ;
38208 PyObject
* obj4
= 0 ;
38209 char * kwnames
[] = {
38210 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38215 if (!SWIG_IsOK(res1
)) {
38216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38218 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38220 arg2
= wxString_in_helper(obj1
);
38221 if (arg2
== NULL
) SWIG_fail
;
38226 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38230 if (!SWIG_IsOK(ecode4
)) {
38231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38233 arg4
= static_cast< int >(val4
);
38236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38237 if (!SWIG_IsOK(ecode5
)) {
38238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38240 arg5
= static_cast< int >(val5
);
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38245 wxPyEndAllowThreads(__tstate
);
38246 if (PyErr_Occurred()) SWIG_fail
;
38248 resultobj
= SWIG_Py_Void();
38263 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
= 0;
38265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38266 wxString
*arg2
= 0 ;
38267 wxBitmap
*arg3
= 0 ;
38269 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38270 int arg6
= (int) -1 ;
38273 bool temp2
= false ;
38281 PyObject
* obj0
= 0 ;
38282 PyObject
* obj1
= 0 ;
38283 PyObject
* obj2
= 0 ;
38284 PyObject
* obj3
= 0 ;
38285 PyObject
* obj4
= 0 ;
38286 PyObject
* obj5
= 0 ;
38287 char * kwnames
[] = {
38288 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38293 if (!SWIG_IsOK(res1
)) {
38294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38298 arg2
= wxString_in_helper(obj1
);
38299 if (arg2
== NULL
) SWIG_fail
;
38302 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38303 if (!SWIG_IsOK(res3
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38309 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38312 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38316 if (!SWIG_IsOK(ecode5
)) {
38317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38319 arg5
= static_cast< int >(val5
);
38322 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38323 if (!SWIG_IsOK(ecode6
)) {
38324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38326 arg6
= static_cast< int >(val6
);
38329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38330 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38331 wxPyEndAllowThreads(__tstate
);
38332 if (PyErr_Occurred()) SWIG_fail
;
38334 resultobj
= SWIG_Py_Void();
38349 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38350 PyObject
*resultobj
= 0;
38351 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38353 wxPoint
*arg3
= (wxPoint
*) 0 ;
38356 PyObject
* obj0
= 0 ;
38357 PyObject
* obj1
= 0 ;
38358 char * kwnames
[] = {
38359 (char *) "self",(char *) "points", NULL
38362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38364 if (!SWIG_IsOK(res1
)) {
38365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38367 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38369 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38370 if (arg3
== NULL
) SWIG_fail
;
38373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38374 (arg1
)->DrawSpline(arg2
,arg3
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38378 resultobj
= SWIG_Py_Void();
38380 if (arg3
) delete [] arg3
;
38385 if (arg3
) delete [] arg3
;
38391 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38392 PyObject
*resultobj
= 0;
38393 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38396 PyObject
*swig_obj
[1] ;
38398 if (!args
) SWIG_fail
;
38399 swig_obj
[0] = args
;
38400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38401 if (!SWIG_IsOK(res1
)) {
38402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_Py_Void();
38418 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
= 0;
38420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 char * kwnames
[] = {
38429 (char *) "self",(char *) "font", NULL
38432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38434 if (!SWIG_IsOK(res1
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38439 if (!SWIG_IsOK(res2
)) {
38440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38445 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38448 (arg1
)->SetFont((wxFont
const &)*arg2
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38452 resultobj
= SWIG_Py_Void();
38459 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38460 PyObject
*resultobj
= 0;
38461 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38467 PyObject
* obj0
= 0 ;
38468 PyObject
* obj1
= 0 ;
38469 char * kwnames
[] = {
38470 (char *) "self",(char *) "pen", NULL
38473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38475 if (!SWIG_IsOK(res1
)) {
38476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38480 if (!SWIG_IsOK(res2
)) {
38481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38486 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38489 (arg1
)->SetPen((wxPen
const &)*arg2
);
38490 wxPyEndAllowThreads(__tstate
);
38491 if (PyErr_Occurred()) SWIG_fail
;
38493 resultobj
= SWIG_Py_Void();
38500 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38501 PyObject
*resultobj
= 0;
38502 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38503 wxBrush
*arg2
= 0 ;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38510 char * kwnames
[] = {
38511 (char *) "self",(char *) "brush", NULL
38514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38516 if (!SWIG_IsOK(res1
)) {
38517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38521 if (!SWIG_IsOK(res2
)) {
38522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38527 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38530 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38534 resultobj
= SWIG_Py_Void();
38541 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38542 PyObject
*resultobj
= 0;
38543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38544 wxBrush
*arg2
= 0 ;
38549 PyObject
* obj0
= 0 ;
38550 PyObject
* obj1
= 0 ;
38551 char * kwnames
[] = {
38552 (char *) "self",(char *) "brush", NULL
38555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38557 if (!SWIG_IsOK(res1
)) {
38558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38560 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38562 if (!SWIG_IsOK(res2
)) {
38563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38568 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38571 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38572 wxPyEndAllowThreads(__tstate
);
38573 if (PyErr_Occurred()) SWIG_fail
;
38575 resultobj
= SWIG_Py_Void();
38582 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38583 PyObject
*resultobj
= 0;
38584 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38590 PyObject
* obj0
= 0 ;
38591 PyObject
* obj1
= 0 ;
38592 char * kwnames
[] = {
38593 (char *) "self",(char *) "mode", NULL
38596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38598 if (!SWIG_IsOK(res1
)) {
38599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38601 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38603 if (!SWIG_IsOK(ecode2
)) {
38604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38606 arg2
= static_cast< int >(val2
);
38608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38609 (arg1
)->SetBackgroundMode(arg2
);
38610 wxPyEndAllowThreads(__tstate
);
38611 if (PyErr_Occurred()) SWIG_fail
;
38613 resultobj
= SWIG_Py_Void();
38620 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38621 PyObject
*resultobj
= 0;
38622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38623 wxPalette
*arg2
= 0 ;
38628 PyObject
* obj0
= 0 ;
38629 PyObject
* obj1
= 0 ;
38630 char * kwnames
[] = {
38631 (char *) "self",(char *) "palette", NULL
38634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38636 if (!SWIG_IsOK(res1
)) {
38637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38641 if (!SWIG_IsOK(res2
)) {
38642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38647 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38651 wxPyEndAllowThreads(__tstate
);
38652 if (PyErr_Occurred()) SWIG_fail
;
38654 resultobj
= SWIG_Py_Void();
38661 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38662 PyObject
*resultobj
= 0;
38663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38664 wxColour
*arg2
= 0 ;
38668 PyObject
* obj0
= 0 ;
38669 PyObject
* obj1
= 0 ;
38670 char * kwnames
[] = {
38671 (char *) "self",(char *) "colour", NULL
38674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38676 if (!SWIG_IsOK(res1
)) {
38677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38679 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38682 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_Py_Void();
38697 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38698 PyObject
*resultobj
= 0;
38699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38700 wxColour
*arg2
= 0 ;
38704 PyObject
* obj0
= 0 ;
38705 PyObject
* obj1
= 0 ;
38706 char * kwnames
[] = {
38707 (char *) "self",(char *) "colour", NULL
38710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38712 if (!SWIG_IsOK(res1
)) {
38713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38715 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38718 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38723 wxPyEndAllowThreads(__tstate
);
38724 if (PyErr_Occurred()) SWIG_fail
;
38726 resultobj
= SWIG_Py_Void();
38733 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38734 PyObject
*resultobj
= 0;
38735 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38741 PyObject
* obj0
= 0 ;
38742 PyObject
* obj1
= 0 ;
38743 char * kwnames
[] = {
38744 (char *) "self",(char *) "function", NULL
38747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38749 if (!SWIG_IsOK(res1
)) {
38750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38752 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38754 if (!SWIG_IsOK(ecode2
)) {
38755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38757 arg2
= static_cast< int >(val2
);
38759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38760 (arg1
)->SetLogicalFunction(arg2
);
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= SWIG_Py_Void();
38771 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38775 return SWIG_Py_Void();
38778 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38779 return SWIG_Python_InitShadowInstance(args
);
38782 static PyMethodDef SwigMethods
[] = {
38783 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38784 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38785 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38786 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38787 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38788 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38792 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38793 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38794 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38795 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38796 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38797 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38802 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38806 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38807 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38808 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38810 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38813 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38814 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38815 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38816 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38818 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38819 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38820 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38821 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38822 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38823 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38824 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38831 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38833 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
38834 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38838 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38839 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38842 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38846 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38847 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38848 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38849 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38850 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38851 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38852 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38854 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
38860 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38862 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38863 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38864 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38865 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38866 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38867 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38868 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38874 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38884 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38885 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38889 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38890 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38891 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38892 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38893 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38894 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38895 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38896 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38897 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38898 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38899 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38900 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38901 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38902 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38903 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38905 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38906 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38912 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38913 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38914 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38915 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38916 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38917 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38918 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38919 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38920 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38921 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38922 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38923 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38925 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38926 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38932 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38933 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38934 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38936 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38937 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38938 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38940 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38941 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
38946 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38948 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38949 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38950 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38951 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38957 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38958 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38960 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38961 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38963 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38965 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38966 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38967 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38968 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38971 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38975 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38976 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38978 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
38981 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38983 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
38984 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
38985 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
38986 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38991 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38992 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38997 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38998 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39004 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39008 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39019 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39022 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39023 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39025 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39026 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39027 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39028 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39029 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39030 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39031 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39032 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39033 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39034 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39035 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39036 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39037 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39038 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39039 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39040 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39041 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39043 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39044 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39045 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39046 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39047 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39048 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39049 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39050 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39060 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39061 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39063 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39064 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39065 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39066 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39067 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39068 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39069 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39070 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39071 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39073 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39074 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39075 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39078 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39079 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39080 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39083 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39089 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39094 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39095 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39097 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39103 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39106 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39107 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39108 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39109 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39110 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39111 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39112 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39113 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39114 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39115 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39116 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39117 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39118 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39130 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39131 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39132 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39134 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39135 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39137 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39138 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39139 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39140 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39144 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39145 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39147 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39148 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39149 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39150 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39151 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39152 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39153 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39154 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39155 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39157 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39160 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39161 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39162 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39163 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39164 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39165 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39166 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39167 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39177 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39178 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39179 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39181 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39185 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39186 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39187 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39188 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39189 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39190 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39196 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39197 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39198 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39247 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39249 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39250 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39251 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39258 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39259 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39260 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39261 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39262 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39267 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39268 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39269 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39270 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39279 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39280 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39281 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39282 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39283 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39284 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39285 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39286 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39287 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39288 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39289 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39290 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39293 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39295 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39297 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39299 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39300 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39303 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39304 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39308 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39310 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39313 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39314 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39315 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39316 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39317 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39318 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39319 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39321 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39328 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39330 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39331 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39332 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39334 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39335 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39336 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39338 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39339 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39340 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39341 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39342 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39343 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39344 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39348 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39349 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39350 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39353 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39354 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39355 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39357 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39358 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39360 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39361 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39363 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39364 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39365 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39366 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39367 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39368 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39369 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39371 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39372 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39374 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39375 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39378 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39379 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39381 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39384 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39385 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39386 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39388 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39389 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39391 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39392 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39393 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39394 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39395 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39396 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39398 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39399 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39400 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39402 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39403 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39405 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39406 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39407 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39408 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39409 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39410 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39411 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39414 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39415 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39416 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39417 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39418 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39419 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39420 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39421 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39422 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39426 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39428 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39434 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39436 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39437 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39438 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39439 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39441 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39442 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39443 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39450 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39453 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39454 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39455 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39456 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39457 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39460 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39467 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39468 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39471 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39472 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39478 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39479 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39480 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39481 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39499 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39500 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39501 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39502 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39503 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39506 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39513 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39515 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39516 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39518 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39519 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39520 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39521 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39522 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39523 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39524 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39525 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39526 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39527 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39528 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39529 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39531 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39539 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39541 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39543 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39544 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39545 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39546 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39547 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39548 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39554 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39555 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39556 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39557 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39558 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39559 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39563 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39567 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39571 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39572 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39573 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39578 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39579 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39580 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39581 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39582 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39583 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39584 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39585 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39586 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39587 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39588 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39589 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39598 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39599 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39601 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39602 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39603 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39604 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39605 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39606 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39607 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39608 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39609 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39610 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39611 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39612 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39613 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39614 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39615 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39616 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39617 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39618 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39619 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39620 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39621 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39622 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39623 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39624 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39626 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39628 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39629 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39630 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39631 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39644 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39645 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39646 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39648 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39649 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39650 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39651 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39652 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39653 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39654 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39655 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39708 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39718 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39719 { NULL
, NULL
, 0, NULL
}
39723 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39725 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39726 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39728 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39729 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39731 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39732 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39734 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39735 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39737 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39738 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39740 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39741 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39743 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39744 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39746 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39747 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39749 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39750 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39752 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39753 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39755 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39756 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39758 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39759 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39761 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39762 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39764 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39765 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39767 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39768 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39770 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39771 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39773 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39774 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39776 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39777 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39779 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39780 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39782 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39783 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39785 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39786 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39788 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39789 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39791 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39792 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39794 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39795 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39797 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39798 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39800 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39801 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39803 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39804 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39806 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39807 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39809 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39810 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39812 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39813 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39815 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39816 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39818 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39819 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39821 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39822 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39824 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39825 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39827 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39828 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39830 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39831 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39833 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39834 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39836 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39837 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39839 static void *_p_wxPenTo_p_wxObject(void *x
) {
39840 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39842 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39843 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39845 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39846 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39848 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39849 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39851 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39854 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39855 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39857 static void *_p_wxIconTo_p_wxObject(void *x
) {
39858 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39860 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39861 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39863 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39864 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39866 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39867 return (void *)((wxObject
*) ((wxSizer
*) x
));
39869 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39870 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39872 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39875 static void *_p_wxEventTo_p_wxObject(void *x
) {
39876 return (void *)((wxObject
*) ((wxEvent
*) x
));
39878 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39879 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39881 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39882 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39884 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39885 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39887 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39888 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39890 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39893 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39894 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39896 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39897 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39899 static void *_p_wxDCTo_p_wxObject(void *x
) {
39900 return (void *)((wxObject
*) ((wxDC
*) x
));
39902 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39903 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39905 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39906 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39908 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39909 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39911 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39912 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39914 static void *_p_wxControlTo_p_wxObject(void *x
) {
39915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39917 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39918 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39920 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39921 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39923 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39924 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39926 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39927 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39929 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39930 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39932 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39933 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39935 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39936 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39938 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39939 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39941 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39942 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39944 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39945 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39947 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39948 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39950 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39951 return (void *)((wxObject
*) ((wxEffects
*) x
));
39953 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39954 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39956 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39959 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39960 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39962 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39963 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39965 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39966 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39968 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39969 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39971 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39974 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39975 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39977 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39980 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39981 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39983 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39984 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39986 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39987 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39989 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39990 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39992 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39993 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39995 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39996 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39998 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40001 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40004 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40005 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40007 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40008 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40010 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40011 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40013 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40014 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40016 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40017 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40019 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40020 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40022 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40025 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40028 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40029 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40031 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40034 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40035 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40037 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40038 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40040 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40041 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40043 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40044 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40046 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40047 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40049 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40050 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40052 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40053 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40055 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40056 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40058 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40059 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40061 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40062 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40064 static void *_p_wxImageTo_p_wxObject(void *x
) {
40065 return (void *)((wxObject
*) ((wxImage
*) x
));
40067 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40068 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40070 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40071 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40073 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40074 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40076 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40077 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40079 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40080 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40082 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40083 return (void *)((wxObject
*) ((wxImageList
*) x
));
40085 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40086 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40088 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40089 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40091 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40092 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40094 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40095 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40097 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40098 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40100 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40103 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40104 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40106 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40107 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40109 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40110 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40112 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40113 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40115 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40116 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40118 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40119 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40121 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40122 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40124 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40125 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40127 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40128 return (void *)((wxObject
*) ((wxMask
*) x
));
40130 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40131 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40133 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40134 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40136 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40137 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40139 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40140 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40142 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40143 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40145 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40146 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40148 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40149 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40151 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40152 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40154 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40155 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40157 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40158 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40160 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40161 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40163 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40166 static void *_p_wxFontTo_p_wxObject(void *x
) {
40167 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40169 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40170 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40172 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40173 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40175 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40178 static void *_p_wxColourTo_p_wxObject(void *x
) {
40179 return (void *)((wxObject
*) ((wxColour
*) x
));
40181 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40184 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40185 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40187 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40188 return (void *)((wxWindow
*) ((wxControl
*) x
));
40190 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40191 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40193 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40194 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40196 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40197 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40199 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40200 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40202 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40203 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40204 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40205 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};
40206 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40207 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40208 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40209 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40210 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40211 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40212 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40213 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40214 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40215 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40216 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40217 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40218 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40219 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40220 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40221 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40222 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40223 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40224 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40225 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40226 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40227 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40228 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40229 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40230 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40231 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40232 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40233 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40234 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40235 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40236 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40237 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40238 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40239 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40240 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40241 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40242 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40243 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40244 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40245 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40246 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40247 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40248 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40249 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40250 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40251 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40252 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40253 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40254 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40255 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40256 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40257 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40258 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40259 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40260 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40261 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40262 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40263 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40264 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40265 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40266 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40267 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40268 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40269 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40270 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40271 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40272 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40273 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40274 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40275 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40276 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40277 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40278 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40279 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40280 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40281 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40282 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40283 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40284 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40285 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40286 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40287 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40288 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40289 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40290 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40291 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40292 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40293 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40294 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40295 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40296 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40297 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40298 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40299 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40300 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40301 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40302 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40303 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40304 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40305 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40306 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40307 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40308 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40309 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40310 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40311 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40312 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40313 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40314 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40315 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40316 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40317 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40318 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40319 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40320 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40321 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40322 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40323 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40324 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40325 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40326 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40327 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40328 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40329 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40330 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40331 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40332 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40333 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40334 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40335 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40336 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40337 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40338 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40339 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40340 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40341 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40342 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40343 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40344 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40345 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40346 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40347 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40348 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40349 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40350 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40351 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40352 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40353 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40354 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40355 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40356 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40357 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40358 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40359 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40360 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40361 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40362 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40363 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40364 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40365 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40366 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40367 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40368 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40369 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40370 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40371 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40373 static swig_type_info
*swig_type_initial
[] = {
40377 &_swigt__p_form_ops_t
,
40379 &_swigt__p_unsigned_char
,
40380 &_swigt__p_unsigned_int
,
40381 &_swigt__p_unsigned_long
,
40383 &_swigt__p_wxANIHandler
,
40384 &_swigt__p_wxAcceleratorTable
,
40385 &_swigt__p_wxActivateEvent
,
40386 &_swigt__p_wxAlphaPixelData
,
40387 &_swigt__p_wxAlphaPixelData_Accessor
,
40388 &_swigt__p_wxAutoBufferedPaintDC
,
40389 &_swigt__p_wxBMPHandler
,
40390 &_swigt__p_wxBitmap
,
40391 &_swigt__p_wxBoxSizer
,
40392 &_swigt__p_wxBrush
,
40393 &_swigt__p_wxBrushList
,
40394 &_swigt__p_wxBufferedDC
,
40395 &_swigt__p_wxBufferedPaintDC
,
40396 &_swigt__p_wxCURHandler
,
40398 &_swigt__p_wxChildFocusEvent
,
40399 &_swigt__p_wxClientDC
,
40400 &_swigt__p_wxClipboardTextEvent
,
40401 &_swigt__p_wxCloseEvent
,
40402 &_swigt__p_wxColor
,
40403 &_swigt__p_wxColour
,
40404 &_swigt__p_wxColourDatabase
,
40405 &_swigt__p_wxCommandEvent
,
40406 &_swigt__p_wxContextMenuEvent
,
40407 &_swigt__p_wxControl
,
40408 &_swigt__p_wxControlWithItems
,
40409 &_swigt__p_wxCursor
,
40411 &_swigt__p_wxDCBrushChanger
,
40412 &_swigt__p_wxDCClipper
,
40413 &_swigt__p_wxDCOverlay
,
40414 &_swigt__p_wxDCPenChanger
,
40415 &_swigt__p_wxDCTextColourChanger
,
40417 &_swigt__p_wxDateEvent
,
40418 &_swigt__p_wxDisplayChangedEvent
,
40419 &_swigt__p_wxDropFilesEvent
,
40420 &_swigt__p_wxDuplexMode
,
40421 &_swigt__p_wxEffects
,
40422 &_swigt__p_wxEncodingConverter
,
40423 &_swigt__p_wxEraseEvent
,
40424 &_swigt__p_wxEvent
,
40425 &_swigt__p_wxEvtHandler
,
40426 &_swigt__p_wxFSFile
,
40427 &_swigt__p_wxFileSystem
,
40428 &_swigt__p_wxFlexGridSizer
,
40429 &_swigt__p_wxFocusEvent
,
40431 &_swigt__p_wxFontList
,
40432 &_swigt__p_wxFontMapper
,
40433 &_swigt__p_wxGBSizerItem
,
40435 &_swigt__p_wxGDIObjListBase
,
40436 &_swigt__p_wxGDIObject
,
40437 &_swigt__p_wxGIFHandler
,
40438 &_swigt__p_wxGraphicsBrush
,
40439 &_swigt__p_wxGraphicsContext
,
40440 &_swigt__p_wxGraphicsFont
,
40441 &_swigt__p_wxGraphicsMatrix
,
40442 &_swigt__p_wxGraphicsObject
,
40443 &_swigt__p_wxGraphicsPath
,
40444 &_swigt__p_wxGraphicsPen
,
40445 &_swigt__p_wxGraphicsRenderer
,
40446 &_swigt__p_wxGridBagSizer
,
40447 &_swigt__p_wxGridSizer
,
40448 &_swigt__p_wxHeaderButtonParams
,
40449 &_swigt__p_wxICOHandler
,
40451 &_swigt__p_wxIconBundle
,
40452 &_swigt__p_wxIconLocation
,
40453 &_swigt__p_wxIconizeEvent
,
40454 &_swigt__p_wxIdleEvent
,
40455 &_swigt__p_wxImage
,
40456 &_swigt__p_wxImageHandler
,
40457 &_swigt__p_wxImageList
,
40458 &_swigt__p_wxIndividualLayoutConstraint
,
40459 &_swigt__p_wxInitDialogEvent
,
40460 &_swigt__p_wxJPEGHandler
,
40461 &_swigt__p_wxKeyEvent
,
40462 &_swigt__p_wxLanguageInfo
,
40463 &_swigt__p_wxLayoutConstraints
,
40464 &_swigt__p_wxLocale
,
40466 &_swigt__p_wxMaximizeEvent
,
40467 &_swigt__p_wxMemoryDC
,
40469 &_swigt__p_wxMenuBar
,
40470 &_swigt__p_wxMenuEvent
,
40471 &_swigt__p_wxMenuItem
,
40472 &_swigt__p_wxMetaFile
,
40473 &_swigt__p_wxMetaFileDC
,
40474 &_swigt__p_wxMirrorDC
,
40475 &_swigt__p_wxMouseCaptureChangedEvent
,
40476 &_swigt__p_wxMouseCaptureLostEvent
,
40477 &_swigt__p_wxMouseEvent
,
40478 &_swigt__p_wxMoveEvent
,
40479 &_swigt__p_wxNativeEncodingInfo
,
40480 &_swigt__p_wxNativeFontInfo
,
40481 &_swigt__p_wxNativePixelData
,
40482 &_swigt__p_wxNativePixelData_Accessor
,
40483 &_swigt__p_wxNavigationKeyEvent
,
40484 &_swigt__p_wxNcPaintEvent
,
40485 &_swigt__p_wxNotifyEvent
,
40486 &_swigt__p_wxObject
,
40487 &_swigt__p_wxOverlay
,
40488 &_swigt__p_wxPCXHandler
,
40489 &_swigt__p_wxPNGHandler
,
40490 &_swigt__p_wxPNMHandler
,
40491 &_swigt__p_wxPaintDC
,
40492 &_swigt__p_wxPaintEvent
,
40493 &_swigt__p_wxPalette
,
40494 &_swigt__p_wxPaletteChangedEvent
,
40495 &_swigt__p_wxPaperSize
,
40497 &_swigt__p_wxPenList
,
40498 &_swigt__p_wxPixelDataBase
,
40499 &_swigt__p_wxPoint
,
40500 &_swigt__p_wxPoint2D
,
40501 &_swigt__p_wxPoint2DDouble
,
40502 &_swigt__p_wxPostScriptDC
,
40503 &_swigt__p_wxPrintData
,
40504 &_swigt__p_wxPrinterDC
,
40505 &_swigt__p_wxPseudoDC
,
40506 &_swigt__p_wxPyApp
,
40507 &_swigt__p_wxPyCommandEvent
,
40508 &_swigt__p_wxPyEvent
,
40509 &_swigt__p_wxPyFontEnumerator
,
40510 &_swigt__p_wxPyImageHandler
,
40511 &_swigt__p_wxPyLocale
,
40512 &_swigt__p_wxPySizer
,
40513 &_swigt__p_wxPyValidator
,
40514 &_swigt__p_wxQueryNewPaletteEvent
,
40516 &_swigt__p_wxRect2DDouble
,
40517 &_swigt__p_wxRegion
,
40518 &_swigt__p_wxRegionIterator
,
40519 &_swigt__p_wxRendererNative
,
40520 &_swigt__p_wxRendererVersion
,
40521 &_swigt__p_wxScreenDC
,
40522 &_swigt__p_wxScrollEvent
,
40523 &_swigt__p_wxScrollWinEvent
,
40524 &_swigt__p_wxSetCursorEvent
,
40525 &_swigt__p_wxShowEvent
,
40527 &_swigt__p_wxSizeEvent
,
40528 &_swigt__p_wxSizer
,
40529 &_swigt__p_wxSizerItem
,
40530 &_swigt__p_wxSplitterRenderParams
,
40531 &_swigt__p_wxStaticBoxSizer
,
40532 &_swigt__p_wxStdDialogButtonSizer
,
40533 &_swigt__p_wxStockGDI
,
40534 &_swigt__p_wxString
,
40535 &_swigt__p_wxSysColourChangedEvent
,
40536 &_swigt__p_wxTIFFHandler
,
40537 &_swigt__p_wxUpdateUIEvent
,
40538 &_swigt__p_wxValidator
,
40539 &_swigt__p_wxWindow
,
40540 &_swigt__p_wxWindowCreateEvent
,
40541 &_swigt__p_wxWindowDC
,
40542 &_swigt__p_wxWindowDestroyEvent
,
40543 &_swigt__p_wxXPMHandler
,
40546 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40561 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}};
40562 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40564 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}};
40565 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40581 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40583 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}};
40584 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}};
40585 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40586 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40587 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40588 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40589 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}};
40590 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40591 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40592 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40593 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40594 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40595 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40596 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40597 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40598 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40599 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40600 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}};
40601 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40602 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}};
40603 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40604 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40605 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40606 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40607 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40608 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40609 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40610 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40611 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40612 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40613 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40614 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40615 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40616 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40617 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40618 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40619 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40620 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40621 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40622 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40623 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40624 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40625 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40626 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40627 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40628 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40629 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40630 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40631 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40632 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40633 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40634 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40635 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40636 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40637 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40638 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40639 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40640 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40641 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40642 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40643 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40644 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40645 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40646 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40647 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40648 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40649 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40650 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40651 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40652 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40653 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40654 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40655 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40656 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40657 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40658 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40659 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40660 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40661 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40662 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40663 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40664 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40665 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40666 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40667 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40668 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40669 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40670 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40671 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40672 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40673 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40674 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40675 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40676 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40677 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40678 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40679 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40680 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40681 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40682 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40683 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40684 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40685 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40686 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40687 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40688 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40689 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40690 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40691 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40692 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40693 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}};
40694 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40695 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40696 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40697 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40698 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40699 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40700 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40701 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40702 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40703 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40704 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40705 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40706 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40707 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40708 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40709 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40710 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40711 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40712 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40713 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40714 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}};
40715 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40717 static swig_cast_info
*swig_cast_initial
[] = {
40721 _swigc__p_form_ops_t
,
40723 _swigc__p_unsigned_char
,
40724 _swigc__p_unsigned_int
,
40725 _swigc__p_unsigned_long
,
40727 _swigc__p_wxANIHandler
,
40728 _swigc__p_wxAcceleratorTable
,
40729 _swigc__p_wxActivateEvent
,
40730 _swigc__p_wxAlphaPixelData
,
40731 _swigc__p_wxAlphaPixelData_Accessor
,
40732 _swigc__p_wxAutoBufferedPaintDC
,
40733 _swigc__p_wxBMPHandler
,
40734 _swigc__p_wxBitmap
,
40735 _swigc__p_wxBoxSizer
,
40737 _swigc__p_wxBrushList
,
40738 _swigc__p_wxBufferedDC
,
40739 _swigc__p_wxBufferedPaintDC
,
40740 _swigc__p_wxCURHandler
,
40742 _swigc__p_wxChildFocusEvent
,
40743 _swigc__p_wxClientDC
,
40744 _swigc__p_wxClipboardTextEvent
,
40745 _swigc__p_wxCloseEvent
,
40747 _swigc__p_wxColour
,
40748 _swigc__p_wxColourDatabase
,
40749 _swigc__p_wxCommandEvent
,
40750 _swigc__p_wxContextMenuEvent
,
40751 _swigc__p_wxControl
,
40752 _swigc__p_wxControlWithItems
,
40753 _swigc__p_wxCursor
,
40755 _swigc__p_wxDCBrushChanger
,
40756 _swigc__p_wxDCClipper
,
40757 _swigc__p_wxDCOverlay
,
40758 _swigc__p_wxDCPenChanger
,
40759 _swigc__p_wxDCTextColourChanger
,
40761 _swigc__p_wxDateEvent
,
40762 _swigc__p_wxDisplayChangedEvent
,
40763 _swigc__p_wxDropFilesEvent
,
40764 _swigc__p_wxDuplexMode
,
40765 _swigc__p_wxEffects
,
40766 _swigc__p_wxEncodingConverter
,
40767 _swigc__p_wxEraseEvent
,
40769 _swigc__p_wxEvtHandler
,
40770 _swigc__p_wxFSFile
,
40771 _swigc__p_wxFileSystem
,
40772 _swigc__p_wxFlexGridSizer
,
40773 _swigc__p_wxFocusEvent
,
40775 _swigc__p_wxFontList
,
40776 _swigc__p_wxFontMapper
,
40777 _swigc__p_wxGBSizerItem
,
40779 _swigc__p_wxGDIObjListBase
,
40780 _swigc__p_wxGDIObject
,
40781 _swigc__p_wxGIFHandler
,
40782 _swigc__p_wxGraphicsBrush
,
40783 _swigc__p_wxGraphicsContext
,
40784 _swigc__p_wxGraphicsFont
,
40785 _swigc__p_wxGraphicsMatrix
,
40786 _swigc__p_wxGraphicsObject
,
40787 _swigc__p_wxGraphicsPath
,
40788 _swigc__p_wxGraphicsPen
,
40789 _swigc__p_wxGraphicsRenderer
,
40790 _swigc__p_wxGridBagSizer
,
40791 _swigc__p_wxGridSizer
,
40792 _swigc__p_wxHeaderButtonParams
,
40793 _swigc__p_wxICOHandler
,
40795 _swigc__p_wxIconBundle
,
40796 _swigc__p_wxIconLocation
,
40797 _swigc__p_wxIconizeEvent
,
40798 _swigc__p_wxIdleEvent
,
40800 _swigc__p_wxImageHandler
,
40801 _swigc__p_wxImageList
,
40802 _swigc__p_wxIndividualLayoutConstraint
,
40803 _swigc__p_wxInitDialogEvent
,
40804 _swigc__p_wxJPEGHandler
,
40805 _swigc__p_wxKeyEvent
,
40806 _swigc__p_wxLanguageInfo
,
40807 _swigc__p_wxLayoutConstraints
,
40808 _swigc__p_wxLocale
,
40810 _swigc__p_wxMaximizeEvent
,
40811 _swigc__p_wxMemoryDC
,
40813 _swigc__p_wxMenuBar
,
40814 _swigc__p_wxMenuEvent
,
40815 _swigc__p_wxMenuItem
,
40816 _swigc__p_wxMetaFile
,
40817 _swigc__p_wxMetaFileDC
,
40818 _swigc__p_wxMirrorDC
,
40819 _swigc__p_wxMouseCaptureChangedEvent
,
40820 _swigc__p_wxMouseCaptureLostEvent
,
40821 _swigc__p_wxMouseEvent
,
40822 _swigc__p_wxMoveEvent
,
40823 _swigc__p_wxNativeEncodingInfo
,
40824 _swigc__p_wxNativeFontInfo
,
40825 _swigc__p_wxNativePixelData
,
40826 _swigc__p_wxNativePixelData_Accessor
,
40827 _swigc__p_wxNavigationKeyEvent
,
40828 _swigc__p_wxNcPaintEvent
,
40829 _swigc__p_wxNotifyEvent
,
40830 _swigc__p_wxObject
,
40831 _swigc__p_wxOverlay
,
40832 _swigc__p_wxPCXHandler
,
40833 _swigc__p_wxPNGHandler
,
40834 _swigc__p_wxPNMHandler
,
40835 _swigc__p_wxPaintDC
,
40836 _swigc__p_wxPaintEvent
,
40837 _swigc__p_wxPalette
,
40838 _swigc__p_wxPaletteChangedEvent
,
40839 _swigc__p_wxPaperSize
,
40841 _swigc__p_wxPenList
,
40842 _swigc__p_wxPixelDataBase
,
40844 _swigc__p_wxPoint2D
,
40845 _swigc__p_wxPoint2DDouble
,
40846 _swigc__p_wxPostScriptDC
,
40847 _swigc__p_wxPrintData
,
40848 _swigc__p_wxPrinterDC
,
40849 _swigc__p_wxPseudoDC
,
40851 _swigc__p_wxPyCommandEvent
,
40852 _swigc__p_wxPyEvent
,
40853 _swigc__p_wxPyFontEnumerator
,
40854 _swigc__p_wxPyImageHandler
,
40855 _swigc__p_wxPyLocale
,
40856 _swigc__p_wxPySizer
,
40857 _swigc__p_wxPyValidator
,
40858 _swigc__p_wxQueryNewPaletteEvent
,
40860 _swigc__p_wxRect2DDouble
,
40861 _swigc__p_wxRegion
,
40862 _swigc__p_wxRegionIterator
,
40863 _swigc__p_wxRendererNative
,
40864 _swigc__p_wxRendererVersion
,
40865 _swigc__p_wxScreenDC
,
40866 _swigc__p_wxScrollEvent
,
40867 _swigc__p_wxScrollWinEvent
,
40868 _swigc__p_wxSetCursorEvent
,
40869 _swigc__p_wxShowEvent
,
40871 _swigc__p_wxSizeEvent
,
40873 _swigc__p_wxSizerItem
,
40874 _swigc__p_wxSplitterRenderParams
,
40875 _swigc__p_wxStaticBoxSizer
,
40876 _swigc__p_wxStdDialogButtonSizer
,
40877 _swigc__p_wxStockGDI
,
40878 _swigc__p_wxString
,
40879 _swigc__p_wxSysColourChangedEvent
,
40880 _swigc__p_wxTIFFHandler
,
40881 _swigc__p_wxUpdateUIEvent
,
40882 _swigc__p_wxValidator
,
40883 _swigc__p_wxWindow
,
40884 _swigc__p_wxWindowCreateEvent
,
40885 _swigc__p_wxWindowDC
,
40886 _swigc__p_wxWindowDestroyEvent
,
40887 _swigc__p_wxXPMHandler
,
40891 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40893 static swig_const_info swig_const_table
[] = {
40894 {0, 0, 0, 0.0, 0, 0}};
40899 /* -----------------------------------------------------------------------------
40900 * Type initialization:
40901 * This problem is tough by the requirement that no dynamic
40902 * memory is used. Also, since swig_type_info structures store pointers to
40903 * swig_cast_info structures and swig_cast_info structures store pointers back
40904 * to swig_type_info structures, we need some lookup code at initialization.
40905 * The idea is that swig generates all the structures that are needed.
40906 * The runtime then collects these partially filled structures.
40907 * The SWIG_InitializeModule function takes these initial arrays out of
40908 * swig_module, and does all the lookup, filling in the swig_module.types
40909 * array with the correct data and linking the correct swig_cast_info
40910 * structures together.
40912 * The generated swig_type_info structures are assigned staticly to an initial
40913 * array. We just loop though that array, and handle each type individually.
40914 * First we lookup if this type has been already loaded, and if so, use the
40915 * loaded structure instead of the generated one. Then we have to fill in the
40916 * cast linked list. The cast data is initially stored in something like a
40917 * two-dimensional array. Each row corresponds to a type (there are the same
40918 * number of rows as there are in the swig_type_initial array). Each entry in
40919 * a column is one of the swig_cast_info structures for that type.
40920 * The cast_initial array is actually an array of arrays, because each row has
40921 * a variable number of columns. So to actually build the cast linked list,
40922 * we find the array of casts associated with the type, and loop through it
40923 * adding the casts to the list. The one last trick we need to do is making
40924 * sure the type pointer in the swig_cast_info struct is correct.
40926 * First off, we lookup the cast->type name to see if it is already loaded.
40927 * There are three cases to handle:
40928 * 1) If the cast->type has already been loaded AND the type we are adding
40929 * casting info to has not been loaded (it is in this module), THEN we
40930 * replace the cast->type pointer with the type pointer that has already
40932 * 2) If BOTH types (the one we are adding casting info to, and the
40933 * cast->type) are loaded, THEN the cast info has already been loaded by
40934 * the previous module so we just ignore it.
40935 * 3) Finally, if cast->type has not already been loaded, then we add that
40936 * swig_cast_info to the linked list (because the cast->type) pointer will
40938 * ----------------------------------------------------------------------------- */
40948 #define SWIGRUNTIME_DEBUG
40952 SWIG_InitializeModule(void *clientdata
) {
40954 swig_module_info
*module_head
;
40955 static int init_run
= 0;
40957 clientdata
= clientdata
;
40959 if (init_run
) return;
40962 /* Initialize the swig_module */
40963 swig_module
.type_initial
= swig_type_initial
;
40964 swig_module
.cast_initial
= swig_cast_initial
;
40966 /* Try and load any already created modules */
40967 module_head
= SWIG_GetModule(clientdata
);
40969 swig_module
.next
= module_head
->next
;
40970 module_head
->next
= &swig_module
;
40972 /* This is the first module loaded */
40973 swig_module
.next
= &swig_module
;
40974 SWIG_SetModule(clientdata
, &swig_module
);
40977 /* Now work on filling in swig_module.types */
40978 #ifdef SWIGRUNTIME_DEBUG
40979 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40981 for (i
= 0; i
< swig_module
.size
; ++i
) {
40982 swig_type_info
*type
= 0;
40983 swig_type_info
*ret
;
40984 swig_cast_info
*cast
;
40986 #ifdef SWIGRUNTIME_DEBUG
40987 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40990 /* if there is another module already loaded */
40991 if (swig_module
.next
!= &swig_module
) {
40992 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40995 /* Overwrite clientdata field */
40996 #ifdef SWIGRUNTIME_DEBUG
40997 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40999 if (swig_module
.type_initial
[i
]->clientdata
) {
41000 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41001 #ifdef SWIGRUNTIME_DEBUG
41002 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41006 type
= swig_module
.type_initial
[i
];
41009 /* Insert casting types */
41010 cast
= swig_module
.cast_initial
[i
];
41011 while (cast
->type
) {
41012 /* Don't need to add information already in the list */
41014 #ifdef SWIGRUNTIME_DEBUG
41015 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41017 if (swig_module
.next
!= &swig_module
) {
41018 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41019 #ifdef SWIGRUNTIME_DEBUG
41020 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41024 if (type
== swig_module
.type_initial
[i
]) {
41025 #ifdef SWIGRUNTIME_DEBUG
41026 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41031 /* Check for casting already in the list */
41032 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41033 #ifdef SWIGRUNTIME_DEBUG
41034 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41036 if (!ocast
) ret
= 0;
41041 #ifdef SWIGRUNTIME_DEBUG
41042 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41045 type
->cast
->prev
= cast
;
41046 cast
->next
= type
->cast
;
41052 /* Set entry in modules->types array equal to the type */
41053 swig_module
.types
[i
] = type
;
41055 swig_module
.types
[i
] = 0;
41057 #ifdef SWIGRUNTIME_DEBUG
41058 printf("**** SWIG_InitializeModule: Cast List ******\n");
41059 for (i
= 0; i
< swig_module
.size
; ++i
) {
41061 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41062 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41063 while (cast
->type
) {
41064 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41068 printf("---- Total casts: %d\n",j
);
41070 printf("**** SWIG_InitializeModule: Cast List ******\n");
41074 /* This function will propagate the clientdata field of type to
41075 * any new swig_type_info structures that have been added into the list
41076 * of equivalent types. It is like calling
41077 * SWIG_TypeClientData(type, clientdata) a second time.
41080 SWIG_PropagateClientData(void) {
41082 swig_cast_info
*equiv
;
41083 static int init_run
= 0;
41085 if (init_run
) return;
41088 for (i
= 0; i
< swig_module
.size
; i
++) {
41089 if (swig_module
.types
[i
]->clientdata
) {
41090 equiv
= swig_module
.types
[i
]->cast
;
41092 if (!equiv
->converter
) {
41093 if (equiv
->type
&& !equiv
->type
->clientdata
)
41094 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41096 equiv
= equiv
->next
;
41116 /* Python-specific SWIG API */
41117 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41118 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41119 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41121 /* -----------------------------------------------------------------------------
41122 * global variable support code.
41123 * ----------------------------------------------------------------------------- */
41125 typedef struct swig_globalvar
{
41126 char *name
; /* Name of global variable */
41127 PyObject
*(*get_attr
)(void); /* Return the current value */
41128 int (*set_attr
)(PyObject
*); /* Set the value */
41129 struct swig_globalvar
*next
;
41132 typedef struct swig_varlinkobject
{
41134 swig_globalvar
*vars
;
41135 } swig_varlinkobject
;
41137 SWIGINTERN PyObject
*
41138 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41139 return PyString_FromString("<Swig global variables>");
41142 SWIGINTERN PyObject
*
41143 swig_varlink_str(swig_varlinkobject
*v
) {
41144 PyObject
*str
= PyString_FromString("(");
41145 swig_globalvar
*var
;
41146 for (var
= v
->vars
; var
; var
=var
->next
) {
41147 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41148 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41150 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41155 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41156 PyObject
*str
= swig_varlink_str(v
);
41157 fprintf(fp
,"Swig global variables ");
41158 fprintf(fp
,"%s\n", PyString_AsString(str
));
41164 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41165 swig_globalvar
*var
= v
->vars
;
41167 swig_globalvar
*n
= var
->next
;
41174 SWIGINTERN PyObject
*
41175 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41176 PyObject
*res
= NULL
;
41177 swig_globalvar
*var
= v
->vars
;
41179 if (strcmp(var
->name
,n
) == 0) {
41180 res
= (*var
->get_attr
)();
41185 if (res
== NULL
&& !PyErr_Occurred()) {
41186 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41192 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41194 swig_globalvar
*var
= v
->vars
;
41196 if (strcmp(var
->name
,n
) == 0) {
41197 res
= (*var
->set_attr
)(p
);
41202 if (res
== 1 && !PyErr_Occurred()) {
41203 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41208 SWIGINTERN PyTypeObject
*
41209 swig_varlink_type(void) {
41210 static char varlink__doc__
[] = "Swig var link object";
41211 static PyTypeObject varlink_type
;
41212 static int type_init
= 0;
41214 const PyTypeObject tmp
41216 PyObject_HEAD_INIT(NULL
)
41217 0, /* Number of items in variable part (ob_size) */
41218 (char *)"swigvarlink", /* Type name (tp_name) */
41219 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41220 0, /* Itemsize (tp_itemsize) */
41221 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41222 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41223 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41224 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41225 0, /* tp_compare */
41226 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41227 0, /* tp_as_number */
41228 0, /* tp_as_sequence */
41229 0, /* tp_as_mapping */
41232 (reprfunc
)swig_varlink_str
, /* tp_str */
41233 0, /* tp_getattro */
41234 0, /* tp_setattro */
41235 0, /* tp_as_buffer */
41237 varlink__doc__
, /* tp_doc */
41238 0, /* tp_traverse */
41240 0, /* tp_richcompare */
41241 0, /* tp_weaklistoffset */
41242 #if PY_VERSION_HEX >= 0x02020000
41243 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41245 #if PY_VERSION_HEX >= 0x02030000
41248 #ifdef COUNT_ALLOCS
41249 0,0,0,0 /* tp_alloc -> tp_next */
41252 varlink_type
= tmp
;
41253 varlink_type
.ob_type
= &PyType_Type
;
41256 return &varlink_type
;
41259 /* Create a variable linking object for use later */
41260 SWIGINTERN PyObject
*
41261 SWIG_Python_newvarlink(void) {
41262 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41266 return ((PyObject
*) result
);
41270 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41271 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41272 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41274 size_t size
= strlen(name
)+1;
41275 gv
->name
= (char *)malloc(size
);
41277 strncpy(gv
->name
,name
,size
);
41278 gv
->get_attr
= get_attr
;
41279 gv
->set_attr
= set_attr
;
41280 gv
->next
= v
->vars
;
41286 SWIGINTERN PyObject
*
41288 static PyObject
*_SWIG_globals
= 0;
41289 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41290 return _SWIG_globals
;
41293 /* -----------------------------------------------------------------------------
41294 * constants/methods manipulation
41295 * ----------------------------------------------------------------------------- */
41297 /* Install Constants */
41299 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41302 for (i
= 0; constants
[i
].type
; ++i
) {
41303 switch(constants
[i
].type
) {
41304 case SWIG_PY_POINTER
:
41305 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41307 case SWIG_PY_BINARY
:
41308 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41315 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41321 /* -----------------------------------------------------------------------------*/
41322 /* Fix SwigMethods to carry the callback ptrs when needed */
41323 /* -----------------------------------------------------------------------------*/
41326 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41327 swig_const_info
*const_table
,
41328 swig_type_info
**types
,
41329 swig_type_info
**types_initial
) {
41331 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41332 const char *c
= methods
[i
].ml_doc
;
41333 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41335 swig_const_info
*ci
= 0;
41336 const char *name
= c
+ 10;
41337 for (j
= 0; const_table
[j
].type
; ++j
) {
41338 if (strncmp(const_table
[j
].name
, name
,
41339 strlen(const_table
[j
].name
)) == 0) {
41340 ci
= &(const_table
[j
]);
41345 size_t shift
= (ci
->ptype
) - types
;
41346 swig_type_info
*ty
= types_initial
[shift
];
41347 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41348 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41349 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41352 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41354 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41356 strncpy(buff
, "swig_ptr: ", 10);
41358 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41359 methods
[i
].ml_doc
= ndoc
;
41371 /* -----------------------------------------------------------------------------*
41372 * Partial Init method
41373 * -----------------------------------------------------------------------------*/
41378 SWIGEXPORT
void SWIG_init(void) {
41381 /* Fix SwigMethods to carry the callback ptrs when needed */
41382 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41384 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41385 d
= PyModule_GetDict(m
);
41387 SWIG_InitializeModule(0);
41388 SWIG_InstallConstants(d
,swig_const_table
);
41391 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41392 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41393 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41394 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41395 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41396 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41397 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41398 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41399 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41400 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41401 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41402 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41403 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41404 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41405 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41406 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41407 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41408 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41409 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41410 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41411 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41412 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41413 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41414 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41415 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41416 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41417 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41418 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41419 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41420 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41421 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41422 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41423 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41424 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41425 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41426 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41427 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41428 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41429 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41430 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41431 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41432 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41433 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41434 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41435 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41436 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41437 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41438 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41439 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41440 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41441 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41442 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41443 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41444 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41445 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41446 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41447 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41448 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41449 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41450 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41451 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41452 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41453 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41454 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41455 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41456 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41457 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41458 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41459 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41460 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41461 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41462 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41463 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41464 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41465 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41466 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41467 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41468 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41469 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41470 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41471 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41472 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41473 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41474 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41475 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41476 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41477 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41478 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41479 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41480 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41481 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41482 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41483 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41484 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41485 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41486 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41487 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41488 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41489 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41490 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41491 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41492 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41493 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41494 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41495 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41496 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41497 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41498 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41499 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41500 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41501 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41502 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41503 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41504 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41505 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41506 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41507 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41508 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41509 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41510 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41511 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41512 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41513 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41514 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41515 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41516 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41517 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41518 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41519 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41520 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41521 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41522 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41524 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41634 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41635 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41636 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41637 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41638 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41639 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41640 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41641 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41642 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41643 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41644 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41645 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41646 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41647 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41648 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41649 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41650 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41651 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41652 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41653 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41654 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41655 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41656 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41657 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41658 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41659 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41660 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41661 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41662 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41663 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41664 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41665 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41666 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41667 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41668 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41669 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41670 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41671 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41672 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41673 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41674 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41675 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41676 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41677 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41678 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41679 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41680 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41681 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41682 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41683 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41684 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41685 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41686 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41687 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41688 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41689 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41690 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41691 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41692 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41693 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41694 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41695 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41696 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41697 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41698 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41699 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41700 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41701 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41702 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41703 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41704 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41705 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41706 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41707 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41708 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41709 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41710 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41711 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41712 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41713 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41714 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41715 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41716 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41717 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41718 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41719 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41720 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41721 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41722 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41723 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41724 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41725 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41726 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41727 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41728 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41729 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41730 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41731 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41732 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41733 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41734 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41735 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41736 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41737 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41738 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41739 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41740 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41741 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41742 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41743 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41744 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41745 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41746 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41747 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41748 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41749 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41750 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41751 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41752 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41753 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41754 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41755 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41756 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41757 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41758 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41759 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41760 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41761 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41762 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41763 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41764 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41765 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41766 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41767 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41768 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41769 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41770 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41771 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41772 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41773 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41774 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41775 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41776 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41777 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41778 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41779 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41780 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41781 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41782 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41783 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41784 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41785 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41786 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41787 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41788 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41789 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41790 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41791 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41792 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41793 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41794 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41795 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41796 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41797 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41798 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41799 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41800 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41801 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41802 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41803 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41804 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41805 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41806 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41807 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41808 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41809 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41810 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41811 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41812 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41813 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41814 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41815 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41816 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41817 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41818 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41819 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41820 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41821 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41822 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41823 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41824 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41825 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41826 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41827 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41828 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41829 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41830 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41831 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41832 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41833 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41834 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41835 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41836 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41837 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41838 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41839 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41840 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41841 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41842 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41843 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41844 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41845 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41846 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41847 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41848 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41849 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41851 // Work around a chicken/egg problem in drawlist.cpp
41852 wxPyDrawList_SetAPIPtr();