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_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDash swig_types[38]
2505 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[42]
2509 #define SWIGTYPE_p_wxEffects swig_types[43]
2510 #define SWIGTYPE_p_wxEncodingConverter swig_types[44]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvent swig_types[46]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
2514 #define SWIGTYPE_p_wxFSFile swig_types[48]
2515 #define SWIGTYPE_p_wxFileSystem swig_types[49]
2516 #define SWIGTYPE_p_wxFlexGridSizer swig_types[50]
2517 #define SWIGTYPE_p_wxFocusEvent swig_types[51]
2518 #define SWIGTYPE_p_wxFont swig_types[52]
2519 #define SWIGTYPE_p_wxFontList swig_types[53]
2520 #define SWIGTYPE_p_wxFontMapper swig_types[54]
2521 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2522 #define SWIGTYPE_p_wxGCDC swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObjListBase swig_types[57]
2524 #define SWIGTYPE_p_wxGDIObject swig_types[58]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsContext swig_types[60]
2527 #define SWIGTYPE_p_wxGraphicsPath swig_types[61]
2528 #define SWIGTYPE_p_wxGridBagSizer swig_types[62]
2529 #define SWIGTYPE_p_wxGridSizer swig_types[63]
2530 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[64]
2531 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2532 #define SWIGTYPE_p_wxIcon swig_types[66]
2533 #define SWIGTYPE_p_wxIconBundle swig_types[67]
2534 #define SWIGTYPE_p_wxIconLocation swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxImageList swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxLanguageInfo swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLocale swig_types[80]
2547 #define SWIGTYPE_p_wxMask swig_types[81]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[83]
2550 #define SWIGTYPE_p_wxMenu swig_types[84]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[85]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFile swig_types[88]
2555 #define SWIGTYPE_p_wxMetaFileDC swig_types[89]
2556 #define SWIGTYPE_p_wxMirrorDC swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2561 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativeFontInfo swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData swig_types[97]
2564 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[98]
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxObject swig_types[102]
2569 #define SWIGTYPE_p_wxOverlay swig_types[103]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPaintDC swig_types[107]
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPalette swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPen swig_types[112]
2579 #define SWIGTYPE_p_wxPenList swig_types[113]
2580 #define SWIGTYPE_p_wxPixelDataBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPoint2D swig_types[116]
2583 #define SWIGTYPE_p_wxPostScriptDC swig_types[117]
2584 #define SWIGTYPE_p_wxPrintData swig_types[118]
2585 #define SWIGTYPE_p_wxPrinterDC swig_types[119]
2586 #define SWIGTYPE_p_wxPseudoDC swig_types[120]
2587 #define SWIGTYPE_p_wxPyApp swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLocale swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxRegionIterator swig_types[132]
2599 #define SWIGTYPE_p_wxRendererNative swig_types[133]
2600 #define SWIGTYPE_p_wxRendererVersion swig_types[134]
2601 #define SWIGTYPE_p_wxScreenDC swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStockGDI swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
2618 #define SWIGTYPE_p_wxValidator swig_types[152]
2619 #define SWIGTYPE_p_wxWindow swig_types[153]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDC swig_types[155]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
2624 static swig_type_info
*swig_types
[159];
2625 static swig_module_info swig_module
= {swig_types
, 158, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629 /* -------- TYPES TABLE (END) -------- */
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2646 /*-----------------------------------------------
2647 @(target):= _gdi_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_gdi_
2651 #define SWIG_name "_gdi_"
2653 #define SWIGVERSION 0x010329
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2660 #include <stdexcept>
2664 class PyObject_ptr
{
2669 PyObject_ptr() :_obj(0)
2673 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2678 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2680 if (initial_ref
) Py_XINCREF(_obj
);
2683 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2685 Py_XINCREF(item
._obj
);
2696 operator PyObject
*() const
2701 PyObject
*operator->() const
2710 struct PyObject_var
: PyObject_ptr
{
2711 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2713 PyObject_var
& operator = (PyObject
* obj
)
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 #define SWIG_From_long PyInt_FromLong
2732 SWIGINTERNINLINE PyObject
*
2733 SWIG_From_int (int value
)
2735 return SWIG_From_long (value
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2766 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2767 return SWIG_TypeError
;
2770 *val
= (unsigned long)v
;
2776 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2779 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2780 if (SWIG_IsOK(res
)) {
2781 if ((v
> UCHAR_MAX
)) {
2782 return SWIG_OverflowError
;
2784 if (val
) *val
= static_cast< unsigned char >(v
);
2791 SWIGINTERNINLINE PyObject
*
2792 SWIG_From_unsigned_SS_long (unsigned long value
)
2794 return (value
> LONG_MAX
) ?
2795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_unsigned_SS_char (unsigned char value
)
2802 return SWIG_From_unsigned_SS_long (value
);
2805 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return false;
2808 if ( ! wxColour_helper(other
, &obj
) ) {
2812 return self
->operator==(*obj
);
2814 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2815 wxColour temp
, *obj
= &temp
;
2816 if ( other
== Py_None
) return true;
2817 if ( ! wxColour_helper(other
, &obj
)) {
2821 return self
->operator!=(*obj
);
2825 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2827 if (obj
== Py_True
) {
2828 if (val
) *val
= true;
2830 } else if (obj
== Py_False
) {
2831 if (val
) *val
= false;
2835 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2836 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2841 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2842 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2846 int alpha
= wxALPHA_OPAQUE
;
2849 green
= self
->Green();
2850 blue
= self
->Blue();
2851 alpha
= self
->Alpha();
2853 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2854 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2855 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2857 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2860 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2861 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2865 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2868 int res
= SWIG_AsVal_long (obj
, &v
);
2869 if (SWIG_IsOK(res
)) {
2870 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2871 return SWIG_OverflowError
;
2873 if (val
) *val
= static_cast< int >(v
);
2879 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2881 int count
= self
->GetDashes(&dashes
);
2882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2883 PyObject
* retval
= PyList_New(0);
2884 for (int x
=0; x
<count
; x
++) {
2885 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2886 PyList_Append(retval
, pyint
);
2889 wxPyEndBlockThreads(blocked
);
2892 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 int size
= PyList_Size(pyDashes
);
2895 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2897 // black magic warning! The array of wxDashes needs to exist as
2898 // long as the pen does because wxPen does not copy the array. So
2899 // stick a copy in a Python string object and attach it to _self,
2900 // and then call SetDashes with a pointer to that array. Then
2901 // when the Python pen object is destroyed the array will be
2903 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2904 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2906 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2908 Py_DECREF(strDashes
);
2909 wxPyEndBlockThreads(blocked
);
2911 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2912 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2914 #include <wx/rawbmp.h>
2917 #include <wx/image.h>
2919 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2920 char** cArray
= NULL
;
2923 if (!PyList_Check(listOfStrings
)) {
2924 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2927 count
= PyList_Size(listOfStrings
);
2928 cArray
= new char*[count
];
2930 for(int x
=0; x
<count
; x
++) {
2931 // TODO: Need some validation and error checking here
2932 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2938 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2939 char** cArray
= NULL
;
2942 cArray
= ConvertListOfStrings(listOfStrings
);
2945 bmp
= new wxBitmap(cArray
);
2949 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2952 PyString_AsStringAndSize(bits
, &buf
, &length
);
2953 return new wxBitmap(buf
, width
, height
, depth
);
2955 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2956 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2957 wxSize
size(self
->GetWidth(), self
->GetHeight());
2960 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2961 wxMask
*mask
= new wxMask(*self
, colour
);
2962 self
->SetMask(mask
);
2964 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2965 self
->SetWidth(size
.x
);
2966 self
->SetHeight(size
.y
);
2968 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2969 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2971 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2972 // appears to me that the other platforms are already doing it, so I'll just
2973 // automatically do it for wxMSW here.
2975 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2976 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2978 #define wxPy_premultiply(p, a) (p)
2979 #define wxPy_unpremultiply(p, a) (p)
2983 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2984 buffer data
, int DATASIZE
,
2985 buffer alpha
, int ALPHASIZE
)
2987 if (DATASIZE
!= width
*height
*3) {
2988 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2992 if (ALPHASIZE
!= width
*height
) {
2993 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2997 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2998 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3007 wxAlphaPixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxAlphaPixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 byte a
= *(alpha
++);
3012 p
.Red() = wxPy_premultiply(*(data
++), a
);
3013 p
.Green() = wxPy_premultiply(*(data
++), a
);
3014 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3019 p
.OffsetY(pixData
, 1);
3024 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3026 if (DATASIZE
!= width
*height
*3) {
3027 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3031 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3032 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3034 // raise an exception...
3035 wxPyErr_SetString(PyExc_RuntimeError
,
3036 "Failed to gain raw access to bitmap data.");
3040 wxNativePixelData::Iterator
p(pixData
);
3041 for (int y
=0; y
<height
; y
++) {
3042 wxNativePixelData::Iterator rowStart
= p
;
3043 for (int x
=0; x
<width
; x
++) {
3044 p
.Red() = *(data
++);
3045 p
.Green() = *(data
++);
3046 p
.Blue() = *(data
++);
3050 p
.OffsetY(pixData
, 1);
3056 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3058 if (DATASIZE
!= width
*height
*4) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3064 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3066 // raise an exception...
3067 wxPyErr_SetString(PyExc_RuntimeError
,
3068 "Failed to gain raw access to bitmap data.");
3073 wxAlphaPixelData::Iterator
p(pixData
);
3074 for (int y
=0; y
<height
; y
++) {
3075 wxAlphaPixelData::Iterator rowStart
= p
;
3076 for (int x
=0; x
<width
; x
++) {
3078 p
.Red() = wxPy_premultiply(*(data
++), a
);
3079 p
.Green() = wxPy_premultiply(*(data
++), a
);
3080 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3081 p
.Alpha() = a
; data
++;
3085 p
.OffsetY(pixData
, 1);
3091 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3093 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3094 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3095 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3097 self
->Green() = green
;
3098 self
->Blue() = blue
;
3100 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3101 PyObject
* rv
= PyTuple_New(3);
3102 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3103 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3104 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3108 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3110 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3111 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3112 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3113 self
->Red() = wxPy_premultiply(red
, alpha
);
3114 self
->Green() = wxPy_premultiply(green
, alpha
);
3115 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3116 self
->Alpha() = alpha
;
3118 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3119 PyObject
* rv
= PyTuple_New(4);
3120 int red
= self
->Red();
3121 int green
= self
->Green();
3122 int blue
= self
->Blue();
3123 int alpha
= self
->Alpha();
3125 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3126 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3127 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3128 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3131 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3132 if ( !colour
.IsOk() )
3133 return new wxMask(bitmap
, *wxBLACK
);
3135 return new wxMask(bitmap
, colour
);
3138 #include <wx/iconbndl.h>
3140 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3141 wxIcon
* icon
= new wxIcon();
3142 icon
->CopyFromBitmap(bmp
);
3145 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3146 char** cArray
= NULL
;
3149 cArray
= ConvertListOfStrings(listOfStrings
);
3152 icon
= new wxIcon(cArray
);
3156 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3157 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3159 return new wxIconLocation(*filename
, num
);
3164 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3166 self
->SetIndex(num
);
3171 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3173 return self
->GetIndex();
3178 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3180 wxImage
img(cursorName
, type
);
3181 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3182 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3183 return new wxCursor(img
);
3185 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3188 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3191 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3194 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3195 return self
->operator bool();
3198 #include <wx/fontutil.h>
3199 #include <wx/fontmap.h>
3200 #include <wx/fontenum.h>
3202 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3203 return self
->ToString();
3206 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3207 { wxPyRaiseNotImplemented(); return NULL
; }
3209 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3210 { wxPyRaiseNotImplemented(); return false; }
3213 SWIGINTERNINLINE PyObject
*
3214 SWIG_From_size_t (size_t value
)
3216 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3220 SWIGINTERNINLINE
int
3221 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3224 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3225 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3229 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3230 wxFontEncoding alt_enc
;
3231 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3232 return PyInt_FromLong(alt_enc
);
3238 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3239 wxNativeFontInfo nfi
;
3240 nfi
.FromString(info
);
3241 return new wxFont(nfi
);
3243 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3244 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3246 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3247 return wxFontBase::New(pixelSize
, family
,
3248 style
, weight
, underlined
,
3251 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3252 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3254 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3255 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3257 class wxPyFontEnumerator
: public wxFontEnumerator
{
3259 wxPyFontEnumerator() {}
3260 ~wxPyFontEnumerator() {}
3262 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3263 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3268 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3269 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3272 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3274 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3275 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3276 ret
= wxArrayString2PyList_helper(arr
);
3277 wxPyEndBlockThreads(blocked
);
3280 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3282 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 ret
= wxArrayString2PyList_helper(arr
);
3285 wxPyEndBlockThreads(blocked
);
3291 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3294 loc
= new wxLocale();
3296 loc
= new wxLocale(language
, flags
);
3297 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3298 // for the floating point conversions and such to work right.
3299 #if PY_VERSION_HEX < 0x02040000
3300 setlocale(LC_NUMERIC
, "C");
3304 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3305 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3306 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3307 // for the floating point conversions and such to work right.
3308 #if PY_VERSION_HEX < 0x02040000
3309 setlocale(LC_NUMERIC
, "C");
3313 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3314 bool rc
= self
->Init(language
, flags
);
3315 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3316 // for the floating point conversions and such to work right.
3317 #if PY_VERSION_HEX < 0x02040000
3318 setlocale(LC_NUMERIC
, "C");
3323 class wxPyLocale
: public wxLocale
3328 wxPyLocale(const wxChar
*szName
, // name (for messages)
3329 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3330 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3331 bool bLoadDefault
= true, // preload wxstd.mo?
3332 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3334 wxPyLocale(int language
, // wxLanguage id or custom language
3335 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3339 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3340 const wxChar
*szDomain
= NULL
) const;
3341 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3342 const wxChar
*szOrigString2
, size_t n
,
3343 const wxChar
*szDomain
= NULL
) const;
3345 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3346 const wxChar
*szDomain
= NULL
) const;
3347 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3348 const wxChar
*szOrigString2
, size_t n
,
3349 const wxChar
*szDomain
= NULL
) const;
3353 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3356 wxPyLocale::wxPyLocale() : wxLocale()
3360 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3361 const wxChar
*szShort
, // dir prefix (for msg files)
3362 const wxChar
*szLocale
, // locale (for setlocale)
3363 bool bLoadDefault
, // preload wxstd.mo?
3364 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3365 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3369 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3370 int flags
) : wxLocale(language
, flags
)
3374 wxPyLocale::~wxPyLocale()
3378 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3379 const wxChar
*szDomain
) const
3381 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3382 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3385 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3386 const wxChar
*szOrigString2
, size_t n
,
3387 const wxChar
*szDomain
) const
3389 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3390 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3393 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3394 const wxChar
*szDomain
) const
3397 static wxString str
;
3398 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.
3399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3400 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3401 PyObject
* param1
= wx2PyString(szOrigString
);
3402 PyObject
* param2
= wx2PyString(szDomain
);
3403 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3407 str
= Py2wxString(ret
);
3411 wxPyEndBlockThreads(blocked
);
3412 return (found
? (wxChar
*)str
.c_str() : NULL
);
3415 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3416 const wxChar
*szOrigString2
, size_t n
,
3417 const wxChar
*szDomain
) const
3420 static wxString str
;
3421 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.
3422 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3423 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3424 PyObject
* param1
= wx2PyString(szOrigString
);
3425 PyObject
* param2
= wx2PyString(szOrigString2
);
3426 PyObject
* param4
= wx2PyString(szDomain
);
3427 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3432 str
= Py2wxString(ret
);
3436 wxPyEndBlockThreads(blocked
);
3437 return (found
? (wxChar
*)str
.c_str() : NULL
);
3440 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3443 loc
= new wxPyLocale();
3445 loc
= new wxPyLocale(language
, flags
);
3446 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3447 // for the floating point conversions and such to work right.
3448 #if PY_VERSION_HEX < 0x02040000
3449 setlocale(LC_NUMERIC
, "C");
3454 #include "wx/wxPython/pydrawxxx.h"
3456 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3458 self
->GetPixel(x
, y
, &col
);
3461 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3463 self
->GetPixel(pt
, &col
);
3468 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3470 if (PyNumber_Check(obj
)) {
3471 if (val
) *val
= PyFloat_AsDouble(obj
);
3474 return SWIG_TypeError
;
3477 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3479 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3482 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3484 self
->GetClippingBox(rect
);
3487 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3489 self
->GetPartialTextExtents(text
, widths
);
3493 #define SWIG_From_double PyFloat_FromDouble
3495 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3496 self
->SetLogicalOrigin(point
.x
, point
.y
);
3498 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3499 self
->SetDeviceOrigin(point
.x
, point
.y
);
3501 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3502 self
->CalcBoundingBox(point
.x
, point
.y
);
3504 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3505 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3507 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3508 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3510 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3511 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3513 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3514 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3516 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3517 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3519 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3520 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3523 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3531 #include <wx/dcbuffer.h>
3534 #include <wx/dcps.h>
3537 #include <wx/metafile.h>
3540 #include <wx/graphics.h>
3543 #if !wxUSE_GRAPHICS_CONTEXT
3544 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3546 class wxGraphicsPath
3550 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3551 PyErr_SetString(PyExc_NotImplementedError
,
3552 "wxGraphicsPath is not available on this platform.");
3553 wxPyEndBlockThreads(blocked
);
3555 virtual ~wxGraphicsPath() {}
3557 void MoveToPoint( wxDouble
, wxDouble
) {}
3558 void AddLineToPoint( wxDouble
, wxDouble
) {}
3559 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3560 void CloseSubpath() {}
3561 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3562 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3564 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3565 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3566 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3567 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3569 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3570 void MoveToPoint( const wxPoint2DDouble
& ) {}
3571 void AddLineToPoint( const wxPoint2DDouble
&) {}
3572 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3573 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3577 class wxGraphicsContext
3580 wxGraphicsContext() {
3581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3582 PyErr_SetString(PyExc_NotImplementedError
,
3583 "wxGraphicsContext is not available on this platform.");
3584 wxPyEndBlockThreads(blocked
);
3586 virtual ~wxGraphicsContext() {}
3588 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3589 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3590 PyErr_SetString(PyExc_NotImplementedError
,
3591 "wxGraphicsPath is not available on this platform.");
3592 wxPyEndBlockThreads(blocked
);
3596 static wxGraphicsContext
* CreateFromNative( void * ) {
3597 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3598 PyErr_SetString(PyExc_NotImplementedError
,
3599 "wxGraphicsContext is not available on this platform.");
3600 wxPyEndBlockThreads(blocked
);
3604 wxGraphicsPath
* CreatePath() { return NULL
; }
3607 void Clip( const wxRegion
& ) {}
3608 void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3610 void * GetNativeContext() { return NULL
; }
3611 void Translate( wxDouble
, wxDouble
) {}
3612 void Scale( wxDouble
, wxDouble
) {}
3613 void Rotate( wxDouble
) {}
3614 void SetPen( const wxPen
& ) {}
3615 void SetBrush( const wxBrush
& ) {}
3616 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3617 const wxColour
&, const wxColour
&) {}
3618 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3619 const wxColour
&, const wxColour
&) {}
3620 void SetFont( const wxFont
& ) {}
3621 void SetTextColor( const wxColour
& ) {}
3622 void StrokePath( const wxGraphicsPath
* ) {}
3623 void FillPath( const wxGraphicsPath
*, int ) {}
3624 void DrawPath( const wxGraphicsPath
*, int ) {}
3625 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3626 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3627 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3628 wxDouble
*, wxDouble
* ) const {}
3629 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3630 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3631 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3632 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3633 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3634 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3635 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3636 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3637 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 class wxGCDC
: public wxWindowDC
3645 wxGCDC(const wxWindowDC
&) {
3646 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3647 PyErr_SetString(PyExc_NotImplementedError
,
3648 "wxGCDC is not available on this platform.");
3649 wxPyEndBlockThreads(blocked
);
3653 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3654 PyErr_SetString(PyExc_NotImplementedError
,
3655 "wxGCDC is not available on this platform.");
3656 wxPyEndBlockThreads(blocked
);
3659 virtual ~wxGCDC() {}
3661 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3662 void SetGraphicsContext( wxGraphicsContext
* ) {}
3667 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3668 wxArrayDouble widths
;
3669 self
->GetPartialTextExtents(text
, widths
);
3672 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3673 size_t c1
, c2
, count
;
3674 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3675 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3677 if ( beginP
!= NULL
&& endP
!= NULL
)
3679 count
= wxMin(c1
, c2
);
3680 self
->StrokeLines(count
, beginP
, endP
);
3686 #include "wx/dcgraph.h"
3689 #include <wx/overlay.h>
3693 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3694 self
->AddColour(name
, wxColour(red
, green
, blue
));
3697 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3698 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3699 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3700 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3703 #include <wx/effects.h>
3706 #include "wx/renderer.h"
3709 SWIGINTERNINLINE PyObject
*
3710 SWIG_From_bool (bool value
)
3712 return PyBool_FromLong(value
? 1 : 0);
3716 #include "wx/wxPython/pseudodc.h"
3718 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3720 self
->GetIdBounds(id
, rect
);
3726 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3727 PyObject
*resultobj
= 0;
3728 wxGDIObject
*result
= 0 ;
3730 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3732 if (!wxPyCheckForApp()) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= (wxGDIObject
*)new wxGDIObject();
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3745 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3746 PyObject
*resultobj
= 0;
3747 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3750 PyObject
*swig_obj
[1] ;
3752 if (!args
) SWIG_fail
;
3754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3755 if (!SWIG_IsOK(res1
)) {
3756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3758 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= SWIG_Py_Void();
3773 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3774 PyObject
*resultobj
= 0;
3775 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3779 PyObject
*swig_obj
[1] ;
3781 if (!args
) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3787 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (bool)(arg1
)->IsNull();
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3803 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3806 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3807 return SWIG_Py_Void();
3810 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3811 return SWIG_Python_InitShadowInstance(args
);
3814 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
= 0;
3816 byte arg1
= (byte
) 0 ;
3817 byte arg2
= (byte
) 0 ;
3818 byte arg3
= (byte
) 0 ;
3819 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3820 wxColour
*result
= 0 ;
3821 unsigned char val1
;
3823 unsigned char val2
;
3825 unsigned char val3
;
3827 unsigned char val4
;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3831 PyObject
* obj2
= 0 ;
3832 PyObject
* obj3
= 0 ;
3833 char * kwnames
[] = {
3834 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3839 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3840 if (!SWIG_IsOK(ecode1
)) {
3841 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3843 arg1
= static_cast< byte
>(val1
);
3846 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3847 if (!SWIG_IsOK(ecode2
)) {
3848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3850 arg2
= static_cast< byte
>(val2
);
3853 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3854 if (!SWIG_IsOK(ecode3
)) {
3855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3857 arg3
= static_cast< byte
>(val3
);
3860 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3861 if (!SWIG_IsOK(ecode4
)) {
3862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3864 arg4
= static_cast< byte
>(val4
);
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3879 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
= 0;
3881 wxString
*arg1
= 0 ;
3882 wxColour
*result
= 0 ;
3883 bool temp1
= false ;
3884 PyObject
* obj0
= 0 ;
3885 char * kwnames
[] = {
3886 (char *) "colorName", NULL
3889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3891 arg1
= wxString_in_helper(obj0
);
3892 if (arg1
== NULL
) SWIG_fail
;
3896 if (!wxPyCheckForApp()) SWIG_fail
;
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3917 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
= 0;
3919 unsigned long arg1
;
3920 wxColour
*result
= 0 ;
3921 unsigned long val1
;
3923 PyObject
* obj0
= 0 ;
3924 char * kwnames
[] = {
3925 (char *) "colRGB", NULL
3928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3929 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3930 if (!SWIG_IsOK(ecode1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3933 arg1
= static_cast< unsigned long >(val1
);
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (wxColour
*)new wxColour(arg1
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3947 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3948 PyObject
*resultobj
= 0;
3949 wxColour
*arg1
= (wxColour
*) 0 ;
3952 PyObject
*swig_obj
[1] ;
3954 if (!args
) SWIG_fail
;
3956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3957 if (!SWIG_IsOK(res1
)) {
3958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3960 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 resultobj
= SWIG_Py_Void();
3975 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3976 PyObject
*resultobj
= 0;
3977 wxColour
*arg1
= (wxColour
*) 0 ;
3981 PyObject
*swig_obj
[1] ;
3983 if (!args
) SWIG_fail
;
3985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3986 if (!SWIG_IsOK(res1
)) {
3987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3989 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (byte
)(arg1
)->Red();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4003 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4004 PyObject
*resultobj
= 0;
4005 wxColour
*arg1
= (wxColour
*) 0 ;
4009 PyObject
*swig_obj
[1] ;
4011 if (!args
) SWIG_fail
;
4013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4014 if (!SWIG_IsOK(res1
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4017 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (byte
)(arg1
)->Green();
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4031 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 PyObject
*resultobj
= 0;
4033 wxColour
*arg1
= (wxColour
*) 0 ;
4037 PyObject
*swig_obj
[1] ;
4039 if (!args
) SWIG_fail
;
4041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4042 if (!SWIG_IsOK(res1
)) {
4043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4045 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (byte
)(arg1
)->Blue();
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4059 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4060 PyObject
*resultobj
= 0;
4061 wxColour
*arg1
= (wxColour
*) 0 ;
4065 PyObject
*swig_obj
[1] ;
4067 if (!args
) SWIG_fail
;
4069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4070 if (!SWIG_IsOK(res1
)) {
4071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4073 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (byte
)(arg1
)->Alpha();
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4087 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4088 PyObject
*resultobj
= 0;
4089 wxColour
*arg1
= (wxColour
*) 0 ;
4093 PyObject
*swig_obj
[1] ;
4095 if (!args
) SWIG_fail
;
4097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4098 if (!SWIG_IsOK(res1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4101 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (bool)(arg1
)->IsOk();
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4117 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
= 0;
4119 wxColour
*arg1
= (wxColour
*) 0 ;
4123 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4126 unsigned char val2
;
4128 unsigned char val3
;
4130 unsigned char val4
;
4132 unsigned char val5
;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4136 PyObject
* obj2
= 0 ;
4137 PyObject
* obj3
= 0 ;
4138 PyObject
* obj4
= 0 ;
4139 char * kwnames
[] = {
4140 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4145 if (!SWIG_IsOK(res1
)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4148 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4149 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4150 if (!SWIG_IsOK(ecode2
)) {
4151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4153 arg2
= static_cast< byte
>(val2
);
4154 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4155 if (!SWIG_IsOK(ecode3
)) {
4156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4158 arg3
= static_cast< byte
>(val3
);
4159 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4160 if (!SWIG_IsOK(ecode4
)) {
4161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4163 arg4
= static_cast< byte
>(val4
);
4165 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4166 if (!SWIG_IsOK(ecode5
)) {
4167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4169 arg5
= static_cast< byte
>(val5
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_Py_Void();
4184 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
= 0;
4186 wxColour
*arg1
= (wxColour
*) 0 ;
4187 unsigned long arg2
;
4190 unsigned long val2
;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "self",(char *) "colRGB", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4203 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4204 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4205 if (!SWIG_IsOK(ecode2
)) {
4206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4208 arg2
= static_cast< unsigned long >(val2
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= SWIG_Py_Void();
4222 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= 0;
4224 wxColour
*arg1
= (wxColour
*) 0 ;
4225 wxString
*arg2
= 0 ;
4228 bool temp2
= false ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 char * kwnames
[] = {
4232 (char *) "self",(char *) "colourName", NULL
4235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4240 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4242 arg2
= wxString_in_helper(obj1
);
4243 if (arg2
== NULL
) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->Set((wxString
const &)*arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 resultobj
= SWIG_Py_Void();
4267 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
= 0;
4269 wxColour
*arg1
= (wxColour
*) 0 ;
4270 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4278 char * kwnames
[] = {
4279 (char *) "self",(char *) "flags", NULL
4282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4284 if (!SWIG_IsOK(res1
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4287 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4289 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4293 arg2
= static_cast< long >(val2
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4314 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4315 PyObject
*resultobj
= 0;
4316 wxColour
*arg1
= (wxColour
*) 0 ;
4320 PyObject
*swig_obj
[1] ;
4322 if (!args
) SWIG_fail
;
4324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4325 if (!SWIG_IsOK(res1
)) {
4326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4328 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= SWIG_From_long(static_cast< long >(result
));
4342 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
= 0;
4344 wxColour
*arg1
= (wxColour
*) 0 ;
4345 PyObject
*arg2
= (PyObject
*) 0 ;
4349 PyObject
* obj0
= 0 ;
4350 PyObject
* obj1
= 0 ;
4351 char * kwnames
[] = {
4352 (char *) "self",(char *) "other", NULL
4355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4360 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4363 result
= (bool)wxColour___eq__(arg1
,arg2
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
= 0;
4377 wxColour
*arg1
= (wxColour
*) 0 ;
4378 PyObject
*arg2
= (PyObject
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4384 char * kwnames
[] = {
4385 (char *) "self",(char *) "other", NULL
4388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4390 if (!SWIG_IsOK(res1
)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4393 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4396 result
= (bool)wxColour___ne__(arg1
,arg2
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4408 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxColour
*arg1
= (wxColour
*) 0 ;
4411 bool arg2
= (bool) false ;
4412 PyObject
*result
= 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4419 char * kwnames
[] = {
4420 (char *) "self",(char *) "includeAlpha", NULL
4423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4425 if (!SWIG_IsOK(res1
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4428 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4430 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4431 if (!SWIG_IsOK(ecode2
)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4434 arg2
= static_cast< bool >(val2
);
4437 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4447 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4448 PyObject
*resultobj
= 0;
4449 wxColour
*arg1
= (wxColour
*) 0 ;
4450 unsigned long result
;
4453 PyObject
*swig_obj
[1] ;
4455 if (!args
) SWIG_fail
;
4457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4458 if (!SWIG_IsOK(res1
)) {
4459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4461 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4463 result
= (unsigned long)wxColour_GetRGB(arg1
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4473 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4476 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4477 return SWIG_Py_Void();
4480 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4481 return SWIG_Python_InitShadowInstance(args
);
4484 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
= 0;
4487 unsigned char *arg2
= (unsigned char *) 0 ;
4488 unsigned char *arg3
= (unsigned char *) 0 ;
4489 unsigned char *arg4
= (unsigned char *) 0 ;
4490 wxPalette
*result
= 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4501 PyObject
* obj2
= 0 ;
4502 PyObject
* obj3
= 0 ;
4503 char * kwnames
[] = {
4504 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4508 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4509 if (!SWIG_IsOK(ecode1
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4512 arg1
= static_cast< int >(val1
);
4513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4514 if (!SWIG_IsOK(res2
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4517 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4518 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4519 if (!SWIG_IsOK(res3
)) {
4520 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4522 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4523 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4524 if (!SWIG_IsOK(res4
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4527 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4529 if (!wxPyCheckForApp()) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4542 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4543 PyObject
*resultobj
= 0;
4544 wxPalette
*arg1
= (wxPalette
*) 0 ;
4547 PyObject
*swig_obj
[1] ;
4549 if (!args
) SWIG_fail
;
4551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4552 if (!SWIG_IsOK(res1
)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4555 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= SWIG_Py_Void();
4570 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxPalette
*arg1
= (wxPalette
*) 0 ;
4579 unsigned char val2
;
4581 unsigned char val3
;
4583 unsigned char val4
;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 PyObject
* obj3
= 0 ;
4589 char * kwnames
[] = {
4590 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4595 if (!SWIG_IsOK(res1
)) {
4596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4598 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4599 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4600 if (!SWIG_IsOK(ecode2
)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4603 arg2
= static_cast< byte
>(val2
);
4604 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4605 if (!SWIG_IsOK(ecode3
)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4608 arg3
= static_cast< byte
>(val3
);
4609 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4610 if (!SWIG_IsOK(ecode4
)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4613 arg4
= static_cast< byte
>(val4
);
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_From_int(static_cast< int >(result
));
4627 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
= 0;
4629 wxPalette
*arg1
= (wxPalette
*) 0 ;
4631 byte
*arg3
= (byte
*) 0 ;
4632 byte
*arg4
= (byte
*) 0 ;
4633 byte
*arg5
= (byte
*) 0 ;
4640 int res3
= SWIG_TMPOBJ
;
4642 int res4
= SWIG_TMPOBJ
;
4644 int res5
= SWIG_TMPOBJ
;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4647 char * kwnames
[] = {
4648 (char *) "self",(char *) "pixel", NULL
4654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4656 if (!SWIG_IsOK(res1
)) {
4657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4659 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4661 if (!SWIG_IsOK(ecode2
)) {
4662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4664 arg2
= static_cast< int >(val2
);
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4674 if (SWIG_IsTmpObj(res3
)) {
4675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4677 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4680 if (SWIG_IsTmpObj(res4
)) {
4681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4683 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4686 if (SWIG_IsTmpObj(res5
)) {
4687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4689 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4698 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4699 PyObject
*resultobj
= 0;
4700 wxPalette
*arg1
= (wxPalette
*) 0 ;
4704 PyObject
*swig_obj
[1] ;
4706 if (!args
) SWIG_fail
;
4708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4709 if (!SWIG_IsOK(res1
)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4712 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4719 resultobj
= SWIG_From_int(static_cast< int >(result
));
4726 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4727 PyObject
*resultobj
= 0;
4728 wxPalette
*arg1
= (wxPalette
*) 0 ;
4732 PyObject
*swig_obj
[1] ;
4734 if (!args
) SWIG_fail
;
4736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4737 if (!SWIG_IsOK(res1
)) {
4738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4740 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 result
= (bool)(arg1
)->IsOk();
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4756 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4759 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4760 return SWIG_Py_Void();
4763 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4764 return SWIG_Python_InitShadowInstance(args
);
4767 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
= 0;
4769 wxColour
*arg1
= 0 ;
4770 int arg2
= (int) 1 ;
4771 int arg3
= (int) wxSOLID
;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 char * kwnames
[] = {
4782 (char *) "colour",(char *) "width",(char *) "style", NULL
4785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4788 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4792 if (!SWIG_IsOK(ecode2
)) {
4793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4795 arg2
= static_cast< int >(val2
);
4798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4799 if (!SWIG_IsOK(ecode3
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4802 arg3
= static_cast< int >(val3
);
4805 if (!wxPyCheckForApp()) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4818 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4819 PyObject
*resultobj
= 0;
4820 wxPen
*arg1
= (wxPen
*) 0 ;
4823 PyObject
*swig_obj
[1] ;
4825 if (!args
) SWIG_fail
;
4827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4828 if (!SWIG_IsOK(res1
)) {
4829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4831 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_Py_Void();
4846 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4847 PyObject
*resultobj
= 0;
4848 wxPen
*arg1
= (wxPen
*) 0 ;
4852 PyObject
*swig_obj
[1] ;
4854 if (!args
) SWIG_fail
;
4856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4857 if (!SWIG_IsOK(res1
)) {
4858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4860 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (int)(arg1
)->GetCap();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_From_int(static_cast< int >(result
));
4874 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4875 PyObject
*resultobj
= 0;
4876 wxPen
*arg1
= (wxPen
*) 0 ;
4880 PyObject
*swig_obj
[1] ;
4882 if (!args
) SWIG_fail
;
4884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4885 if (!SWIG_IsOK(res1
)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4888 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (arg1
)->GetColour();
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4902 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4903 PyObject
*resultobj
= 0;
4904 wxPen
*arg1
= (wxPen
*) 0 ;
4908 PyObject
*swig_obj
[1] ;
4910 if (!args
) SWIG_fail
;
4912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4913 if (!SWIG_IsOK(res1
)) {
4914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4916 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (int)(arg1
)->GetJoin();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_From_int(static_cast< int >(result
));
4930 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4931 PyObject
*resultobj
= 0;
4932 wxPen
*arg1
= (wxPen
*) 0 ;
4936 PyObject
*swig_obj
[1] ;
4938 if (!args
) SWIG_fail
;
4940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4941 if (!SWIG_IsOK(res1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4944 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (int)(arg1
)->GetStyle();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= SWIG_From_int(static_cast< int >(result
));
4958 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4959 PyObject
*resultobj
= 0;
4960 wxPen
*arg1
= (wxPen
*) 0 ;
4964 PyObject
*swig_obj
[1] ;
4966 if (!args
) SWIG_fail
;
4968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4969 if (!SWIG_IsOK(res1
)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4972 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (int)(arg1
)->GetWidth();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 resultobj
= SWIG_From_int(static_cast< int >(result
));
4986 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4987 PyObject
*resultobj
= 0;
4988 wxPen
*arg1
= (wxPen
*) 0 ;
4992 PyObject
*swig_obj
[1] ;
4994 if (!args
) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5000 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (bool)(arg1
)->IsOk();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5016 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
= 0;
5018 wxPen
*arg1
= (wxPen
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 char * kwnames
[] = {
5027 (char *) "self",(char *) "cap_style", NULL
5030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5035 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5037 if (!SWIG_IsOK(ecode2
)) {
5038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5040 arg2
= static_cast< int >(val2
);
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->SetCap(arg2
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= SWIG_Py_Void();
5054 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
= 0;
5056 wxPen
*arg1
= (wxPen
*) 0 ;
5057 wxColour
*arg2
= 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5063 char * kwnames
[] = {
5064 (char *) "self",(char *) "colour", NULL
5067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5069 if (!SWIG_IsOK(res1
)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5072 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetColour(*arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_Py_Void();
5090 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
= 0;
5092 wxPen
*arg1
= (wxPen
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5100 char * kwnames
[] = {
5101 (char *) "self",(char *) "join_style", NULL
5104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5106 if (!SWIG_IsOK(res1
)) {
5107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5109 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5111 if (!SWIG_IsOK(ecode2
)) {
5112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5114 arg2
= static_cast< int >(val2
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 (arg1
)->SetJoin(arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_Py_Void();
5128 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
= 0;
5130 wxPen
*arg1
= (wxPen
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 char * kwnames
[] = {
5139 (char *) "self",(char *) "style", NULL
5142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5147 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5149 if (!SWIG_IsOK(ecode2
)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5152 arg2
= static_cast< int >(val2
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 (arg1
)->SetStyle(arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
*resultobj
= 0;
5168 wxPen
*arg1
= (wxPen
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5176 char * kwnames
[] = {
5177 (char *) "self",(char *) "width", NULL
5180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5182 if (!SWIG_IsOK(res1
)) {
5183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5185 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5187 if (!SWIG_IsOK(ecode2
)) {
5188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5190 arg2
= static_cast< int >(val2
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 (arg1
)->SetWidth(arg2
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_Py_Void();
5204 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
= 0;
5206 wxPen
*arg1
= (wxPen
*) 0 ;
5208 wxDash
*arg3
= (wxDash
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5213 char * kwnames
[] = {
5214 (char *) "self",(char *) "dashes", NULL
5217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5222 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5224 arg2
= PyList_Size(obj1
);
5225 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5226 if (arg3
== NULL
) SWIG_fail
;
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 (arg1
)->SetDashes(arg2
,arg3
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= SWIG_Py_Void();
5236 if (arg3
) delete [] arg3
;
5241 if (arg3
) delete [] arg3
;
5247 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5248 PyObject
*resultobj
= 0;
5249 wxPen
*arg1
= (wxPen
*) 0 ;
5250 PyObject
*result
= 0 ;
5253 PyObject
*swig_obj
[1] ;
5255 if (!args
) SWIG_fail
;
5257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5258 if (!SWIG_IsOK(res1
)) {
5259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5261 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5275 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
= 0;
5277 wxPen
*arg1
= (wxPen
*) 0 ;
5278 PyObject
*arg2
= (PyObject
*) 0 ;
5279 PyObject
*arg3
= (PyObject
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5284 PyObject
* obj2
= 0 ;
5285 char * kwnames
[] = {
5286 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5291 if (!SWIG_IsOK(res1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5294 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 wxPen__SetDashes(arg1
,arg2
,arg3
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= SWIG_Py_Void();
5310 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5311 PyObject
*resultobj
= 0;
5312 wxPen
*arg1
= (wxPen
*) 0 ;
5316 PyObject
*swig_obj
[1] ;
5318 if (!args
) SWIG_fail
;
5320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5321 if (!SWIG_IsOK(res1
)) {
5322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5324 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_From_int(static_cast< int >(result
));
5338 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5339 PyObject
*resultobj
= 0;
5340 wxPen
*arg1
= (wxPen
*) 0 ;
5341 wxBitmap
*result
= 0 ;
5344 PyObject
*swig_obj
[1] ;
5346 if (!args
) SWIG_fail
;
5348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5349 if (!SWIG_IsOK(res1
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5352 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 result
= (wxBitmap
*)(arg1
)->GetStipple();
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5366 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
= 0;
5368 wxPen
*arg1
= (wxPen
*) 0 ;
5369 wxBitmap
*arg2
= 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 char * kwnames
[] = {
5377 (char *) "self",(char *) "stipple", NULL
5380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5382 if (!SWIG_IsOK(res1
)) {
5383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5385 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5387 if (!SWIG_IsOK(res2
)) {
5388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5393 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 (arg1
)->SetStipple(*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 resultobj
= SWIG_Py_Void();
5407 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
= 0;
5409 wxPen
*arg1
= (wxPen
*) 0 ;
5410 wxPen
*arg2
= (wxPen
*) 0 ;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5418 char * kwnames
[] = {
5419 (char *) "self",(char *) "other", NULL
5422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5424 if (!SWIG_IsOK(res1
)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5427 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5429 if (!SWIG_IsOK(res2
)) {
5430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5432 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5448 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
= 0;
5450 wxPen
*arg1
= (wxPen
*) 0 ;
5451 wxPen
*arg2
= (wxPen
*) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 char * kwnames
[] = {
5460 (char *) "self",(char *) "other", NULL
5463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5465 if (!SWIG_IsOK(res1
)) {
5466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5468 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5470 if (!SWIG_IsOK(res2
)) {
5471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5473 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5489 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5493 return SWIG_Py_Void();
5496 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 return SWIG_Python_InitShadowInstance(args
);
5500 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
= 0;
5502 wxColour
*arg1
= 0 ;
5503 int arg2
= (int) wxSOLID
;
5504 wxBrush
*result
= 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5510 char * kwnames
[] = {
5511 (char *) "colour",(char *) "style", NULL
5514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5517 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5521 if (!SWIG_IsOK(ecode2
)) {
5522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5524 arg2
= static_cast< int >(val2
);
5527 if (!wxPyCheckForApp()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5540 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
= 0;
5542 wxBitmap
*arg1
= 0 ;
5543 wxBrush
*result
= 0 ;
5546 PyObject
* obj0
= 0 ;
5547 char * kwnames
[] = {
5548 (char *) "stippleBitmap", NULL
5551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5559 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5561 if (!wxPyCheckForApp()) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5574 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5575 PyObject
*resultobj
= 0;
5576 wxBrush
*arg1
= (wxBrush
*) 0 ;
5579 PyObject
*swig_obj
[1] ;
5581 if (!args
) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5587 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= SWIG_Py_Void();
5602 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= 0;
5604 wxBrush
*arg1
= (wxBrush
*) 0 ;
5605 wxColour
*arg2
= 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5611 char * kwnames
[] = {
5612 (char *) "self",(char *) "col", NULL
5615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5617 if (!SWIG_IsOK(res1
)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5620 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5623 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 (arg1
)->SetColour((wxColour
const &)*arg2
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_Py_Void();
5638 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
= 0;
5640 wxBrush
*arg1
= (wxBrush
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 char * kwnames
[] = {
5649 (char *) "self",(char *) "style", NULL
5652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5654 if (!SWIG_IsOK(res1
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5657 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5659 if (!SWIG_IsOK(ecode2
)) {
5660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5662 arg2
= static_cast< int >(val2
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetStyle(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_Py_Void();
5676 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxBrush
*arg1
= (wxBrush
*) 0 ;
5679 wxBitmap
*arg2
= 0 ;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5686 char * kwnames
[] = {
5687 (char *) "self",(char *) "stipple", NULL
5690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5692 if (!SWIG_IsOK(res1
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5695 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5697 if (!SWIG_IsOK(res2
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5703 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= SWIG_Py_Void();
5717 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 PyObject
*resultobj
= 0;
5719 wxBrush
*arg1
= (wxBrush
*) 0 ;
5723 PyObject
*swig_obj
[1] ;
5725 if (!args
) SWIG_fail
;
5727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5728 if (!SWIG_IsOK(res1
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5731 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= ((wxBrush
const *)arg1
)->GetColour();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5745 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5746 PyObject
*resultobj
= 0;
5747 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
, 0 | 0 );
5756 if (!SWIG_IsOK(res1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5759 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_From_int(static_cast< int >(result
));
5773 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5774 PyObject
*resultobj
= 0;
5775 wxBrush
*arg1
= (wxBrush
*) 0 ;
5776 wxBitmap
*result
= 0 ;
5779 PyObject
*swig_obj
[1] ;
5781 if (!args
) SWIG_fail
;
5783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5784 if (!SWIG_IsOK(res1
)) {
5785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5787 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5801 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5802 PyObject
*resultobj
= 0;
5803 wxBrush
*arg1
= (wxBrush
*) 0 ;
5807 PyObject
*swig_obj
[1] ;
5809 if (!args
) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5815 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5831 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5832 PyObject
*resultobj
= 0;
5833 wxBrush
*arg1
= (wxBrush
*) 0 ;
5837 PyObject
*swig_obj
[1] ;
5839 if (!args
) SWIG_fail
;
5841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5842 if (!SWIG_IsOK(res1
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5845 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (bool)(arg1
)->IsOk();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5861 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5864 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5865 return SWIG_Py_Void();
5868 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5869 return SWIG_Python_InitShadowInstance(args
);
5872 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
= 0;
5874 wxString
*arg1
= 0 ;
5875 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5876 wxBitmap
*result
= 0 ;
5877 bool temp1
= false ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 char * kwnames
[] = {
5883 (char *) "name",(char *) "type", NULL
5886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 arg1
= wxString_in_helper(obj0
);
5889 if (arg1
== NULL
) SWIG_fail
;
5893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5894 if (!SWIG_IsOK(ecode2
)) {
5895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5897 arg2
= static_cast< wxBitmapType
>(val2
);
5900 if (!wxPyCheckForApp()) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5921 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5922 PyObject
*resultobj
= 0;
5923 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5926 PyObject
*swig_obj
[1] ;
5928 if (!args
) SWIG_fail
;
5930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5931 if (!SWIG_IsOK(res1
)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5934 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_Py_Void();
5947 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
= 0;
5951 int arg3
= (int) -1 ;
5952 wxBitmap
*result
= 0 ;
5959 PyObject
* obj0
= 0 ;
5960 PyObject
* obj1
= 0 ;
5961 PyObject
* obj2
= 0 ;
5962 char * kwnames
[] = {
5963 (char *) "width",(char *) "height",(char *) "depth", NULL
5966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5968 if (!SWIG_IsOK(ecode1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5971 arg1
= static_cast< int >(val1
);
5972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5973 if (!SWIG_IsOK(ecode2
)) {
5974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5976 arg2
= static_cast< int >(val2
);
5978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5979 if (!SWIG_IsOK(ecode3
)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5982 arg3
= static_cast< int >(val3
);
5985 if (!wxPyCheckForApp()) SWIG_fail
;
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5998 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
= 0;
6001 wxBitmap
*result
= 0 ;
6004 PyObject
* obj0
= 0 ;
6005 char * kwnames
[] = {
6006 (char *) "icon", NULL
6009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6010 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6011 if (!SWIG_IsOK(res1
)) {
6012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6017 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6019 if (!wxPyCheckForApp()) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6032 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
*resultobj
= 0;
6035 int arg2
= (int) -1 ;
6036 wxBitmap
*result
= 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 char * kwnames
[] = {
6044 (char *) "image",(char *) "depth", NULL
6047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6055 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6058 if (!SWIG_IsOK(ecode2
)) {
6059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6061 arg2
= static_cast< int >(val2
);
6064 if (!wxPyCheckForApp()) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6077 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
= 0;
6079 PyObject
*arg1
= (PyObject
*) 0 ;
6080 wxBitmap
*result
= 0 ;
6081 PyObject
* obj0
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "listOfStrings", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6089 if (!wxPyCheckForApp()) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6102 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
= 0;
6104 PyObject
*arg1
= (PyObject
*) 0 ;
6107 int arg4
= (int) 1 ;
6108 wxBitmap
*result
= 0 ;
6115 PyObject
* obj0
= 0 ;
6116 PyObject
* obj1
= 0 ;
6117 PyObject
* obj2
= 0 ;
6118 PyObject
* obj3
= 0 ;
6119 char * kwnames
[] = {
6120 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6126 if (!SWIG_IsOK(ecode2
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6129 arg2
= static_cast< int >(val2
);
6130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6131 if (!SWIG_IsOK(ecode3
)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6134 arg3
= static_cast< int >(val3
);
6136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6137 if (!SWIG_IsOK(ecode4
)) {
6138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6140 arg4
= static_cast< int >(val4
);
6143 if (!wxPyCheckForApp()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6156 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6157 PyObject
*resultobj
= 0;
6158 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6162 PyObject
*swig_obj
[1] ;
6164 if (!args
) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6172 result
= (long)(arg1
)->GetHandle();
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_From_long(static_cast< long >(result
));
6182 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
= 0;
6184 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6192 char * kwnames
[] = {
6193 (char *) "self",(char *) "handle", NULL
6196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6198 if (!SWIG_IsOK(res1
)) {
6199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6201 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6202 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6203 if (!SWIG_IsOK(ecode2
)) {
6204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6206 arg2
= static_cast< long >(val2
);
6208 wxBitmap_SetHandle(arg1
,arg2
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_Py_Void();
6218 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6219 PyObject
*resultobj
= 0;
6220 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6224 PyObject
*swig_obj
[1] ;
6226 if (!args
) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6232 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6234 result
= (bool)(arg1
)->IsOk();
6235 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6246 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6247 PyObject
*resultobj
= 0;
6248 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6252 PyObject
*swig_obj
[1] ;
6254 if (!args
) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6260 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6262 result
= (int)(arg1
)->GetWidth();
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_From_int(static_cast< int >(result
));
6272 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6273 PyObject
*resultobj
= 0;
6274 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6278 PyObject
*swig_obj
[1] ;
6280 if (!args
) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6286 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6288 result
= (int)(arg1
)->GetHeight();
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_From_int(static_cast< int >(result
));
6298 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6304 PyObject
*swig_obj
[1] ;
6306 if (!args
) SWIG_fail
;
6308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6309 if (!SWIG_IsOK(res1
)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6312 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6314 result
= (int)(arg1
)->GetDepth();
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_From_int(static_cast< int >(result
));
6324 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6325 PyObject
*resultobj
= 0;
6326 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6330 PyObject
*swig_obj
[1] ;
6332 if (!args
) SWIG_fail
;
6334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6335 if (!SWIG_IsOK(res1
)) {
6336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6338 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6340 result
= wxBitmap_GetSize(arg1
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6350 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6351 PyObject
*resultobj
= 0;
6352 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6353 SwigValueWrapper
<wxImage
> result
;
6356 PyObject
*swig_obj
[1] ;
6358 if (!args
) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6366 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6376 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6377 PyObject
*resultobj
= 0;
6378 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6379 wxMask
*result
= 0 ;
6382 PyObject
*swig_obj
[1] ;
6384 if (!args
) SWIG_fail
;
6386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6387 if (!SWIG_IsOK(res1
)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6390 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6392 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6402 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
= 0;
6404 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6405 wxMask
*arg2
= (wxMask
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 char * kwnames
[] = {
6412 (char *) "self",(char *) "mask", NULL
6415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6421 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6422 if (!SWIG_IsOK(res2
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6426 (arg1
)->SetMask(arg2
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= SWIG_Py_Void();
6436 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
= 0;
6438 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6439 wxColour
*arg2
= 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 char * kwnames
[] = {
6446 (char *) "self",(char *) "colour", NULL
6449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6451 if (!SWIG_IsOK(res1
)) {
6452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6454 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6460 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 resultobj
= SWIG_Py_Void();
6470 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
= 0;
6472 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6474 SwigValueWrapper
<wxBitmap
> result
;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 char * kwnames
[] = {
6481 (char *) "self",(char *) "rect", NULL
6484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6486 if (!SWIG_IsOK(res1
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6489 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6492 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6495 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6505 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
= 0;
6507 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6508 wxString
*arg2
= 0 ;
6510 wxPalette
*arg4
= (wxPalette
*) NULL
;
6514 bool temp2
= false ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 PyObject
* obj2
= 0 ;
6522 PyObject
* obj3
= 0 ;
6523 char * kwnames
[] = {
6524 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6532 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6534 arg2
= wxString_in_helper(obj1
);
6535 if (arg2
== NULL
) SWIG_fail
;
6538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6539 if (!SWIG_IsOK(ecode3
)) {
6540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6542 arg3
= static_cast< wxBitmapType
>(val3
);
6544 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6545 if (!SWIG_IsOK(res4
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6548 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6551 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6571 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6574 wxString
*arg2
= 0 ;
6579 bool temp2
= false ;
6582 PyObject
* obj0
= 0 ;
6583 PyObject
* obj1
= 0 ;
6584 PyObject
* obj2
= 0 ;
6585 char * kwnames
[] = {
6586 (char *) "self",(char *) "name",(char *) "type", NULL
6589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6591 if (!SWIG_IsOK(res1
)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6594 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6596 arg2
= wxString_in_helper(obj1
);
6597 if (arg2
== NULL
) SWIG_fail
;
6600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6601 if (!SWIG_IsOK(ecode3
)) {
6602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6604 arg3
= static_cast< wxBitmapType
>(val3
);
6606 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6626 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6627 PyObject
*resultobj
= 0;
6628 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6629 wxPalette
*result
= 0 ;
6632 PyObject
*swig_obj
[1] ;
6634 if (!args
) SWIG_fail
;
6636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6637 if (!SWIG_IsOK(res1
)) {
6638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6640 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6642 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6652 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
= 0;
6654 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6655 wxPalette
*arg2
= 0 ;
6660 PyObject
* obj0
= 0 ;
6661 PyObject
* obj1
= 0 ;
6662 char * kwnames
[] = {
6663 (char *) "self",(char *) "palette", NULL
6666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6668 if (!SWIG_IsOK(res1
)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6671 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6673 if (!SWIG_IsOK(res2
)) {
6674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6679 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6681 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= SWIG_Py_Void();
6691 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
= 0;
6693 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 char * kwnames
[] = {
6703 (char *) "self",(char *) "icon", NULL
6706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6708 if (!SWIG_IsOK(res1
)) {
6709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6711 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6713 if (!SWIG_IsOK(res2
)) {
6714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6719 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6721 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6733 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
= 0;
6735 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 char * kwnames
[] = {
6744 (char *) "self",(char *) "height", NULL
6747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6749 if (!SWIG_IsOK(res1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6752 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6754 if (!SWIG_IsOK(ecode2
)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6757 arg2
= static_cast< int >(val2
);
6759 (arg1
)->SetHeight(arg2
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_Py_Void();
6769 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
= 0;
6771 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 char * kwnames
[] = {
6780 (char *) "self",(char *) "width", NULL
6783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6785 if (!SWIG_IsOK(res1
)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6788 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6790 if (!SWIG_IsOK(ecode2
)) {
6791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6793 arg2
= static_cast< int >(val2
);
6795 (arg1
)->SetWidth(arg2
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_Py_Void();
6805 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
= 0;
6807 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6813 PyObject
* obj0
= 0 ;
6814 PyObject
* obj1
= 0 ;
6815 char * kwnames
[] = {
6816 (char *) "self",(char *) "depth", NULL
6819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6821 if (!SWIG_IsOK(res1
)) {
6822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6824 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6826 if (!SWIG_IsOK(ecode2
)) {
6827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6829 arg2
= static_cast< int >(val2
);
6831 (arg1
)->SetDepth(arg2
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_Py_Void();
6841 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
= 0;
6843 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 char * kwnames
[] = {
6851 (char *) "self",(char *) "size", NULL
6854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6856 if (!SWIG_IsOK(res1
)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6859 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6865 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_Py_Void();
6875 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
= 0;
6877 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6878 wxCursor
*arg2
= 0 ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 char * kwnames
[] = {
6887 (char *) "self",(char *) "cursor", NULL
6890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6892 if (!SWIG_IsOK(res1
)) {
6893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6895 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6897 if (!SWIG_IsOK(res2
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6903 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6905 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6917 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
= 0;
6919 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6920 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 char * kwnames
[] = {
6929 (char *) "self",(char *) "other", NULL
6932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6937 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6939 if (!SWIG_IsOK(res2
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6942 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6944 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6956 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
= 0;
6958 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6959 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 char * kwnames
[] = {
6968 (char *) "self",(char *) "other", NULL
6971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6973 if (!SWIG_IsOK(res1
)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6976 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6978 if (!SWIG_IsOK(res2
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6981 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6983 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6995 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6998 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6999 return SWIG_Py_Void();
7002 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7003 return SWIG_Python_InitShadowInstance(args
);
7006 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7014 wxBitmap
*result
= 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 PyObject
* obj2
= 0 ;
7024 PyObject
* obj3
= 0 ;
7025 char * kwnames
[] = {
7026 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7031 if (!SWIG_IsOK(ecode1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7034 arg1
= static_cast< int >(val1
);
7035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7036 if (!SWIG_IsOK(ecode2
)) {
7037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7039 arg2
= static_cast< int >(val2
);
7041 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7045 if (obj3
!= Py_None
) {
7046 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7051 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7061 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7067 wxBitmap
*result
= 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 PyObject
* obj2
= 0 ;
7076 char * kwnames
[] = {
7077 (char *) "width",(char *) "height",(char *) "data", NULL
7080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7082 if (!SWIG_IsOK(ecode1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7085 arg1
= static_cast< int >(val1
);
7086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7087 if (!SWIG_IsOK(ecode2
)) {
7088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7090 arg2
= static_cast< int >(val2
);
7092 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7096 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7106 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
= 0;
7112 wxBitmap
*result
= 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 PyObject
* obj2
= 0 ;
7121 char * kwnames
[] = {
7122 (char *) "width",(char *) "height",(char *) "data", NULL
7125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7127 if (!SWIG_IsOK(ecode1
)) {
7128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7130 arg1
= static_cast< int >(val1
);
7131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7132 if (!SWIG_IsOK(ecode2
)) {
7133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7135 arg2
= static_cast< int >(val2
);
7137 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7141 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7151 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 PyObject
*resultobj
= 0;
7153 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7157 PyObject
*swig_obj
[1] ;
7159 if (!args
) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7165 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7167 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7177 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7178 PyObject
*resultobj
= 0;
7179 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7183 PyObject
*swig_obj
[1] ;
7185 if (!args
) SWIG_fail
;
7187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7188 if (!SWIG_IsOK(res1
)) {
7189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7191 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7193 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= SWIG_From_int(static_cast< int >(result
));
7203 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7204 PyObject
*resultobj
= 0;
7205 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7209 PyObject
*swig_obj
[1] ;
7211 if (!args
) SWIG_fail
;
7213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7214 if (!SWIG_IsOK(res1
)) {
7215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7217 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7219 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_From_int(static_cast< int >(result
));
7229 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7230 PyObject
*resultobj
= 0;
7231 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7235 PyObject
*swig_obj
[1] ;
7237 if (!args
) SWIG_fail
;
7239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7240 if (!SWIG_IsOK(res1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7243 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7245 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7256 PyObject
*resultobj
= 0;
7257 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7261 PyObject
*swig_obj
[1] ;
7263 if (!args
) SWIG_fail
;
7265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7266 if (!SWIG_IsOK(res1
)) {
7267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7269 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7271 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_From_int(static_cast< int >(result
));
7281 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7285 return SWIG_Py_Void();
7288 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7289 PyObject
*resultobj
= 0;
7290 wxBitmap
*arg1
= 0 ;
7291 wxNativePixelData
*result
= 0 ;
7295 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7297 if (!SWIG_IsOK(res1
)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7303 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7305 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7315 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7316 PyObject
*resultobj
= 0;
7317 wxBitmap
*arg1
= 0 ;
7319 wxNativePixelData
*result
= 0 ;
7324 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7332 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7335 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7338 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7348 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7349 PyObject
*resultobj
= 0;
7350 wxBitmap
*arg1
= 0 ;
7353 wxNativePixelData
*result
= 0 ;
7359 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7367 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7370 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7374 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7377 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7387 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7391 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7394 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7397 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7400 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7404 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7409 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7410 PyObject
*resultobj
= 0;
7411 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7414 PyObject
*swig_obj
[1] ;
7416 if (!args
) SWIG_fail
;
7418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7419 if (!SWIG_IsOK(res1
)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7422 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_Py_Void();
7435 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7436 PyObject
*resultobj
= 0;
7437 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7438 wxNativePixelData_Accessor result
;
7441 PyObject
*swig_obj
[1] ;
7443 if (!args
) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7449 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7451 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7461 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7462 PyObject
*resultobj
= 0;
7463 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7466 PyObject
*swig_obj
[1] ;
7468 if (!args
) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7474 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_Py_Void();
7486 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7487 PyObject
*resultobj
= 0;
7488 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7492 PyObject
*swig_obj
[1] ;
7494 if (!args
) SWIG_fail
;
7496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7497 if (!SWIG_IsOK(res1
)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7500 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7502 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7514 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7517 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7518 return SWIG_Py_Void();
7521 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7522 return SWIG_Python_InitShadowInstance(args
);
7525 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7526 PyObject
*resultobj
= 0;
7527 wxNativePixelData
*arg1
= 0 ;
7528 wxNativePixelData_Accessor
*result
= 0 ;
7532 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7540 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7542 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7552 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7553 PyObject
*resultobj
= 0;
7554 wxBitmap
*arg1
= 0 ;
7555 wxNativePixelData
*arg2
= 0 ;
7556 wxNativePixelData_Accessor
*result
= 0 ;
7562 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7570 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7571 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7572 if (!SWIG_IsOK(res2
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7578 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7580 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7590 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7591 PyObject
*resultobj
= 0;
7592 wxNativePixelData_Accessor
*result
= 0 ;
7594 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7596 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7606 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7610 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7613 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7616 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7619 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7623 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7628 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7629 PyObject
*resultobj
= 0;
7630 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7633 PyObject
*swig_obj
[1] ;
7635 if (!args
) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7641 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_Py_Void();
7654 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7657 wxNativePixelData
*arg2
= 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 char * kwnames
[] = {
7665 (char *) "self",(char *) "data", NULL
7668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7673 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7675 if (!SWIG_IsOK(res2
)) {
7676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7681 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7683 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_Py_Void();
7693 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7694 PyObject
*resultobj
= 0;
7695 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7699 PyObject
*swig_obj
[1] ;
7701 if (!args
) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7707 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7709 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7710 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7721 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7722 PyObject
*resultobj
= 0;
7723 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7726 PyObject
*swig_obj
[1] ;
7728 if (!args
) SWIG_fail
;
7730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7731 if (!SWIG_IsOK(res1
)) {
7732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7734 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7736 wxNativePixelData_Accessor_nextPixel(arg1
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7749 wxNativePixelData
*arg2
= 0 ;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7762 PyObject
* obj2
= 0 ;
7763 PyObject
* obj3
= 0 ;
7764 char * kwnames
[] = {
7765 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7773 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7775 if (!SWIG_IsOK(res2
)) {
7776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7781 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7783 if (!SWIG_IsOK(ecode3
)) {
7784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7786 arg3
= static_cast< int >(val3
);
7787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7788 if (!SWIG_IsOK(ecode4
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7791 arg4
= static_cast< int >(val4
);
7793 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_Py_Void();
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7806 wxNativePixelData
*arg2
= 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 PyObject
* obj2
= 0 ;
7817 char * kwnames
[] = {
7818 (char *) "self",(char *) "data",(char *) "x", NULL
7821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7826 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7828 if (!SWIG_IsOK(res2
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7834 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7836 if (!SWIG_IsOK(ecode3
)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7839 arg3
= static_cast< int >(val3
);
7841 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= SWIG_Py_Void();
7851 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
*resultobj
= 0;
7853 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7854 wxNativePixelData
*arg2
= 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 PyObject
* obj2
= 0 ;
7865 char * kwnames
[] = {
7866 (char *) "self",(char *) "data",(char *) "y", NULL
7869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7871 if (!SWIG_IsOK(res1
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7874 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7876 if (!SWIG_IsOK(res2
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7882 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7884 if (!SWIG_IsOK(ecode3
)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7887 arg3
= static_cast< int >(val3
);
7889 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_Py_Void();
7899 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= 0;
7901 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7902 wxNativePixelData
*arg2
= 0 ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 PyObject
* obj2
= 0 ;
7916 PyObject
* obj3
= 0 ;
7917 char * kwnames
[] = {
7918 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7923 if (!SWIG_IsOK(res1
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7926 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7928 if (!SWIG_IsOK(res2
)) {
7929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7934 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7936 if (!SWIG_IsOK(ecode3
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7939 arg3
= static_cast< int >(val3
);
7940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7941 if (!SWIG_IsOK(ecode4
)) {
7942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7944 arg4
= static_cast< int >(val4
);
7946 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_Py_Void();
7956 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
= 0;
7958 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7964 unsigned char val2
;
7966 unsigned char val3
;
7968 unsigned char val4
;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7972 PyObject
* obj2
= 0 ;
7973 PyObject
* obj3
= 0 ;
7974 char * kwnames
[] = {
7975 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7983 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7984 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7985 if (!SWIG_IsOK(ecode2
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7988 arg2
= static_cast< byte
>(val2
);
7989 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7990 if (!SWIG_IsOK(ecode3
)) {
7991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7993 arg3
= static_cast< byte
>(val3
);
7994 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7995 if (!SWIG_IsOK(ecode4
)) {
7996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7998 arg4
= static_cast< byte
>(val4
);
8000 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_Py_Void();
8010 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8011 PyObject
*resultobj
= 0;
8012 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8013 PyObject
*result
= 0 ;
8016 PyObject
*swig_obj
[1] ;
8018 if (!args
) SWIG_fail
;
8020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8021 if (!SWIG_IsOK(res1
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8024 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8026 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8036 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8039 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8040 return SWIG_Py_Void();
8043 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8044 return SWIG_Python_InitShadowInstance(args
);
8047 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8048 PyObject
*resultobj
= 0;
8049 wxBitmap
*arg1
= 0 ;
8050 wxAlphaPixelData
*result
= 0 ;
8054 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8056 if (!SWIG_IsOK(res1
)) {
8057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8062 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8064 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8074 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8075 PyObject
*resultobj
= 0;
8076 wxBitmap
*arg1
= 0 ;
8078 wxAlphaPixelData
*result
= 0 ;
8083 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8085 if (!SWIG_IsOK(res1
)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8091 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8094 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8097 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8107 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8108 PyObject
*resultobj
= 0;
8109 wxBitmap
*arg1
= 0 ;
8112 wxAlphaPixelData
*result
= 0 ;
8118 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8120 if (!SWIG_IsOK(res1
)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8126 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8129 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8133 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8136 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8146 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8150 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8153 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8156 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8159 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8163 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8168 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8169 PyObject
*resultobj
= 0;
8170 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8173 PyObject
*swig_obj
[1] ;
8175 if (!args
) SWIG_fail
;
8177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8178 if (!SWIG_IsOK(res1
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8181 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_Py_Void();
8194 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8195 PyObject
*resultobj
= 0;
8196 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8197 wxAlphaPixelData_Accessor result
;
8200 PyObject
*swig_obj
[1] ;
8202 if (!args
) SWIG_fail
;
8204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8205 if (!SWIG_IsOK(res1
)) {
8206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8208 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8210 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8211 if (PyErr_Occurred()) SWIG_fail
;
8213 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8220 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 PyObject
*resultobj
= 0;
8222 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8225 PyObject
*swig_obj
[1] ;
8227 if (!args
) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8233 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_Py_Void();
8245 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8246 PyObject
*resultobj
= 0;
8247 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8251 PyObject
*swig_obj
[1] ;
8253 if (!args
) SWIG_fail
;
8255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8256 if (!SWIG_IsOK(res1
)) {
8257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8259 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8261 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8273 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8276 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8277 return SWIG_Py_Void();
8280 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8281 return SWIG_Python_InitShadowInstance(args
);
8284 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8285 PyObject
*resultobj
= 0;
8286 wxAlphaPixelData
*arg1
= 0 ;
8287 wxAlphaPixelData_Accessor
*result
= 0 ;
8291 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8293 if (!SWIG_IsOK(res1
)) {
8294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8299 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8301 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8311 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8312 PyObject
*resultobj
= 0;
8313 wxBitmap
*arg1
= 0 ;
8314 wxAlphaPixelData
*arg2
= 0 ;
8315 wxAlphaPixelData_Accessor
*result
= 0 ;
8321 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8329 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8330 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8331 if (!SWIG_IsOK(res2
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8337 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8339 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8349 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8350 PyObject
*resultobj
= 0;
8351 wxAlphaPixelData_Accessor
*result
= 0 ;
8353 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8355 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8365 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8369 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8372 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8375 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8378 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8382 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8387 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 PyObject
*resultobj
= 0;
8389 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8392 PyObject
*swig_obj
[1] ;
8394 if (!args
) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8400 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_Py_Void();
8413 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
= 0;
8415 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8416 wxAlphaPixelData
*arg2
= 0 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "self",(char *) "data", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8432 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8433 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8434 if (!SWIG_IsOK(res2
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8440 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8442 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_Py_Void();
8452 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8453 PyObject
*resultobj
= 0;
8454 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8458 PyObject
*swig_obj
[1] ;
8460 if (!args
) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8466 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8468 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8480 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8481 PyObject
*resultobj
= 0;
8482 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8485 PyObject
*swig_obj
[1] ;
8487 if (!args
) SWIG_fail
;
8489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8490 if (!SWIG_IsOK(res1
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8493 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8495 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_Py_Void();
8505 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
= 0;
8507 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8508 wxAlphaPixelData
*arg2
= 0 ;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8521 PyObject
* obj2
= 0 ;
8522 PyObject
* obj3
= 0 ;
8523 char * kwnames
[] = {
8524 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8532 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8534 if (!SWIG_IsOK(res2
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8540 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8542 if (!SWIG_IsOK(ecode3
)) {
8543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8545 arg3
= static_cast< int >(val3
);
8546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8547 if (!SWIG_IsOK(ecode4
)) {
8548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8550 arg4
= static_cast< int >(val4
);
8552 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_Py_Void();
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8565 wxAlphaPixelData
*arg2
= 0 ;
8573 PyObject
* obj0
= 0 ;
8574 PyObject
* obj1
= 0 ;
8575 PyObject
* obj2
= 0 ;
8576 char * kwnames
[] = {
8577 (char *) "self",(char *) "data",(char *) "x", NULL
8580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8585 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8587 if (!SWIG_IsOK(res2
)) {
8588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8593 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8595 if (!SWIG_IsOK(ecode3
)) {
8596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8598 arg3
= static_cast< int >(val3
);
8600 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_Py_Void();
8610 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8613 wxAlphaPixelData
*arg2
= 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8623 PyObject
* obj2
= 0 ;
8624 char * kwnames
[] = {
8625 (char *) "self",(char *) "data",(char *) "y", NULL
8628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8630 if (!SWIG_IsOK(res1
)) {
8631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8633 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8635 if (!SWIG_IsOK(res2
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8641 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8643 if (!SWIG_IsOK(ecode3
)) {
8644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8646 arg3
= static_cast< int >(val3
);
8648 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_Py_Void();
8658 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
= 0;
8660 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8661 wxAlphaPixelData
*arg2
= 0 ;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 PyObject
* obj2
= 0 ;
8675 PyObject
* obj3
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8685 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8687 if (!SWIG_IsOK(res2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8693 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8695 if (!SWIG_IsOK(ecode3
)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8698 arg3
= static_cast< int >(val3
);
8699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8700 if (!SWIG_IsOK(ecode4
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8703 arg4
= static_cast< int >(val4
);
8705 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
= 0;
8717 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8724 unsigned char val2
;
8726 unsigned char val3
;
8728 unsigned char val4
;
8730 unsigned char val5
;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8735 PyObject
* obj3
= 0 ;
8736 PyObject
* obj4
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8746 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8747 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8748 if (!SWIG_IsOK(ecode2
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8751 arg2
= static_cast< byte
>(val2
);
8752 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8753 if (!SWIG_IsOK(ecode3
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8756 arg3
= static_cast< byte
>(val3
);
8757 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8758 if (!SWIG_IsOK(ecode4
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8761 arg4
= static_cast< byte
>(val4
);
8762 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8763 if (!SWIG_IsOK(ecode5
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8766 arg5
= static_cast< byte
>(val5
);
8768 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_Py_Void();
8778 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8779 PyObject
*resultobj
= 0;
8780 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8781 PyObject
*result
= 0 ;
8784 PyObject
*swig_obj
[1] ;
8786 if (!args
) SWIG_fail
;
8788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8789 if (!SWIG_IsOK(res1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8792 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8794 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8804 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8807 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8808 return SWIG_Py_Void();
8811 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8812 return SWIG_Python_InitShadowInstance(args
);
8815 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= 0;
8817 wxBitmap
*arg1
= 0 ;
8818 wxColour
const &arg2_defvalue
= wxNullColour
;
8819 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8820 wxMask
*result
= 0 ;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8826 char * kwnames
[] = {
8827 (char *) "bitmap",(char *) "colour", NULL
8830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8838 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8846 if (!wxPyCheckForApp()) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8859 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8860 PyObject
*resultobj
= 0;
8861 wxMask
*arg1
= (wxMask
*) 0 ;
8864 PyObject
*swig_obj
[1] ;
8866 if (!args
) SWIG_fail
;
8868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8869 if (!SWIG_IsOK(res1
)) {
8870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8872 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_Py_Void();
8885 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8888 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8889 return SWIG_Py_Void();
8892 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8893 return SWIG_Python_InitShadowInstance(args
);
8896 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= 0;
8898 wxString
*arg1
= 0 ;
8900 int arg3
= (int) -1 ;
8901 int arg4
= (int) -1 ;
8902 wxIcon
*result
= 0 ;
8903 bool temp1
= false ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 PyObject
* obj2
= 0 ;
8913 PyObject
* obj3
= 0 ;
8914 char * kwnames
[] = {
8915 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8920 arg1
= wxString_in_helper(obj0
);
8921 if (arg1
== NULL
) SWIG_fail
;
8924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8925 if (!SWIG_IsOK(ecode2
)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8928 arg2
= static_cast< wxBitmapType
>(val2
);
8930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8931 if (!SWIG_IsOK(ecode3
)) {
8932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8934 arg3
= static_cast< int >(val3
);
8937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8938 if (!SWIG_IsOK(ecode4
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8941 arg4
= static_cast< int >(val4
);
8944 if (!wxPyCheckForApp()) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8965 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8966 PyObject
*resultobj
= 0;
8967 wxIcon
*arg1
= (wxIcon
*) 0 ;
8970 PyObject
*swig_obj
[1] ;
8972 if (!args
) SWIG_fail
;
8974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8975 if (!SWIG_IsOK(res1
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8978 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_Py_Void();
8993 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 PyObject
*resultobj
= 0;
8995 wxIcon
*result
= 0 ;
8997 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8999 if (!wxPyCheckForApp()) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (wxIcon
*)new wxIcon();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9012 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
= 0;
9014 wxIconLocation
*arg1
= 0 ;
9015 wxIcon
*result
= 0 ;
9018 PyObject
* obj0
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "loc", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9031 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9033 if (!wxPyCheckForApp()) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9046 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxBitmap
*arg1
= 0 ;
9049 wxIcon
*result
= 0 ;
9052 PyObject
* obj0
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "bmp", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9065 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9067 if (!wxPyCheckForApp()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9080 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
= 0;
9082 PyObject
*arg1
= (PyObject
*) 0 ;
9083 wxIcon
*result
= 0 ;
9084 PyObject
* obj0
= 0 ;
9085 char * kwnames
[] = {
9086 (char *) "listOfStrings", NULL
9089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9092 if (!wxPyCheckForApp()) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxIcon
*)new_wxIcon(arg1
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9105 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxIcon
*arg1
= (wxIcon
*) 0 ;
9108 wxString
*arg2
= 0 ;
9113 bool temp2
= false ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9119 char * kwnames
[] = {
9120 (char *) "self",(char *) "name",(char *) "type", NULL
9123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9125 if (!SWIG_IsOK(res1
)) {
9126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9128 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9130 arg2
= wxString_in_helper(obj1
);
9131 if (arg2
== NULL
) SWIG_fail
;
9134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9135 if (!SWIG_IsOK(ecode3
)) {
9136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9138 arg3
= static_cast< wxBitmapType
>(val3
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9162 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9163 PyObject
*resultobj
= 0;
9164 wxIcon
*arg1
= (wxIcon
*) 0 ;
9168 PyObject
*swig_obj
[1] ;
9170 if (!args
) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9176 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (long)(arg1
)->GetHandle();
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 resultobj
= SWIG_From_long(static_cast< long >(result
));
9190 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
= 0;
9192 wxIcon
*arg1
= (wxIcon
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "self",(char *) "handle", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9206 if (!SWIG_IsOK(res1
)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9209 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9210 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9211 if (!SWIG_IsOK(ecode2
)) {
9212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9214 arg2
= static_cast< long >(val2
);
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 wxIcon_SetHandle(arg1
,arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9228 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9229 PyObject
*resultobj
= 0;
9230 wxIcon
*arg1
= (wxIcon
*) 0 ;
9234 PyObject
*swig_obj
[1] ;
9236 if (!args
) SWIG_fail
;
9238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9239 if (!SWIG_IsOK(res1
)) {
9240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9242 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (bool)(arg1
)->IsOk();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9258 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9259 PyObject
*resultobj
= 0;
9260 wxIcon
*arg1
= (wxIcon
*) 0 ;
9264 PyObject
*swig_obj
[1] ;
9266 if (!args
) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9272 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (int)(arg1
)->GetWidth();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_From_int(static_cast< int >(result
));
9286 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9287 PyObject
*resultobj
= 0;
9288 wxIcon
*arg1
= (wxIcon
*) 0 ;
9292 PyObject
*swig_obj
[1] ;
9294 if (!args
) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9300 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (int)(arg1
)->GetHeight();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_From_int(static_cast< int >(result
));
9314 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9315 PyObject
*resultobj
= 0;
9316 wxIcon
*arg1
= (wxIcon
*) 0 ;
9320 PyObject
*swig_obj
[1] ;
9322 if (!args
) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9328 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (int)(arg1
)->GetDepth();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_From_int(static_cast< int >(result
));
9342 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
*resultobj
= 0;
9344 wxIcon
*arg1
= (wxIcon
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9352 char * kwnames
[] = {
9353 (char *) "self",(char *) "w", NULL
9356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9358 if (!SWIG_IsOK(res1
)) {
9359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9361 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9363 if (!SWIG_IsOK(ecode2
)) {
9364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9366 arg2
= static_cast< int >(val2
);
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 (arg1
)->SetWidth(arg2
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= SWIG_Py_Void();
9380 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= 0;
9382 wxIcon
*arg1
= (wxIcon
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 char * kwnames
[] = {
9391 (char *) "self",(char *) "h", NULL
9394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9396 if (!SWIG_IsOK(res1
)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9399 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->SetHeight(arg2
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_Py_Void();
9418 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9420 wxIcon
*arg1
= (wxIcon
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "self",(char *) "d", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9434 if (!SWIG_IsOK(res1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9437 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9439 if (!SWIG_IsOK(ecode2
)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9442 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 (arg1
)->SetDepth(arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_Py_Void();
9456 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
= 0;
9458 wxIcon
*arg1
= (wxIcon
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 char * kwnames
[] = {
9466 (char *) "self",(char *) "size", NULL
9469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9474 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 (arg1
)->SetSize((wxSize
const &)*arg2
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_Py_Void();
9492 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
= 0;
9494 wxIcon
*arg1
= (wxIcon
*) 0 ;
9495 wxBitmap
*arg2
= 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 char * kwnames
[] = {
9503 (char *) "self",(char *) "bmp", NULL
9506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9511 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9513 if (!SWIG_IsOK(res2
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9519 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_Py_Void();
9533 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9536 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9537 return SWIG_Py_Void();
9540 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9541 return SWIG_Python_InitShadowInstance(args
);
9544 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9547 int arg2
= (int) 0 ;
9548 wxIconLocation
*result
= 0 ;
9549 bool temp1
= false ;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9554 char * kwnames
[] = {
9555 (char *) "filename",(char *) "num", NULL
9558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9561 arg1
= wxString_in_helper(obj0
);
9562 if (arg1
== NULL
) SWIG_fail
;
9567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9568 if (!SWIG_IsOK(ecode2
)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9571 arg2
= static_cast< int >(val2
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9594 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9595 PyObject
*resultobj
= 0;
9596 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9599 PyObject
*swig_obj
[1] ;
9601 if (!args
) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9607 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9623 PyObject
*resultobj
= 0;
9624 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9628 PyObject
*swig_obj
[1] ;
9630 if (!args
) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9636 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9652 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
= 0;
9654 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9655 wxString
*arg2
= 0 ;
9658 bool temp2
= false ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 char * kwnames
[] = {
9662 (char *) "self",(char *) "filename", NULL
9665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9670 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9672 arg2
= wxString_in_helper(obj1
);
9673 if (arg2
== NULL
) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 (arg1
)->SetFileName((wxString
const &)*arg2
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_Py_Void();
9697 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9698 PyObject
*resultobj
= 0;
9699 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9700 wxString
*result
= 0 ;
9703 PyObject
*swig_obj
[1] ;
9705 if (!args
) SWIG_fail
;
9707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9708 if (!SWIG_IsOK(res1
)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9711 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9716 result
= (wxString
*) &_result_ref
;
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9734 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= 0;
9736 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 char * kwnames
[] = {
9745 (char *) "self",(char *) "num", NULL
9748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9750 if (!SWIG_IsOK(res1
)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9753 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9755 if (!SWIG_IsOK(ecode2
)) {
9756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9758 arg2
= static_cast< int >(val2
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxIconLocation_SetIndex(arg1
,arg2
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_Py_Void();
9772 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9773 PyObject
*resultobj
= 0;
9774 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9778 PyObject
*swig_obj
[1] ;
9780 if (!args
) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9786 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (int)wxIconLocation_GetIndex(arg1
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_From_int(static_cast< int >(result
));
9800 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9803 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9804 return SWIG_Py_Void();
9807 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 return SWIG_Python_InitShadowInstance(args
);
9811 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 PyObject
*resultobj
= 0;
9813 wxIconBundle
*result
= 0 ;
9815 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (wxIconBundle
*)new wxIconBundle();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9829 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
= 0;
9831 wxString
*arg1
= 0 ;
9833 wxIconBundle
*result
= 0 ;
9834 bool temp1
= false ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9839 char * kwnames
[] = {
9840 (char *) "file",(char *) "type", NULL
9843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9845 arg1
= wxString_in_helper(obj0
);
9846 if (arg1
== NULL
) SWIG_fail
;
9849 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9850 if (!SWIG_IsOK(ecode2
)) {
9851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9853 arg2
= static_cast< long >(val2
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9875 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9878 wxIconBundle
*result
= 0 ;
9881 PyObject
* obj0
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "icon", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9894 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9908 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9909 PyObject
*resultobj
= 0;
9910 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9913 PyObject
*swig_obj
[1] ;
9915 if (!args
) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9921 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_Py_Void();
9936 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
= 0;
9938 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 char * kwnames
[] = {
9947 (char *) "self",(char *) "icon", NULL
9950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9952 if (!SWIG_IsOK(res1
)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9955 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9957 if (!SWIG_IsOK(res2
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9963 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_Py_Void();
9977 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9980 wxString
*arg2
= 0 ;
9984 bool temp2
= false ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "self",(char *) "file",(char *) "type", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9999 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10001 arg2
= wxString_in_helper(obj1
);
10002 if (arg2
== NULL
) SWIG_fail
;
10005 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10006 if (!SWIG_IsOK(ecode3
)) {
10007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10009 arg3
= static_cast< long >(val3
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_Py_Void();
10031 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
= 0;
10033 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10035 wxIcon
*result
= 0 ;
10039 PyObject
* obj0
= 0 ;
10040 PyObject
* obj1
= 0 ;
10041 char * kwnames
[] = {
10042 (char *) "self",(char *) "size", NULL
10045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10050 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10059 result
= (wxIcon
*) &_result_ref
;
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 wxIcon
* resultptr
= new wxIcon(*result
);
10066 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10074 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10077 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10078 return SWIG_Py_Void();
10081 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 return SWIG_Python_InitShadowInstance(args
);
10085 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
= 0;
10087 wxString
*arg1
= 0 ;
10089 int arg3
= (int) 0 ;
10090 int arg4
= (int) 0 ;
10091 wxCursor
*result
= 0 ;
10092 bool temp1
= false ;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 PyObject
* obj2
= 0 ;
10102 PyObject
* obj3
= 0 ;
10103 char * kwnames
[] = {
10104 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10109 arg1
= wxString_in_helper(obj0
);
10110 if (arg1
== NULL
) SWIG_fail
;
10113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10114 if (!SWIG_IsOK(ecode2
)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10117 arg2
= static_cast< long >(val2
);
10119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10120 if (!SWIG_IsOK(ecode3
)) {
10121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10123 arg3
= static_cast< int >(val3
);
10126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10127 if (!SWIG_IsOK(ecode4
)) {
10128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10130 arg4
= static_cast< int >(val4
);
10133 if (!wxPyCheckForApp()) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10154 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxCursor
*arg1
= (wxCursor
*) 0 ;
10159 PyObject
*swig_obj
[1] ;
10161 if (!args
) SWIG_fail
;
10162 swig_obj
[0] = args
;
10163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10167 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_Py_Void();
10182 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= 0;
10185 wxCursor
*result
= 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char * kwnames
[] = {
10190 (char *) "id", NULL
10193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10194 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10195 if (!SWIG_IsOK(ecode1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10198 arg1
= static_cast< int >(val1
);
10200 if (!wxPyCheckForApp()) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (wxCursor
*)new wxCursor(arg1
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10213 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10215 wxImage
*arg1
= 0 ;
10216 wxCursor
*result
= 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "image", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10232 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10234 if (!wxPyCheckForApp()) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10247 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10248 PyObject
*resultobj
= 0;
10249 wxCursor
*arg1
= (wxCursor
*) 0 ;
10253 PyObject
*swig_obj
[1] ;
10255 if (!args
) SWIG_fail
;
10256 swig_obj
[0] = args
;
10257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10258 if (!SWIG_IsOK(res1
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10261 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (long)(arg1
)->GetHandle();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_From_long(static_cast< long >(result
));
10275 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxCursor
*arg1
= (wxCursor
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 char * kwnames
[] = {
10286 (char *) "self",(char *) "handle", NULL
10289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10291 if (!SWIG_IsOK(res1
)) {
10292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10294 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10295 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10296 if (!SWIG_IsOK(ecode2
)) {
10297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10299 arg2
= static_cast< long >(val2
);
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 wxCursor_SetHandle(arg1
,arg2
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_Py_Void();
10313 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10314 PyObject
*resultobj
= 0;
10315 wxCursor
*arg1
= (wxCursor
*) 0 ;
10319 PyObject
*swig_obj
[1] ;
10321 if (!args
) SWIG_fail
;
10322 swig_obj
[0] = args
;
10323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10324 if (!SWIG_IsOK(res1
)) {
10325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10327 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (bool)(arg1
)->IsOk();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10343 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10344 PyObject
*resultobj
= 0;
10345 wxCursor
*arg1
= (wxCursor
*) 0 ;
10349 PyObject
*swig_obj
[1] ;
10351 if (!args
) SWIG_fail
;
10352 swig_obj
[0] = args
;
10353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10354 if (!SWIG_IsOK(res1
)) {
10355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10357 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (int)(arg1
)->GetWidth();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= SWIG_From_int(static_cast< int >(result
));
10371 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10372 PyObject
*resultobj
= 0;
10373 wxCursor
*arg1
= (wxCursor
*) 0 ;
10377 PyObject
*swig_obj
[1] ;
10379 if (!args
) SWIG_fail
;
10380 swig_obj
[0] = args
;
10381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10385 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (int)(arg1
)->GetHeight();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_From_int(static_cast< int >(result
));
10399 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10400 PyObject
*resultobj
= 0;
10401 wxCursor
*arg1
= (wxCursor
*) 0 ;
10405 PyObject
*swig_obj
[1] ;
10407 if (!args
) SWIG_fail
;
10408 swig_obj
[0] = args
;
10409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10413 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (int)(arg1
)->GetDepth();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_From_int(static_cast< int >(result
));
10427 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
= 0;
10429 wxCursor
*arg1
= (wxCursor
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 char * kwnames
[] = {
10438 (char *) "self",(char *) "w", NULL
10441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10443 if (!SWIG_IsOK(res1
)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10446 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10448 if (!SWIG_IsOK(ecode2
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10451 arg2
= static_cast< int >(val2
);
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetWidth(arg2
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= SWIG_Py_Void();
10465 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
= 0;
10467 wxCursor
*arg1
= (wxCursor
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 PyObject
* obj1
= 0 ;
10475 char * kwnames
[] = {
10476 (char *) "self",(char *) "h", NULL
10479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10484 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10486 if (!SWIG_IsOK(ecode2
)) {
10487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10489 arg2
= static_cast< int >(val2
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 (arg1
)->SetHeight(arg2
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_Py_Void();
10503 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 wxCursor
*arg1
= (wxCursor
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char * kwnames
[] = {
10514 (char *) "self",(char *) "d", NULL
10517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10519 if (!SWIG_IsOK(res1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10522 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10524 if (!SWIG_IsOK(ecode2
)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10527 arg2
= static_cast< int >(val2
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 (arg1
)->SetDepth(arg2
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_Py_Void();
10541 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
= 0;
10543 wxCursor
*arg1
= (wxCursor
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 char * kwnames
[] = {
10551 (char *) "self",(char *) "size", NULL
10554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10559 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->SetSize((wxSize
const &)*arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= SWIG_Py_Void();
10577 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10580 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10581 return SWIG_Py_Void();
10584 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10585 return SWIG_Python_InitShadowInstance(args
);
10588 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 int arg1
= (int) 0 ;
10591 int arg2
= (int) 0 ;
10592 int arg3
= (int) 0 ;
10593 int arg4
= (int) 0 ;
10594 wxRegion
*result
= 0 ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 PyObject
* obj3
= 0 ;
10607 char * kwnames
[] = {
10608 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10613 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10614 if (!SWIG_IsOK(ecode1
)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10617 arg1
= static_cast< int >(val1
);
10620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10621 if (!SWIG_IsOK(ecode2
)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10624 arg2
= static_cast< int >(val2
);
10627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10628 if (!SWIG_IsOK(ecode3
)) {
10629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10631 arg3
= static_cast< int >(val3
);
10634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10635 if (!SWIG_IsOK(ecode4
)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10638 arg4
= static_cast< int >(val4
);
10641 if (!wxPyCheckForApp()) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10654 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10656 wxBitmap
*arg1
= 0 ;
10657 wxRegion
*result
= 0 ;
10660 PyObject
* obj0
= 0 ;
10661 char * kwnames
[] = {
10662 (char *) "bmp", NULL
10665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10666 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10667 if (!SWIG_IsOK(res1
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10673 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10675 if (!wxPyCheckForApp()) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10688 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
= 0;
10690 wxBitmap
*arg1
= 0 ;
10691 wxColour
*arg2
= 0 ;
10692 int arg3
= (int) 0 ;
10693 wxRegion
*result
= 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 char * kwnames
[] = {
10703 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10707 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10708 if (!SWIG_IsOK(res1
)) {
10709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10714 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10717 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10721 if (!SWIG_IsOK(ecode3
)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10724 arg3
= static_cast< int >(val3
);
10727 if (!wxPyCheckForApp()) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10740 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
= 0;
10743 wxPoint
*arg2
= (wxPoint
*) 0 ;
10744 int arg3
= (int) wxWINDING_RULE
;
10745 wxRegion
*result
= 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "points",(char *) "fillStyle", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10756 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10757 if (arg2
== NULL
) SWIG_fail
;
10760 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10761 if (!SWIG_IsOK(ecode3
)) {
10762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10764 arg3
= static_cast< int >(val3
);
10767 if (!wxPyCheckForApp()) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10775 if (arg2
) delete [] arg2
;
10780 if (arg2
) delete [] arg2
;
10786 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10787 PyObject
*resultobj
= 0;
10788 wxRegion
*arg1
= (wxRegion
*) 0 ;
10791 PyObject
*swig_obj
[1] ;
10793 if (!args
) SWIG_fail
;
10794 swig_obj
[0] = args
;
10795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_Py_Void();
10814 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10815 PyObject
*resultobj
= 0;
10816 wxRegion
*arg1
= (wxRegion
*) 0 ;
10819 PyObject
*swig_obj
[1] ;
10821 if (!args
) SWIG_fail
;
10822 swig_obj
[0] = args
;
10823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10827 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= SWIG_Py_Void();
10841 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
= 0;
10843 wxRegion
*arg1
= (wxRegion
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "x",(char *) "y", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10865 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10870 arg2
= static_cast< int >(val2
);
10871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10872 if (!SWIG_IsOK(ecode3
)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10875 arg3
= static_cast< int >(val3
);
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10891 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
= 0;
10893 wxRegion
*arg1
= (wxRegion
*) 0 ;
10896 wxRegionContain result
;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 char * kwnames
[] = {
10907 (char *) "self",(char *) "x",(char *) "y", NULL
10910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10912 if (!SWIG_IsOK(res1
)) {
10913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10915 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10917 if (!SWIG_IsOK(ecode2
)) {
10918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10920 arg2
= static_cast< int >(val2
);
10921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10922 if (!SWIG_IsOK(ecode3
)) {
10923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10925 arg3
= static_cast< int >(val3
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_From_int(static_cast< int >(result
));
10939 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
= 0;
10941 wxRegion
*arg1
= (wxRegion
*) 0 ;
10942 wxPoint
*arg2
= 0 ;
10943 wxRegionContain result
;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 char * kwnames
[] = {
10950 (char *) "self",(char *) "pt", NULL
10953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10955 if (!SWIG_IsOK(res1
)) {
10956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10958 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_From_int(static_cast< int >(result
));
10976 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxRegion
*arg1
= (wxRegion
*) 0 ;
10980 wxRegionContain result
;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "rect", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10995 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10998 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_From_int(static_cast< int >(result
));
11013 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= 0;
11015 wxRegion
*arg1
= (wxRegion
*) 0 ;
11020 wxRegionContain result
;
11031 PyObject
* obj0
= 0 ;
11032 PyObject
* obj1
= 0 ;
11033 PyObject
* obj2
= 0 ;
11034 PyObject
* obj3
= 0 ;
11035 PyObject
* obj4
= 0 ;
11036 char * kwnames
[] = {
11037 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11045 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11047 if (!SWIG_IsOK(ecode2
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11050 arg2
= static_cast< int >(val2
);
11051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11052 if (!SWIG_IsOK(ecode3
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11055 arg3
= static_cast< int >(val3
);
11056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11057 if (!SWIG_IsOK(ecode4
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11060 arg4
= static_cast< int >(val4
);
11061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11062 if (!SWIG_IsOK(ecode5
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11065 arg5
= static_cast< int >(val5
);
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 resultobj
= SWIG_From_int(static_cast< int >(result
));
11079 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11080 PyObject
*resultobj
= 0;
11081 wxRegion
*arg1
= (wxRegion
*) 0 ;
11085 PyObject
*swig_obj
[1] ;
11087 if (!args
) SWIG_fail
;
11088 swig_obj
[0] = args
;
11089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11090 if (!SWIG_IsOK(res1
)) {
11091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11093 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (arg1
)->GetBox();
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11107 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= 0;
11109 wxRegion
*arg1
= (wxRegion
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 PyObject
* obj3
= 0 ;
11129 PyObject
* obj4
= 0 ;
11130 char * kwnames
[] = {
11131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11136 if (!SWIG_IsOK(res1
)) {
11137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11139 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11141 if (!SWIG_IsOK(ecode2
)) {
11142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11144 arg2
= static_cast< int >(val2
);
11145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11146 if (!SWIG_IsOK(ecode3
)) {
11147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11149 arg3
= static_cast< int >(val3
);
11150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11151 if (!SWIG_IsOK(ecode4
)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11154 arg4
= static_cast< int >(val4
);
11155 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11156 if (!SWIG_IsOK(ecode5
)) {
11157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11159 arg5
= static_cast< int >(val5
);
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11175 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= 0;
11177 wxRegion
*arg1
= (wxRegion
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 char * kwnames
[] = {
11186 (char *) "self",(char *) "rect", NULL
11189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11191 if (!SWIG_IsOK(res1
)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11194 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11197 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= 0;
11216 wxRegion
*arg1
= (wxRegion
*) 0 ;
11217 wxRegion
*arg2
= 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char * kwnames
[] = {
11226 (char *) "self",(char *) "region", NULL
11229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11234 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11236 if (!SWIG_IsOK(res2
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11242 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11259 PyObject
*resultobj
= 0;
11260 wxRegion
*arg1
= (wxRegion
*) 0 ;
11264 PyObject
*swig_obj
[1] ;
11266 if (!args
) SWIG_fail
;
11267 swig_obj
[0] = args
;
11268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11272 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (bool)(arg1
)->IsEmpty();
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
= 0;
11290 wxRegion
*arg1
= (wxRegion
*) 0 ;
11291 wxRegion
*arg2
= 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "region", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11308 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11309 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11310 if (!SWIG_IsOK(res2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11316 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11332 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
= 0;
11334 wxRegion
*arg1
= (wxRegion
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 PyObject
* obj3
= 0 ;
11354 PyObject
* obj4
= 0 ;
11355 char * kwnames
[] = {
11356 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11364 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11366 if (!SWIG_IsOK(ecode2
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11369 arg2
= static_cast< int >(val2
);
11370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11371 if (!SWIG_IsOK(ecode3
)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11374 arg3
= static_cast< int >(val3
);
11375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11376 if (!SWIG_IsOK(ecode4
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11379 arg4
= static_cast< int >(val4
);
11380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11381 if (!SWIG_IsOK(ecode5
)) {
11382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11384 arg5
= static_cast< int >(val5
);
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11400 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
= 0;
11402 wxRegion
*arg1
= (wxRegion
*) 0 ;
11408 PyObject
* obj0
= 0 ;
11409 PyObject
* obj1
= 0 ;
11410 char * kwnames
[] = {
11411 (char *) "self",(char *) "rect", NULL
11414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11416 if (!SWIG_IsOK(res1
)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11419 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11422 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11439 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= 0;
11441 wxRegion
*arg1
= (wxRegion
*) 0 ;
11442 wxRegion
*arg2
= 0 ;
11448 PyObject
* obj0
= 0 ;
11449 PyObject
* obj1
= 0 ;
11450 char * kwnames
[] = {
11451 (char *) "self",(char *) "region", NULL
11454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11459 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11461 if (!SWIG_IsOK(res2
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11467 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11483 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
= 0;
11485 wxRegion
*arg1
= (wxRegion
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 PyObject
* obj3
= 0 ;
11505 PyObject
* obj4
= 0 ;
11506 char * kwnames
[] = {
11507 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11515 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11517 if (!SWIG_IsOK(ecode2
)) {
11518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11520 arg2
= static_cast< int >(val2
);
11521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11522 if (!SWIG_IsOK(ecode3
)) {
11523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11525 arg3
= static_cast< int >(val3
);
11526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11527 if (!SWIG_IsOK(ecode4
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11530 arg4
= static_cast< int >(val4
);
11531 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11532 if (!SWIG_IsOK(ecode5
)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11535 arg5
= static_cast< int >(val5
);
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11551 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxRegion
*arg1
= (wxRegion
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 char * kwnames
[] = {
11562 (char *) "self",(char *) "rect", NULL
11565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11567 if (!SWIG_IsOK(res1
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11573 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11590 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
= 0;
11592 wxRegion
*arg1
= (wxRegion
*) 0 ;
11593 wxRegion
*arg2
= 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char * kwnames
[] = {
11602 (char *) "self",(char *) "region", NULL
11605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11610 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11612 if (!SWIG_IsOK(res2
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11618 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11634 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
= 0;
11636 wxRegion
*arg1
= (wxRegion
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 PyObject
* obj3
= 0 ;
11656 PyObject
* obj4
= 0 ;
11657 char * kwnames
[] = {
11658 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11663 if (!SWIG_IsOK(res1
)) {
11664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11666 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11668 if (!SWIG_IsOK(ecode2
)) {
11669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11671 arg2
= static_cast< int >(val2
);
11672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11673 if (!SWIG_IsOK(ecode3
)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11676 arg3
= static_cast< int >(val3
);
11677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11678 if (!SWIG_IsOK(ecode4
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11681 arg4
= static_cast< int >(val4
);
11682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11683 if (!SWIG_IsOK(ecode5
)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11686 arg5
= static_cast< int >(val5
);
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11702 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
= 0;
11704 wxRegion
*arg1
= (wxRegion
*) 0 ;
11710 PyObject
* obj0
= 0 ;
11711 PyObject
* obj1
= 0 ;
11712 char * kwnames
[] = {
11713 (char *) "self",(char *) "rect", NULL
11716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11721 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11724 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11741 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
= 0;
11743 wxRegion
*arg1
= (wxRegion
*) 0 ;
11744 wxRegion
*arg2
= 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char * kwnames
[] = {
11753 (char *) "self",(char *) "region", NULL
11756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11761 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11763 if (!SWIG_IsOK(res2
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11769 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxRegion
*arg1
= (wxRegion
*) 0 ;
11788 SwigValueWrapper
<wxBitmap
> result
;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (arg1
)->ConvertToBitmap();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11813 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
= 0;
11815 wxRegion
*arg1
= (wxRegion
*) 0 ;
11816 wxBitmap
*arg2
= 0 ;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char * kwnames
[] = {
11825 (char *) "self",(char *) "bmp", NULL
11828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11833 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11835 if (!SWIG_IsOK(res2
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11841 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11857 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
= 0;
11859 wxRegion
*arg1
= (wxRegion
*) 0 ;
11860 wxBitmap
*arg2
= 0 ;
11861 wxColour
*arg3
= 0 ;
11862 int arg4
= (int) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 char * kwnames
[] = {
11876 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11881 if (!SWIG_IsOK(res1
)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11886 if (!SWIG_IsOK(res2
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11892 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11895 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11899 if (!SWIG_IsOK(ecode4
)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11902 arg4
= static_cast< int >(val4
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11919 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11922 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11923 return SWIG_Py_Void();
11926 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11927 return SWIG_Python_InitShadowInstance(args
);
11930 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11931 PyObject
*resultobj
= 0;
11932 wxRegion
*arg1
= 0 ;
11933 wxRegionIterator
*result
= 0 ;
11936 PyObject
* obj0
= 0 ;
11937 char * kwnames
[] = {
11938 (char *) "region", NULL
11941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11942 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11949 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11951 if (!wxPyCheckForApp()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11964 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 PyObject
*resultobj
= 0;
11966 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11977 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_Py_Void();
11992 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11998 PyObject
*swig_obj
[1] ;
12000 if (!args
) SWIG_fail
;
12001 swig_obj
[0] = args
;
12002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12006 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (int)(arg1
)->GetX();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int(static_cast< int >(result
));
12020 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 PyObject
*resultobj
= 0;
12022 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12026 PyObject
*swig_obj
[1] ;
12028 if (!args
) SWIG_fail
;
12029 swig_obj
[0] = args
;
12030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12031 if (!SWIG_IsOK(res1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12034 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (int)(arg1
)->GetY();
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_From_int(static_cast< int >(result
));
12048 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12049 PyObject
*resultobj
= 0;
12050 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12054 PyObject
*swig_obj
[1] ;
12056 if (!args
) SWIG_fail
;
12057 swig_obj
[0] = args
;
12058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12062 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)(arg1
)->GetW();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_From_int(static_cast< int >(result
));
12076 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12077 PyObject
*resultobj
= 0;
12078 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12082 PyObject
*swig_obj
[1] ;
12084 if (!args
) SWIG_fail
;
12085 swig_obj
[0] = args
;
12086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12090 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (int)(arg1
)->GetWidth();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_From_int(static_cast< int >(result
));
12104 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 PyObject
*resultobj
= 0;
12106 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12118 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)(arg1
)->GetH();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_From_int(static_cast< int >(result
));
12132 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12133 PyObject
*resultobj
= 0;
12134 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12146 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (int)(arg1
)->GetHeight();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_From_int(static_cast< int >(result
));
12160 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12161 PyObject
*resultobj
= 0;
12162 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12166 PyObject
*swig_obj
[1] ;
12168 if (!args
) SWIG_fail
;
12169 swig_obj
[0] = args
;
12170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12171 if (!SWIG_IsOK(res1
)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12174 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (arg1
)->GetRect();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12188 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12189 PyObject
*resultobj
= 0;
12190 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12194 PyObject
*swig_obj
[1] ;
12196 if (!args
) SWIG_fail
;
12197 swig_obj
[0] = args
;
12198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12202 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (bool)(arg1
)->HaveRects();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12218 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 PyObject
*resultobj
= 0;
12220 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12223 PyObject
*swig_obj
[1] ;
12225 if (!args
) SWIG_fail
;
12226 swig_obj
[0] = args
;
12227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12231 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_Py_Void();
12245 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12246 PyObject
*resultobj
= 0;
12247 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12250 PyObject
*swig_obj
[1] ;
12252 if (!args
) SWIG_fail
;
12253 swig_obj
[0] = args
;
12254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12255 if (!SWIG_IsOK(res1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12258 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 wxRegionIterator_Next(arg1
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_Py_Void();
12272 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12286 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12305 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12306 return SWIG_Py_Void();
12309 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12310 return SWIG_Python_InitShadowInstance(args
);
12313 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12314 PyObject
*resultobj
= 0;
12315 wxNativeFontInfo
*result
= 0 ;
12317 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12331 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12336 PyObject
*swig_obj
[1] ;
12338 if (!args
) SWIG_fail
;
12339 swig_obj
[0] = args
;
12340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12344 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_Py_Void();
12359 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12360 PyObject
*resultobj
= 0;
12361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12364 PyObject
*swig_obj
[1] ;
12366 if (!args
) SWIG_fail
;
12367 swig_obj
[0] = args
;
12368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12369 if (!SWIG_IsOK(res1
)) {
12370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12372 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_Py_Void();
12386 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
= 0;
12388 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 char * kwnames
[] = {
12397 (char *) "self",(char *) "font", NULL
12400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12402 if (!SWIG_IsOK(res1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12405 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12407 if (!SWIG_IsOK(res2
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12413 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12420 resultobj
= SWIG_Py_Void();
12427 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12428 PyObject
*resultobj
= 0;
12429 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12433 PyObject
*swig_obj
[1] ;
12435 if (!args
) SWIG_fail
;
12436 swig_obj
[0] = args
;
12437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12441 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_From_int(static_cast< int >(result
));
12455 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12456 PyObject
*resultobj
= 0;
12457 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12461 PyObject
*swig_obj
[1] ;
12463 if (!args
) SWIG_fail
;
12464 swig_obj
[0] = args
;
12465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12469 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12483 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12484 PyObject
*resultobj
= 0;
12485 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12486 wxFontStyle result
;
12489 PyObject
*swig_obj
[1] ;
12491 if (!args
) SWIG_fail
;
12492 swig_obj
[0] = args
;
12493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12494 if (!SWIG_IsOK(res1
)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12497 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_From_int(static_cast< int >(result
));
12511 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12512 PyObject
*resultobj
= 0;
12513 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12514 wxFontWeight result
;
12517 PyObject
*swig_obj
[1] ;
12519 if (!args
) SWIG_fail
;
12520 swig_obj
[0] = args
;
12521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12522 if (!SWIG_IsOK(res1
)) {
12523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12525 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_From_int(static_cast< int >(result
));
12539 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12545 PyObject
*swig_obj
[1] ;
12547 if (!args
) SWIG_fail
;
12548 swig_obj
[0] = args
;
12549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12550 if (!SWIG_IsOK(res1
)) {
12551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12553 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12569 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12570 PyObject
*resultobj
= 0;
12571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12575 PyObject
*swig_obj
[1] ;
12577 if (!args
) SWIG_fail
;
12578 swig_obj
[0] = args
;
12579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12583 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12603 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12604 PyObject
*resultobj
= 0;
12605 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12606 wxFontFamily result
;
12609 PyObject
*swig_obj
[1] ;
12611 if (!args
) SWIG_fail
;
12612 swig_obj
[0] = args
;
12613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12614 if (!SWIG_IsOK(res1
)) {
12615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12617 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_From_int(static_cast< int >(result
));
12631 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12632 PyObject
*resultobj
= 0;
12633 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12634 wxFontEncoding result
;
12637 PyObject
*swig_obj
[1] ;
12639 if (!args
) SWIG_fail
;
12640 swig_obj
[0] = args
;
12641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12642 if (!SWIG_IsOK(res1
)) {
12643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12645 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_From_int(static_cast< int >(result
));
12659 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
= 0;
12661 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char * kwnames
[] = {
12670 (char *) "self",(char *) "pointsize", NULL
12673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12678 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12680 if (!SWIG_IsOK(ecode2
)) {
12681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12683 arg2
= static_cast< int >(val2
);
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 (arg1
)->SetPointSize(arg2
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_Py_Void();
12697 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 char * kwnames
[] = {
12707 (char *) "self",(char *) "pixelSize", NULL
12710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12712 if (!SWIG_IsOK(res1
)) {
12713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12715 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_Py_Void();
12733 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
= 0;
12735 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 char * kwnames
[] = {
12744 (char *) "self",(char *) "style", NULL
12747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12749 if (!SWIG_IsOK(res1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12752 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12754 if (!SWIG_IsOK(ecode2
)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12757 arg2
= static_cast< wxFontStyle
>(val2
);
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 (arg1
)->SetStyle(arg2
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= SWIG_Py_Void();
12771 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
= 0;
12773 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12774 wxFontWeight arg2
;
12779 PyObject
* obj0
= 0 ;
12780 PyObject
* obj1
= 0 ;
12781 char * kwnames
[] = {
12782 (char *) "self",(char *) "weight", NULL
12785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12787 if (!SWIG_IsOK(res1
)) {
12788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12790 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12792 if (!SWIG_IsOK(ecode2
)) {
12793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12795 arg2
= static_cast< wxFontWeight
>(val2
);
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 (arg1
)->SetWeight(arg2
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= SWIG_Py_Void();
12809 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
= 0;
12811 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "underlined", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12828 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12829 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12830 if (!SWIG_IsOK(ecode2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12833 arg2
= static_cast< bool >(val2
);
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->SetUnderlined(arg2
);
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_Py_Void();
12847 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12848 PyObject
*resultobj
= 0;
12849 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 char * kwnames
[] = {
12857 (char *) "self",(char *) "facename", NULL
12860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12865 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12867 wxString
* sptr
= wxString_in_helper(obj1
);
12868 if (sptr
== NULL
) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (bool)(arg1
)->SetFaceName(arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12887 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
= 0;
12889 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12890 wxFontFamily arg2
;
12895 PyObject
* obj0
= 0 ;
12896 PyObject
* obj1
= 0 ;
12897 char * kwnames
[] = {
12898 (char *) "self",(char *) "family", NULL
12901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12906 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12908 if (!SWIG_IsOK(ecode2
)) {
12909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12911 arg2
= static_cast< wxFontFamily
>(val2
);
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 (arg1
)->SetFamily(arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_Py_Void();
12925 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
= 0;
12927 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12928 wxFontEncoding arg2
;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 char * kwnames
[] = {
12936 (char *) "self",(char *) "encoding", NULL
12939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12941 if (!SWIG_IsOK(res1
)) {
12942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12944 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12946 if (!SWIG_IsOK(ecode2
)) {
12947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12949 arg2
= static_cast< wxFontEncoding
>(val2
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->SetEncoding(arg2
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_Py_Void();
12963 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
= 0;
12965 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12966 wxString
*arg2
= 0 ;
12970 bool temp2
= false ;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "self",(char *) "s", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12982 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12984 arg2
= wxString_in_helper(obj1
);
12985 if (arg2
== NULL
) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13011 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13012 PyObject
*resultobj
= 0;
13013 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13017 PyObject
*swig_obj
[1] ;
13019 if (!args
) SWIG_fail
;
13020 swig_obj
[0] = args
;
13021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13022 if (!SWIG_IsOK(res1
)) {
13023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13025 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13045 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13046 PyObject
*resultobj
= 0;
13047 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13051 PyObject
*swig_obj
[1] ;
13053 if (!args
) SWIG_fail
;
13054 swig_obj
[0] = args
;
13055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13056 if (!SWIG_IsOK(res1
)) {
13057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13059 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 result
= wxNativeFontInfo___str__(arg1
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13079 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= 0;
13081 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13082 wxString
*arg2
= 0 ;
13086 bool temp2
= false ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char * kwnames
[] = {
13090 (char *) "self",(char *) "s", NULL
13093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13098 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13100 arg2
= wxString_in_helper(obj1
);
13101 if (arg2
== NULL
) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13127 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13128 PyObject
*resultobj
= 0;
13129 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13133 PyObject
*swig_obj
[1] ;
13135 if (!args
) SWIG_fail
;
13136 swig_obj
[0] = args
;
13137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13141 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13161 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13164 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13165 return SWIG_Py_Void();
13168 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13169 return SWIG_Python_InitShadowInstance(args
);
13172 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13173 PyObject
*resultobj
= 0;
13174 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13175 wxString
*arg2
= (wxString
*) 0 ;
13178 bool temp2
= false ;
13179 PyObject
*swig_obj
[2] ;
13181 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13186 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13188 arg2
= wxString_in_helper(swig_obj
[1]);
13189 if (arg2
== NULL
) SWIG_fail
;
13192 if (arg1
) (arg1
)->facename
= *arg2
;
13194 resultobj
= SWIG_Py_Void();
13209 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13210 PyObject
*resultobj
= 0;
13211 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13212 wxString
*result
= 0 ;
13215 PyObject
*swig_obj
[1] ;
13217 if (!args
) SWIG_fail
;
13218 swig_obj
[0] = args
;
13219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13220 if (!SWIG_IsOK(res1
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13223 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13224 result
= (wxString
*)& ((arg1
)->facename
);
13227 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13229 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13238 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 PyObject
*resultobj
= 0;
13240 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13241 wxFontEncoding arg2
;
13246 PyObject
*swig_obj
[2] ;
13248 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13250 if (!SWIG_IsOK(res1
)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13253 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13254 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13255 if (!SWIG_IsOK(ecode2
)) {
13256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13258 arg2
= static_cast< wxFontEncoding
>(val2
);
13259 if (arg1
) (arg1
)->encoding
= arg2
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13271 wxFontEncoding result
;
13274 PyObject
*swig_obj
[1] ;
13276 if (!args
) SWIG_fail
;
13277 swig_obj
[0] = args
;
13278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13282 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13283 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13284 resultobj
= SWIG_From_int(static_cast< int >(result
));
13291 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13292 PyObject
*resultobj
= 0;
13293 wxNativeEncodingInfo
*result
= 0 ;
13295 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13309 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13310 PyObject
*resultobj
= 0;
13311 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13314 PyObject
*swig_obj
[1] ;
13316 if (!args
) SWIG_fail
;
13317 swig_obj
[0] = args
;
13318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13319 if (!SWIG_IsOK(res1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13322 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
= 0;
13339 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13340 wxString
*arg2
= 0 ;
13344 bool temp2
= false ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 char * kwnames
[] = {
13348 (char *) "self",(char *) "s", NULL
13351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13353 if (!SWIG_IsOK(res1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13356 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13358 arg2
= wxString_in_helper(obj1
);
13359 if (arg2
== NULL
) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13385 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 PyObject
*resultobj
= 0;
13387 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13391 PyObject
*swig_obj
[1] ;
13393 if (!args
) SWIG_fail
;
13394 swig_obj
[0] = args
;
13395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13399 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13419 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13422 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13423 return SWIG_Py_Void();
13426 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13427 return SWIG_Python_InitShadowInstance(args
);
13430 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
= 0;
13432 wxFontEncoding arg1
;
13433 wxNativeEncodingInfo
*result
= 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char * kwnames
[] = {
13438 (char *) "encoding", NULL
13441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13443 if (!SWIG_IsOK(ecode1
)) {
13444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13446 arg1
= static_cast< wxFontEncoding
>(val1
);
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13460 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
= 0;
13462 wxNativeEncodingInfo
*arg1
= 0 ;
13466 PyObject
* obj0
= 0 ;
13467 char * kwnames
[] = {
13468 (char *) "info", NULL
13471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13472 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13473 if (!SWIG_IsOK(res1
)) {
13474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13479 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 PyObject
*resultobj
= 0;
13497 wxFontMapper
*result
= 0 ;
13499 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (wxFontMapper
*)new wxFontMapper();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13513 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13515 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13518 PyObject
*swig_obj
[1] ;
13520 if (!args
) SWIG_fail
;
13521 swig_obj
[0] = args
;
13522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13526 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_Py_Void();
13541 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxFontMapper
*result
= 0 ;
13545 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (wxFontMapper
*)wxFontMapper::Get();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13559 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
= 0;
13561 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13562 wxFontMapper
*result
= 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char * kwnames
[] = {
13567 (char *) "mapper", NULL
13570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13572 if (!SWIG_IsOK(res1
)) {
13573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13575 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13589 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13592 wxString
*arg2
= 0 ;
13593 bool arg3
= (bool) true ;
13594 wxFontEncoding result
;
13597 bool temp2
= false ;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 PyObject
* obj2
= 0 ;
13603 char * kwnames
[] = {
13604 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13609 if (!SWIG_IsOK(res1
)) {
13610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13612 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13614 arg2
= wxString_in_helper(obj1
);
13615 if (arg2
== NULL
) SWIG_fail
;
13619 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13620 if (!SWIG_IsOK(ecode3
)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13623 arg3
= static_cast< bool >(val3
);
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 resultobj
= SWIG_From_int(static_cast< int >(result
));
13646 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13647 PyObject
*resultobj
= 0;
13650 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13664 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
= 0;
13667 wxFontEncoding result
;
13670 PyObject
* obj0
= 0 ;
13671 char * kwnames
[] = {
13675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13676 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13677 if (!SWIG_IsOK(ecode1
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13680 arg1
= static_cast< size_t >(val1
);
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= SWIG_From_int(static_cast< int >(result
));
13694 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13695 PyObject
*resultobj
= 0;
13696 wxFontEncoding arg1
;
13700 PyObject
* obj0
= 0 ;
13701 char * kwnames
[] = {
13702 (char *) "encoding", NULL
13705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13706 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13707 if (!SWIG_IsOK(ecode1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13710 arg1
= static_cast< wxFontEncoding
>(val1
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= wxFontMapper::GetEncodingName(arg1
);
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13730 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
= 0;
13732 wxFontEncoding arg1
;
13736 PyObject
* obj0
= 0 ;
13737 char * kwnames
[] = {
13738 (char *) "encoding", NULL
13741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13743 if (!SWIG_IsOK(ecode1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13746 arg1
= static_cast< wxFontEncoding
>(val1
);
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= wxFontMapper::GetEncodingDescription(arg1
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13766 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
= 0;
13768 wxString
*arg1
= 0 ;
13769 wxFontEncoding result
;
13770 bool temp1
= false ;
13771 PyObject
* obj0
= 0 ;
13772 char * kwnames
[] = {
13773 (char *) "name", NULL
13776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13778 arg1
= wxString_in_helper(obj0
);
13779 if (arg1
== NULL
) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13785 wxPyEndAllowThreads(__tstate
);
13786 if (PyErr_Occurred()) SWIG_fail
;
13788 resultobj
= SWIG_From_int(static_cast< int >(result
));
13803 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
= 0;
13805 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13806 wxString
*arg2
= 0 ;
13809 bool temp2
= false ;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 char * kwnames
[] = {
13813 (char *) "self",(char *) "prefix", NULL
13816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13818 if (!SWIG_IsOK(res1
)) {
13819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13821 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13823 arg2
= wxString_in_helper(obj1
);
13824 if (arg2
== NULL
) SWIG_fail
;
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_Py_Void();
13848 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13849 PyObject
*resultobj
= 0;
13852 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= wxFontMapper::GetDefaultConfigPath();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13872 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
= 0;
13874 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13875 wxFontEncoding arg2
;
13876 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13877 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13878 bool arg4
= (bool) true ;
13879 PyObject
*result
= 0 ;
13884 bool temp3
= false ;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 PyObject
* obj3
= 0 ;
13891 char * kwnames
[] = {
13892 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13897 if (!SWIG_IsOK(res1
)) {
13898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13900 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13902 if (!SWIG_IsOK(ecode2
)) {
13903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13905 arg2
= static_cast< wxFontEncoding
>(val2
);
13908 arg3
= wxString_in_helper(obj2
);
13909 if (arg3
== NULL
) SWIG_fail
;
13914 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13915 if (!SWIG_IsOK(ecode4
)) {
13916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13918 arg4
= static_cast< bool >(val4
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= result
;
13941 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
= 0;
13943 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13944 wxFontEncoding arg2
;
13945 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13946 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13952 bool temp3
= false ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 PyObject
* obj2
= 0 ;
13956 char * kwnames
[] = {
13957 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13962 if (!SWIG_IsOK(res1
)) {
13963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13965 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13967 if (!SWIG_IsOK(ecode2
)) {
13968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13970 arg2
= static_cast< wxFontEncoding
>(val2
);
13973 arg3
= wxString_in_helper(obj2
);
13974 if (arg3
== NULL
) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14001 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
= 0;
14003 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14004 wxWindow
*arg2
= (wxWindow
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char * kwnames
[] = {
14012 (char *) "self",(char *) "parent", NULL
14015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14017 if (!SWIG_IsOK(res1
)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14020 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14022 if (!SWIG_IsOK(res2
)) {
14023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 (arg1
)->SetDialogParent(arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_Py_Void();
14039 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
= 0;
14041 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14042 wxString
*arg2
= 0 ;
14045 bool temp2
= false ;
14046 PyObject
* obj0
= 0 ;
14047 PyObject
* obj1
= 0 ;
14048 char * kwnames
[] = {
14049 (char *) "self",(char *) "title", NULL
14052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14054 if (!SWIG_IsOK(res1
)) {
14055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14057 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14059 arg2
= wxString_in_helper(obj1
);
14060 if (arg2
== NULL
) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_Py_Void();
14084 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14087 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14088 return SWIG_Py_Void();
14091 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14092 return SWIG_Python_InitShadowInstance(args
);
14095 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
= 0;
14101 bool arg5
= (bool) false ;
14102 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14103 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14104 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14105 wxFont
*result
= 0 ;
14116 bool temp6
= false ;
14119 PyObject
* obj0
= 0 ;
14120 PyObject
* obj1
= 0 ;
14121 PyObject
* obj2
= 0 ;
14122 PyObject
* obj3
= 0 ;
14123 PyObject
* obj4
= 0 ;
14124 PyObject
* obj5
= 0 ;
14125 PyObject
* obj6
= 0 ;
14126 char * kwnames
[] = {
14127 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14132 if (!SWIG_IsOK(ecode1
)) {
14133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14135 arg1
= static_cast< int >(val1
);
14136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14137 if (!SWIG_IsOK(ecode2
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14140 arg2
= static_cast< int >(val2
);
14141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14142 if (!SWIG_IsOK(ecode3
)) {
14143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14145 arg3
= static_cast< int >(val3
);
14146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14147 if (!SWIG_IsOK(ecode4
)) {
14148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14150 arg4
= static_cast< int >(val4
);
14152 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14153 if (!SWIG_IsOK(ecode5
)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14156 arg5
= static_cast< bool >(val5
);
14160 arg6
= wxString_in_helper(obj5
);
14161 if (arg6
== NULL
) SWIG_fail
;
14166 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14167 if (!SWIG_IsOK(ecode7
)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14170 arg7
= static_cast< wxFontEncoding
>(val7
);
14173 if (!wxPyCheckForApp()) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14194 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 PyObject
*resultobj
= 0;
14196 wxFont
*arg1
= (wxFont
*) 0 ;
14199 PyObject
*swig_obj
[1] ;
14201 if (!args
) SWIG_fail
;
14202 swig_obj
[0] = args
;
14203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14204 if (!SWIG_IsOK(res1
)) {
14205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14207 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_Py_Void();
14222 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
= 0;
14224 wxNativeFontInfo
*arg1
= 0 ;
14225 wxFont
*result
= 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char * kwnames
[] = {
14230 (char *) "info", NULL
14233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14234 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14235 if (!SWIG_IsOK(res1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14241 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14243 if (!wxPyCheckForApp()) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14256 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
= 0;
14258 wxString
*arg1
= 0 ;
14259 wxFont
*result
= 0 ;
14260 bool temp1
= false ;
14261 PyObject
* obj0
= 0 ;
14262 char * kwnames
[] = {
14263 (char *) "info", NULL
14266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14268 arg1
= wxString_in_helper(obj0
);
14269 if (arg1
== NULL
) SWIG_fail
;
14273 if (!wxPyCheckForApp()) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14294 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
= 0;
14297 wxFontFamily arg2
;
14298 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14301 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14302 wxFont
*result
= 0 ;
14309 bool temp4
= false ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 PyObject
* obj2
= 0 ;
14315 PyObject
* obj3
= 0 ;
14316 PyObject
* obj4
= 0 ;
14317 char * kwnames
[] = {
14318 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14322 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14323 if (!SWIG_IsOK(ecode1
)) {
14324 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14326 arg1
= static_cast< int >(val1
);
14327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14328 if (!SWIG_IsOK(ecode2
)) {
14329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14331 arg2
= static_cast< wxFontFamily
>(val2
);
14333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14334 if (!SWIG_IsOK(ecode3
)) {
14335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14337 arg3
= static_cast< int >(val3
);
14341 arg4
= wxString_in_helper(obj3
);
14342 if (arg4
== NULL
) SWIG_fail
;
14347 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14348 if (!SWIG_IsOK(ecode5
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14351 arg5
= static_cast< wxFontEncoding
>(val5
);
14354 if (!wxPyCheckForApp()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14375 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
= 0;
14381 bool arg5
= (bool) false ;
14382 wxString
const &arg6_defvalue
= wxEmptyString
;
14383 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14384 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14385 wxFont
*result
= 0 ;
14395 bool temp6
= false ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 PyObject
* obj2
= 0 ;
14401 PyObject
* obj3
= 0 ;
14402 PyObject
* obj4
= 0 ;
14403 PyObject
* obj5
= 0 ;
14404 PyObject
* obj6
= 0 ;
14405 char * kwnames
[] = {
14406 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14412 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14415 if (!SWIG_IsOK(ecode2
)) {
14416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14418 arg2
= static_cast< int >(val2
);
14419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14420 if (!SWIG_IsOK(ecode3
)) {
14421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14423 arg3
= static_cast< int >(val3
);
14424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14425 if (!SWIG_IsOK(ecode4
)) {
14426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14428 arg4
= static_cast< int >(val4
);
14430 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14431 if (!SWIG_IsOK(ecode5
)) {
14432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14434 arg5
= static_cast< bool >(val5
);
14438 arg6
= wxString_in_helper(obj5
);
14439 if (arg6
== NULL
) SWIG_fail
;
14444 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14445 if (!SWIG_IsOK(ecode7
)) {
14446 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14448 arg7
= static_cast< wxFontEncoding
>(val7
);
14451 if (!wxPyCheckForApp()) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14472 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
= 0;
14475 wxFontFamily arg2
;
14476 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14477 wxString
const &arg4_defvalue
= wxEmptyString
;
14478 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14479 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14480 wxFont
*result
= 0 ;
14486 bool temp4
= false ;
14489 PyObject
* obj0
= 0 ;
14490 PyObject
* obj1
= 0 ;
14491 PyObject
* obj2
= 0 ;
14492 PyObject
* obj3
= 0 ;
14493 PyObject
* obj4
= 0 ;
14494 char * kwnames
[] = {
14495 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14501 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14504 if (!SWIG_IsOK(ecode2
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14507 arg2
= static_cast< wxFontFamily
>(val2
);
14509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14510 if (!SWIG_IsOK(ecode3
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14513 arg3
= static_cast< int >(val3
);
14517 arg4
= wxString_in_helper(obj3
);
14518 if (arg4
== NULL
) SWIG_fail
;
14523 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14524 if (!SWIG_IsOK(ecode5
)) {
14525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14527 arg5
= static_cast< wxFontEncoding
>(val5
);
14530 if (!wxPyCheckForApp()) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14551 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14552 PyObject
*resultobj
= 0;
14553 wxFont
*arg1
= (wxFont
*) 0 ;
14557 PyObject
*swig_obj
[1] ;
14559 if (!args
) SWIG_fail
;
14560 swig_obj
[0] = args
;
14561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14562 if (!SWIG_IsOK(res1
)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14565 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
= 0;
14583 wxFont
*arg1
= (wxFont
*) 0 ;
14584 wxFont
*arg2
= (wxFont
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 char * kwnames
[] = {
14593 (char *) "self",(char *) "other", NULL
14596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14598 if (!SWIG_IsOK(res1
)) {
14599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14601 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14602 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14603 if (!SWIG_IsOK(res2
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14606 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14622 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
= 0;
14624 wxFont
*arg1
= (wxFont
*) 0 ;
14625 wxFont
*arg2
= (wxFont
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 PyObject
* obj1
= 0 ;
14633 char * kwnames
[] = {
14634 (char *) "self",(char *) "other", NULL
14637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14642 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14644 if (!SWIG_IsOK(res2
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14647 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14663 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14664 PyObject
*resultobj
= 0;
14665 wxFont
*arg1
= (wxFont
*) 0 ;
14669 PyObject
*swig_obj
[1] ;
14671 if (!args
) SWIG_fail
;
14672 swig_obj
[0] = args
;
14673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14674 if (!SWIG_IsOK(res1
)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14677 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_From_int(static_cast< int >(result
));
14691 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14692 PyObject
*resultobj
= 0;
14693 wxFont
*arg1
= (wxFont
*) 0 ;
14697 PyObject
*swig_obj
[1] ;
14699 if (!args
) SWIG_fail
;
14700 swig_obj
[0] = args
;
14701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14702 if (!SWIG_IsOK(res1
)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14705 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14719 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14720 PyObject
*resultobj
= 0;
14721 wxFont
*arg1
= (wxFont
*) 0 ;
14725 PyObject
*swig_obj
[1] ;
14727 if (!args
) SWIG_fail
;
14728 swig_obj
[0] = args
;
14729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14733 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14749 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14750 PyObject
*resultobj
= 0;
14751 wxFont
*arg1
= (wxFont
*) 0 ;
14755 PyObject
*swig_obj
[1] ;
14757 if (!args
) SWIG_fail
;
14758 swig_obj
[0] = args
;
14759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14760 if (!SWIG_IsOK(res1
)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14763 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_From_int(static_cast< int >(result
));
14777 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14778 PyObject
*resultobj
= 0;
14779 wxFont
*arg1
= (wxFont
*) 0 ;
14783 PyObject
*swig_obj
[1] ;
14785 if (!args
) SWIG_fail
;
14786 swig_obj
[0] = args
;
14787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14788 if (!SWIG_IsOK(res1
)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14791 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_From_int(static_cast< int >(result
));
14805 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14806 PyObject
*resultobj
= 0;
14807 wxFont
*arg1
= (wxFont
*) 0 ;
14811 PyObject
*swig_obj
[1] ;
14813 if (!args
) SWIG_fail
;
14814 swig_obj
[0] = args
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14819 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_From_int(static_cast< int >(result
));
14833 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 PyObject
*resultobj
= 0;
14835 wxFont
*arg1
= (wxFont
*) 0 ;
14839 PyObject
*swig_obj
[1] ;
14841 if (!args
) SWIG_fail
;
14842 swig_obj
[0] = args
;
14843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14847 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14863 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(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_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14877 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= ((wxFont
const *)arg1
)->GetFaceName();
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14897 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14898 PyObject
*resultobj
= 0;
14899 wxFont
*arg1
= (wxFont
*) 0 ;
14900 wxFontEncoding result
;
14903 PyObject
*swig_obj
[1] ;
14905 if (!args
) SWIG_fail
;
14906 swig_obj
[0] = args
;
14907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14908 if (!SWIG_IsOK(res1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14911 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_From_int(static_cast< int >(result
));
14925 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14926 PyObject
*resultobj
= 0;
14927 wxFont
*arg1
= (wxFont
*) 0 ;
14928 wxNativeFontInfo
*result
= 0 ;
14931 PyObject
*swig_obj
[1] ;
14933 if (!args
) SWIG_fail
;
14934 swig_obj
[0] = args
;
14935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14939 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14953 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14954 PyObject
*resultobj
= 0;
14955 wxFont
*arg1
= (wxFont
*) 0 ;
14959 PyObject
*swig_obj
[1] ;
14961 if (!args
) SWIG_fail
;
14962 swig_obj
[0] = args
;
14963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14964 if (!SWIG_IsOK(res1
)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14967 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14983 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14984 PyObject
*resultobj
= 0;
14985 wxFont
*arg1
= (wxFont
*) 0 ;
14989 PyObject
*swig_obj
[1] ;
14991 if (!args
) SWIG_fail
;
14992 swig_obj
[0] = args
;
14993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14994 if (!SWIG_IsOK(res1
)) {
14995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14997 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15017 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15018 PyObject
*resultobj
= 0;
15019 wxFont
*arg1
= (wxFont
*) 0 ;
15023 PyObject
*swig_obj
[1] ;
15025 if (!args
) SWIG_fail
;
15026 swig_obj
[0] = args
;
15027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15028 if (!SWIG_IsOK(res1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15031 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15051 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
= 0;
15053 wxFont
*arg1
= (wxFont
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 char * kwnames
[] = {
15062 (char *) "self",(char *) "pointSize", NULL
15065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15067 if (!SWIG_IsOK(res1
)) {
15068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15070 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15072 if (!SWIG_IsOK(ecode2
)) {
15073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15075 arg2
= static_cast< int >(val2
);
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 (arg1
)->SetPointSize(arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_Py_Void();
15089 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
= 0;
15091 wxFont
*arg1
= (wxFont
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char * kwnames
[] = {
15099 (char *) "self",(char *) "pixelSize", NULL
15102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15104 if (!SWIG_IsOK(res1
)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15107 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15110 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= SWIG_Py_Void();
15125 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
= 0;
15127 wxFont
*arg1
= (wxFont
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 PyObject
* obj1
= 0 ;
15135 char * kwnames
[] = {
15136 (char *) "self",(char *) "family", NULL
15139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15141 if (!SWIG_IsOK(res1
)) {
15142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15144 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15146 if (!SWIG_IsOK(ecode2
)) {
15147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15149 arg2
= static_cast< int >(val2
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 (arg1
)->SetFamily(arg2
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_Py_Void();
15163 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
= 0;
15165 wxFont
*arg1
= (wxFont
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 PyObject
* obj1
= 0 ;
15173 char * kwnames
[] = {
15174 (char *) "self",(char *) "style", NULL
15177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15179 if (!SWIG_IsOK(res1
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15182 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15184 if (!SWIG_IsOK(ecode2
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15187 arg2
= static_cast< int >(val2
);
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetStyle(arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= SWIG_Py_Void();
15201 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
= 0;
15203 wxFont
*arg1
= (wxFont
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 PyObject
* obj1
= 0 ;
15211 char * kwnames
[] = {
15212 (char *) "self",(char *) "weight", NULL
15215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15217 if (!SWIG_IsOK(res1
)) {
15218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15220 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15222 if (!SWIG_IsOK(ecode2
)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15225 arg2
= static_cast< int >(val2
);
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetWeight(arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= SWIG_Py_Void();
15239 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
= 0;
15241 wxFont
*arg1
= (wxFont
*) 0 ;
15242 wxString
*arg2
= 0 ;
15246 bool temp2
= false ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 char * kwnames
[] = {
15250 (char *) "self",(char *) "faceName", NULL
15253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15258 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15260 arg2
= wxString_in_helper(obj1
);
15261 if (arg2
== NULL
) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15287 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
= 0;
15289 wxFont
*arg1
= (wxFont
*) 0 ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 char * kwnames
[] = {
15298 (char *) "self",(char *) "underlined", NULL
15301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15306 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15307 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15308 if (!SWIG_IsOK(ecode2
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15311 arg2
= static_cast< bool >(val2
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetUnderlined(arg2
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
= 0;
15327 wxFont
*arg1
= (wxFont
*) 0 ;
15328 wxFontEncoding arg2
;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char * kwnames
[] = {
15336 (char *) "self",(char *) "encoding", NULL
15339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15344 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15346 if (!SWIG_IsOK(ecode2
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15349 arg2
= static_cast< wxFontEncoding
>(val2
);
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetEncoding(arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_Py_Void();
15363 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
= 0;
15365 wxFont
*arg1
= (wxFont
*) 0 ;
15366 wxNativeFontInfo
*arg2
= 0 ;
15371 PyObject
* obj0
= 0 ;
15372 PyObject
* obj1
= 0 ;
15373 char * kwnames
[] = {
15374 (char *) "self",(char *) "info", NULL
15377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15382 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15384 if (!SWIG_IsOK(res2
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15390 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_Py_Void();
15404 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15405 PyObject
*resultobj
= 0;
15406 wxFont
*arg1
= (wxFont
*) 0 ;
15407 wxString
*arg2
= 0 ;
15411 bool temp2
= false ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 char * kwnames
[] = {
15415 (char *) "self",(char *) "info", NULL
15418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15420 if (!SWIG_IsOK(res1
)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15423 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15425 arg2
= wxString_in_helper(obj1
);
15426 if (arg2
== NULL
) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15452 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
= 0;
15454 wxFont
*arg1
= (wxFont
*) 0 ;
15455 wxString
*arg2
= 0 ;
15459 bool temp2
= false ;
15460 PyObject
* obj0
= 0 ;
15461 PyObject
* obj1
= 0 ;
15462 char * kwnames
[] = {
15463 (char *) "self",(char *) "info", NULL
15466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15468 if (!SWIG_IsOK(res1
)) {
15469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15471 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15473 arg2
= wxString_in_helper(obj1
);
15474 if (arg2
== NULL
) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15500 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15501 PyObject
*resultobj
= 0;
15502 wxFont
*arg1
= (wxFont
*) 0 ;
15506 PyObject
*swig_obj
[1] ;
15508 if (!args
) SWIG_fail
;
15509 swig_obj
[0] = args
;
15510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15511 if (!SWIG_IsOK(res1
)) {
15512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15514 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15534 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15535 PyObject
*resultobj
= 0;
15536 wxFont
*arg1
= (wxFont
*) 0 ;
15540 PyObject
*swig_obj
[1] ;
15542 if (!args
) SWIG_fail
;
15543 swig_obj
[0] = args
;
15544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15548 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= ((wxFont
const *)arg1
)->GetStyleString();
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15568 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15569 PyObject
*resultobj
= 0;
15570 wxFont
*arg1
= (wxFont
*) 0 ;
15574 PyObject
*swig_obj
[1] ;
15576 if (!args
) SWIG_fail
;
15577 swig_obj
[0] = args
;
15578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= ((wxFont
const *)arg1
)->GetWeightString();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15602 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
= 0;
15604 wxFont
*arg1
= (wxFont
*) 0 ;
15605 bool arg2
= (bool) true ;
15610 PyObject
* obj0
= 0 ;
15611 PyObject
* obj1
= 0 ;
15612 char * kwnames
[] = {
15613 (char *) "self",(char *) "no", NULL
15616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15618 if (!SWIG_IsOK(res1
)) {
15619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15621 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15623 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15624 if (!SWIG_IsOK(ecode2
)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15627 arg2
= static_cast< bool >(val2
);
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 (arg1
)->SetNoAntiAliasing(arg2
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= SWIG_Py_Void();
15642 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15643 PyObject
*resultobj
= 0;
15644 wxFont
*arg1
= (wxFont
*) 0 ;
15648 PyObject
*swig_obj
[1] ;
15650 if (!args
) SWIG_fail
;
15651 swig_obj
[0] = args
;
15652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15653 if (!SWIG_IsOK(res1
)) {
15654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15656 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15673 PyObject
*resultobj
= 0;
15674 wxFontEncoding result
;
15676 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15678 if (!wxPyCheckForApp()) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= SWIG_From_int(static_cast< int >(result
));
15691 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
= 0;
15693 wxFontEncoding arg1
;
15696 PyObject
* obj0
= 0 ;
15697 char * kwnames
[] = {
15698 (char *) "encoding", NULL
15701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15703 if (!SWIG_IsOK(ecode1
)) {
15704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15706 arg1
= static_cast< wxFontEncoding
>(val1
);
15708 if (!wxPyCheckForApp()) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 wxFont::SetDefaultEncoding(arg1
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_Py_Void();
15721 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15724 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15725 return SWIG_Py_Void();
15728 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 return SWIG_Python_InitShadowInstance(args
);
15732 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 PyObject
*resultobj
= 0;
15734 wxPyFontEnumerator
*result
= 0 ;
15736 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15738 if (!wxPyCheckForApp()) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15751 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 PyObject
*resultobj
= 0;
15753 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15756 PyObject
*swig_obj
[1] ;
15758 if (!args
) SWIG_fail
;
15759 swig_obj
[0] = args
;
15760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15764 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= SWIG_Py_Void();
15779 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
= 0;
15781 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15782 PyObject
*arg2
= (PyObject
*) 0 ;
15783 PyObject
*arg3
= (PyObject
*) 0 ;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 PyObject
* obj2
= 0 ;
15792 PyObject
* obj3
= 0 ;
15793 char * kwnames
[] = {
15794 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15802 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15805 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15806 if (!SWIG_IsOK(ecode4
)) {
15807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15809 arg4
= static_cast< bool >(val4
);
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_Py_Void();
15823 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
= 0;
15825 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15826 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15827 bool arg3
= (bool) false ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 PyObject
* obj2
= 0 ;
15838 char * kwnames
[] = {
15839 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15844 if (!SWIG_IsOK(res1
)) {
15845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15847 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15850 if (!SWIG_IsOK(ecode2
)) {
15851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15853 arg2
= static_cast< wxFontEncoding
>(val2
);
15856 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15857 if (!SWIG_IsOK(ecode3
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15860 arg3
= static_cast< bool >(val3
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15880 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15881 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15885 bool temp2
= false ;
15886 PyObject
* obj0
= 0 ;
15887 PyObject
* obj1
= 0 ;
15888 char * kwnames
[] = {
15889 (char *) "self",(char *) "facename", NULL
15892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15897 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15900 arg2
= wxString_in_helper(obj1
);
15901 if (arg2
== NULL
) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15928 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 PyObject
*resultobj
= 0;
15930 PyObject
*result
= 0 ;
15932 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= result
;
15946 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15947 PyObject
*resultobj
= 0;
15948 PyObject
*result
= 0 ;
15950 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= result
;
15964 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
= 0;
15966 wxString
*arg1
= 0 ;
15968 bool temp1
= false ;
15969 PyObject
* obj0
= 0 ;
15970 char * kwnames
[] = {
15971 (char *) "str", NULL
15974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15976 arg1
= wxString_in_helper(obj0
);
15977 if (arg1
== NULL
) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16007 return SWIG_Py_Void();
16010 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16011 return SWIG_Python_InitShadowInstance(args
);
16014 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16015 PyObject
*resultobj
= 0;
16016 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16022 PyObject
*swig_obj
[2] ;
16024 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16026 if (!SWIG_IsOK(res1
)) {
16027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16029 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16030 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16031 if (!SWIG_IsOK(ecode2
)) {
16032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16034 arg2
= static_cast< int >(val2
);
16035 if (arg1
) (arg1
)->Language
= arg2
;
16037 resultobj
= SWIG_Py_Void();
16044 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16045 PyObject
*resultobj
= 0;
16046 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16050 PyObject
*swig_obj
[1] ;
16052 if (!args
) SWIG_fail
;
16053 swig_obj
[0] = args
;
16054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16055 if (!SWIG_IsOK(res1
)) {
16056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16058 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16059 result
= (int) ((arg1
)->Language
);
16060 resultobj
= SWIG_From_int(static_cast< int >(result
));
16067 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 PyObject
*resultobj
= 0;
16069 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16070 wxString
*arg2
= (wxString
*) 0 ;
16073 bool temp2
= false ;
16074 PyObject
*swig_obj
[2] ;
16076 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16078 if (!SWIG_IsOK(res1
)) {
16079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16081 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16083 arg2
= wxString_in_helper(swig_obj
[1]);
16084 if (arg2
== NULL
) SWIG_fail
;
16087 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16089 resultobj
= SWIG_Py_Void();
16104 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16105 PyObject
*resultobj
= 0;
16106 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16107 wxString
*result
= 0 ;
16110 PyObject
*swig_obj
[1] ;
16112 if (!args
) SWIG_fail
;
16113 swig_obj
[0] = args
;
16114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16115 if (!SWIG_IsOK(res1
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16118 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16119 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16133 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16134 PyObject
*resultobj
= 0;
16135 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16136 wxString
*arg2
= (wxString
*) 0 ;
16139 bool temp2
= false ;
16140 PyObject
*swig_obj
[2] ;
16142 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16144 if (!SWIG_IsOK(res1
)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16147 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16149 arg2
= wxString_in_helper(swig_obj
[1]);
16150 if (arg2
== NULL
) SWIG_fail
;
16153 if (arg1
) (arg1
)->Description
= *arg2
;
16155 resultobj
= SWIG_Py_Void();
16170 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16171 PyObject
*resultobj
= 0;
16172 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16173 wxString
*result
= 0 ;
16176 PyObject
*swig_obj
[1] ;
16178 if (!args
) SWIG_fail
;
16179 swig_obj
[0] = args
;
16180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16181 if (!SWIG_IsOK(res1
)) {
16182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16184 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16185 result
= (wxString
*)& ((arg1
)->Description
);
16188 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16190 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16199 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16202 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16203 return SWIG_Py_Void();
16206 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
= 0;
16208 int arg1
= (int) -1 ;
16209 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16210 wxLocale
*result
= 0 ;
16215 PyObject
* obj0
= 0 ;
16216 PyObject
* obj1
= 0 ;
16217 char * kwnames
[] = {
16218 (char *) "language",(char *) "flags", NULL
16221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16224 if (!SWIG_IsOK(ecode1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16227 arg1
= static_cast< int >(val1
);
16230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16231 if (!SWIG_IsOK(ecode2
)) {
16232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16234 arg2
= static_cast< int >(val2
);
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16249 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16250 PyObject
*resultobj
= 0;
16251 wxLocale
*arg1
= (wxLocale
*) 0 ;
16254 PyObject
*swig_obj
[1] ;
16256 if (!args
) SWIG_fail
;
16257 swig_obj
[0] = args
;
16258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16259 if (!SWIG_IsOK(res1
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16262 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_Py_Void();
16277 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
= 0;
16279 wxLocale
*arg1
= (wxLocale
*) 0 ;
16280 wxString
*arg2
= 0 ;
16281 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16282 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16283 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16284 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16285 bool arg5
= (bool) true ;
16286 bool arg6
= (bool) false ;
16290 bool temp2
= false ;
16291 bool temp3
= false ;
16292 bool temp4
= false ;
16297 PyObject
* obj0
= 0 ;
16298 PyObject
* obj1
= 0 ;
16299 PyObject
* obj2
= 0 ;
16300 PyObject
* obj3
= 0 ;
16301 PyObject
* obj4
= 0 ;
16302 PyObject
* obj5
= 0 ;
16303 char * kwnames
[] = {
16304 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16309 if (!SWIG_IsOK(res1
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16312 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16314 arg2
= wxString_in_helper(obj1
);
16315 if (arg2
== NULL
) SWIG_fail
;
16320 arg3
= wxString_in_helper(obj2
);
16321 if (arg3
== NULL
) SWIG_fail
;
16327 arg4
= wxString_in_helper(obj3
);
16328 if (arg4
== NULL
) SWIG_fail
;
16333 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16334 if (!SWIG_IsOK(ecode5
)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16337 arg5
= static_cast< bool >(val5
);
16340 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16341 if (!SWIG_IsOK(ecode6
)) {
16342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16344 arg6
= static_cast< bool >(val6
);
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16385 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= 0;
16387 wxLocale
*arg1
= (wxLocale
*) 0 ;
16388 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16389 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 PyObject
* obj2
= 0 ;
16400 char * kwnames
[] = {
16401 (char *) "self",(char *) "language",(char *) "flags", NULL
16404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16406 if (!SWIG_IsOK(res1
)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16409 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16412 if (!SWIG_IsOK(ecode2
)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16415 arg2
= static_cast< int >(val2
);
16418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16419 if (!SWIG_IsOK(ecode3
)) {
16420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16422 arg3
= static_cast< int >(val3
);
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16439 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16440 PyObject
*resultobj
= 0;
16443 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (int)wxLocale::GetSystemLanguage();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= SWIG_From_int(static_cast< int >(result
));
16457 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16458 PyObject
*resultobj
= 0;
16459 wxFontEncoding result
;
16461 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= SWIG_From_int(static_cast< int >(result
));
16475 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16476 PyObject
*resultobj
= 0;
16479 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= wxLocale::GetSystemEncodingName();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16499 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16500 PyObject
*resultobj
= 0;
16501 wxLocale
*arg1
= (wxLocale
*) 0 ;
16505 PyObject
*swig_obj
[1] ;
16507 if (!args
) SWIG_fail
;
16508 swig_obj
[0] = args
;
16509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16510 if (!SWIG_IsOK(res1
)) {
16511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16513 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16529 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16530 PyObject
*resultobj
= 0;
16531 wxLocale
*arg1
= (wxLocale
*) 0 ;
16535 PyObject
*swig_obj
[1] ;
16537 if (!args
) SWIG_fail
;
16538 swig_obj
[0] = args
;
16539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16540 if (!SWIG_IsOK(res1
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16543 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= ((wxLocale
const *)arg1
)->GetLocale();
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16563 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16564 PyObject
*resultobj
= 0;
16565 wxLocale
*arg1
= (wxLocale
*) 0 ;
16569 PyObject
*swig_obj
[1] ;
16571 if (!args
) SWIG_fail
;
16572 swig_obj
[0] = args
;
16573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16577 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_From_int(static_cast< int >(result
));
16591 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16592 PyObject
*resultobj
= 0;
16593 wxLocale
*arg1
= (wxLocale
*) 0 ;
16597 PyObject
*swig_obj
[1] ;
16599 if (!args
) SWIG_fail
;
16600 swig_obj
[0] = args
;
16601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16605 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= ((wxLocale
const *)arg1
)->GetSysName();
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16625 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16626 PyObject
*resultobj
= 0;
16627 wxLocale
*arg1
= (wxLocale
*) 0 ;
16631 PyObject
*swig_obj
[1] ;
16633 if (!args
) SWIG_fail
;
16634 swig_obj
[0] = args
;
16635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16636 if (!SWIG_IsOK(res1
)) {
16637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16639 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16659 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= 0;
16661 wxString
*arg1
= 0 ;
16662 bool temp1
= false ;
16663 PyObject
* obj0
= 0 ;
16664 char * kwnames
[] = {
16665 (char *) "prefix", NULL
16668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16670 arg1
= wxString_in_helper(obj0
);
16671 if (arg1
== NULL
) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_Py_Void();
16695 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
= 0;
16697 wxLocale
*arg1
= (wxLocale
*) 0 ;
16698 wxString
*arg2
= 0 ;
16702 bool temp2
= false ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "self",(char *) "szDomain", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16714 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16716 arg2
= wxString_in_helper(obj1
);
16717 if (arg2
== NULL
) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16743 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
= 0;
16749 PyObject
* obj0
= 0 ;
16750 char * kwnames
[] = {
16751 (char *) "lang", NULL
16754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16756 if (!SWIG_IsOK(ecode1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16759 arg1
= static_cast< int >(val1
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (bool)wxLocale::IsAvailable(arg1
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16775 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxLocale
*arg1
= (wxLocale
*) 0 ;
16778 wxString
*arg2
= 0 ;
16782 bool temp2
= false ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 char * kwnames
[] = {
16786 (char *) "self",(char *) "szDomain", NULL
16789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16791 if (!SWIG_IsOK(res1
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16794 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16796 arg2
= wxString_in_helper(obj1
);
16797 if (arg2
== NULL
) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16823 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
= 0;
16826 wxLanguageInfo
*result
= 0 ;
16829 PyObject
* obj0
= 0 ;
16830 char * kwnames
[] = {
16831 (char *) "lang", NULL
16834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16836 if (!SWIG_IsOK(ecode1
)) {
16837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16839 arg1
= static_cast< int >(val1
);
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16853 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
= 0;
16859 PyObject
* obj0
= 0 ;
16860 char * kwnames
[] = {
16861 (char *) "lang", NULL
16864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16866 if (!SWIG_IsOK(ecode1
)) {
16867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16869 arg1
= static_cast< int >(val1
);
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= wxLocale::GetLanguageName(arg1
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16889 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
= 0;
16891 wxString
*arg1
= 0 ;
16892 wxLanguageInfo
*result
= 0 ;
16893 bool temp1
= false ;
16894 PyObject
* obj0
= 0 ;
16895 char * kwnames
[] = {
16896 (char *) "locale", NULL
16899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16901 arg1
= wxString_in_helper(obj0
);
16902 if (arg1
== NULL
) SWIG_fail
;
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16926 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
= 0;
16928 wxLanguageInfo
*arg1
= 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char * kwnames
[] = {
16933 (char *) "info", NULL
16936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16937 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16944 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_Py_Void();
16958 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
= 0;
16960 wxLocale
*arg1
= (wxLocale
*) 0 ;
16961 wxString
*arg2
= 0 ;
16962 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16967 bool temp2
= false ;
16968 bool temp3
= false ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 PyObject
* obj2
= 0 ;
16972 char * kwnames
[] = {
16973 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16981 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16983 arg2
= wxString_in_helper(obj1
);
16984 if (arg2
== NULL
) SWIG_fail
;
16989 arg3
= wxString_in_helper(obj2
);
16990 if (arg3
== NULL
) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17029 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17030 PyObject
*resultobj
= 0;
17031 wxLocale
*arg1
= (wxLocale
*) 0 ;
17032 wxString
*result
= 0 ;
17035 PyObject
*swig_obj
[1] ;
17037 if (!args
) SWIG_fail
;
17038 swig_obj
[0] = args
;
17039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17040 if (!SWIG_IsOK(res1
)) {
17041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17043 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17048 result
= (wxString
*) &_result_ref
;
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17057 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17066 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17069 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17070 return SWIG_Py_Void();
17073 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17074 return SWIG_Python_InitShadowInstance(args
);
17077 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17078 PyObject
*resultobj
= 0;
17079 int arg1
= (int) -1 ;
17080 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17081 wxPyLocale
*result
= 0 ;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 char * kwnames
[] = {
17089 (char *) "language",(char *) "flags", NULL
17092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17095 if (!SWIG_IsOK(ecode1
)) {
17096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17098 arg1
= static_cast< int >(val1
);
17101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17102 if (!SWIG_IsOK(ecode2
)) {
17103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17105 arg2
= static_cast< int >(val2
);
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17120 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17121 PyObject
*resultobj
= 0;
17122 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17125 PyObject
*swig_obj
[1] ;
17127 if (!args
) SWIG_fail
;
17128 swig_obj
[0] = args
;
17129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17130 if (!SWIG_IsOK(res1
)) {
17131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17133 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= SWIG_Py_Void();
17148 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
= 0;
17150 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17151 PyObject
*arg2
= (PyObject
*) 0 ;
17152 PyObject
*arg3
= (PyObject
*) 0 ;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 PyObject
* obj2
= 0 ;
17158 char * kwnames
[] = {
17159 (char *) "self",(char *) "self",(char *) "_class", NULL
17162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17164 if (!SWIG_IsOK(res1
)) {
17165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17167 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= SWIG_Py_Void();
17183 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17186 wxChar
*arg2
= (wxChar
*) 0 ;
17187 wxChar
*arg3
= (wxChar
*) NULL
;
17188 wxChar
*result
= 0 ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 PyObject
* obj2
= 0 ;
17198 char * kwnames
[] = {
17199 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17204 if (!SWIG_IsOK(res1
)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17207 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17209 if (!SWIG_IsOK(res2
)) {
17210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17212 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17214 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17215 if (!SWIG_IsOK(res3
)) {
17216 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17218 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17233 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
= 0;
17235 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17236 wxChar
*arg2
= (wxChar
*) 0 ;
17237 wxChar
*arg3
= (wxChar
*) 0 ;
17239 wxChar
*arg5
= (wxChar
*) NULL
;
17240 wxChar
*result
= 0 ;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 PyObject
* obj2
= 0 ;
17254 PyObject
* obj3
= 0 ;
17255 PyObject
* obj4
= 0 ;
17256 char * kwnames
[] = {
17257 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17262 if (!SWIG_IsOK(res1
)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17265 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17267 if (!SWIG_IsOK(res2
)) {
17268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17270 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17271 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17272 if (!SWIG_IsOK(res3
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17275 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17276 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17277 if (!SWIG_IsOK(ecode4
)) {
17278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17280 arg4
= static_cast< size_t >(val4
);
17282 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17283 if (!SWIG_IsOK(res5
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17286 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17301 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17304 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17305 return SWIG_Py_Void();
17308 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17309 return SWIG_Python_InitShadowInstance(args
);
17312 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17313 PyObject
*resultobj
= 0;
17314 wxLocale
*result
= 0 ;
17316 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (wxLocale
*)wxGetLocale();
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17330 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17331 PyObject
*resultobj
= 0;
17332 wxString
*arg1
= 0 ;
17334 bool temp1
= false ;
17336 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17338 arg1
= wxString_in_helper(swig_obj
[0]);
17339 if (arg1
== NULL
) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= wxGetTranslation((wxString
const &)*arg1
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17369 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17370 PyObject
*resultobj
= 0;
17371 wxString
*arg1
= 0 ;
17372 wxString
*arg2
= 0 ;
17374 bool temp1
= false ;
17375 bool temp2
= false ;
17377 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17379 arg1
= wxString_in_helper(swig_obj
[0]);
17380 if (arg1
== NULL
) SWIG_fail
;
17384 arg2
= wxString_in_helper(swig_obj
[1]);
17385 if (arg2
== NULL
) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17423 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17424 PyObject
*resultobj
= 0;
17425 wxString
*arg1
= 0 ;
17426 wxString
*arg2
= 0 ;
17429 bool temp1
= false ;
17430 bool temp2
= false ;
17434 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17436 arg1
= wxString_in_helper(swig_obj
[0]);
17437 if (arg1
== NULL
) SWIG_fail
;
17441 arg2
= wxString_in_helper(swig_obj
[1]);
17442 if (arg2
== NULL
) SWIG_fail
;
17445 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17446 if (!SWIG_IsOK(ecode3
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17449 arg3
= static_cast< size_t >(val3
);
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17485 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17486 PyObject
*resultobj
= 0;
17487 wxString
*arg1
= 0 ;
17488 wxString
*arg2
= 0 ;
17490 wxString
*arg4
= 0 ;
17492 bool temp1
= false ;
17493 bool temp2
= false ;
17496 bool temp4
= false ;
17498 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17500 arg1
= wxString_in_helper(swig_obj
[0]);
17501 if (arg1
== NULL
) SWIG_fail
;
17505 arg2
= wxString_in_helper(swig_obj
[1]);
17506 if (arg2
== NULL
) SWIG_fail
;
17509 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17510 if (!SWIG_IsOK(ecode3
)) {
17511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17513 arg3
= static_cast< size_t >(val3
);
17515 arg4
= wxString_in_helper(swig_obj
[3]);
17516 if (arg4
== NULL
) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17562 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17566 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17569 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17572 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17575 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17578 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17582 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17587 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17588 PyObject
*resultobj
= 0;
17589 wxEncodingConverter
*result
= 0 ;
17591 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17605 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17610 PyObject
*swig_obj
[1] ;
17612 if (!args
) SWIG_fail
;
17613 swig_obj
[0] = args
;
17614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17615 if (!SWIG_IsOK(res1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17618 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_Py_Void();
17633 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17636 wxFontEncoding arg2
;
17637 wxFontEncoding arg3
;
17638 int arg4
= (int) wxCONVERT_STRICT
;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 PyObject
* obj3
= 0 ;
17652 char * kwnames
[] = {
17653 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17658 if (!SWIG_IsOK(res1
)) {
17659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17661 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17663 if (!SWIG_IsOK(ecode2
)) {
17664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17666 arg2
= static_cast< wxFontEncoding
>(val2
);
17667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17668 if (!SWIG_IsOK(ecode3
)) {
17669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17671 arg3
= static_cast< wxFontEncoding
>(val3
);
17673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17674 if (!SWIG_IsOK(ecode4
)) {
17675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17677 arg4
= static_cast< int >(val4
);
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17694 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
= 0;
17696 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17697 wxString
*arg2
= 0 ;
17701 bool temp2
= false ;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 char * kwnames
[] = {
17705 (char *) "self",(char *) "input", NULL
17708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17710 if (!SWIG_IsOK(res1
)) {
17711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17713 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17715 arg2
= wxString_in_helper(obj1
);
17716 if (arg2
== NULL
) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17746 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
= 0;
17748 wxFontEncoding arg1
;
17749 int arg2
= (int) wxPLATFORM_CURRENT
;
17750 wxFontEncodingArray result
;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char * kwnames
[] = {
17758 (char *) "enc",(char *) "platform", NULL
17761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17763 if (!SWIG_IsOK(ecode1
)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17766 arg1
= static_cast< wxFontEncoding
>(val1
);
17768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17769 if (!SWIG_IsOK(ecode2
)) {
17770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17772 arg2
= static_cast< int >(val2
);
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= PyList_New(0);
17782 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17783 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17784 PyList_Append(resultobj
, number
);
17794 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
= 0;
17796 wxFontEncoding arg1
;
17797 wxFontEncodingArray result
;
17800 PyObject
* obj0
= 0 ;
17801 char * kwnames
[] = {
17802 (char *) "enc", NULL
17805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17807 if (!SWIG_IsOK(ecode1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17810 arg1
= static_cast< wxFontEncoding
>(val1
);
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= PyList_New(0);
17819 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17820 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17821 PyList_Append(resultobj
, number
);
17831 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
= 0;
17833 wxFontEncoding arg1
;
17834 wxFontEncoding arg2
;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 char * kwnames
[] = {
17843 (char *) "encIn",(char *) "encOut", NULL
17846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17848 if (!SWIG_IsOK(ecode1
)) {
17849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17851 arg1
= static_cast< wxFontEncoding
>(val1
);
17852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17853 if (!SWIG_IsOK(ecode2
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17856 arg2
= static_cast< wxFontEncoding
>(val2
);
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17872 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17875 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17876 return SWIG_Py_Void();
17879 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17880 return SWIG_Python_InitShadowInstance(args
);
17883 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17884 PyObject
*resultobj
= 0;
17885 wxDC
*arg1
= (wxDC
*) 0 ;
17888 PyObject
*swig_obj
[1] ;
17890 if (!args
) SWIG_fail
;
17891 swig_obj
[0] = args
;
17892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17893 if (!SWIG_IsOK(res1
)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_Py_Void();
17911 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
= 0;
17913 wxDC
*arg1
= (wxDC
*) 0 ;
17916 wxColour
*arg4
= 0 ;
17917 int arg5
= (int) wxFLOOD_SURFACE
;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 PyObject
* obj3
= 0 ;
17932 PyObject
* obj4
= 0 ;
17933 char * kwnames
[] = {
17934 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17939 if (!SWIG_IsOK(res1
)) {
17940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17944 if (!SWIG_IsOK(ecode2
)) {
17945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17947 arg2
= static_cast< int >(val2
);
17948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17949 if (!SWIG_IsOK(ecode3
)) {
17950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17952 arg3
= static_cast< int >(val3
);
17955 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17958 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17959 if (!SWIG_IsOK(ecode5
)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17962 arg5
= static_cast< int >(val5
);
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17979 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= 0;
17981 wxDC
*arg1
= (wxDC
*) 0 ;
17982 wxPoint
*arg2
= 0 ;
17983 wxColour
*arg3
= 0 ;
17984 int arg4
= (int) wxFLOOD_SURFACE
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 PyObject
* obj3
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18008 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18012 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18016 if (!SWIG_IsOK(ecode4
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18019 arg4
= static_cast< int >(val4
);
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18036 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxDC
*arg1
= (wxDC
*) 0 ;
18040 wxColour
*arg3
= 0 ;
18041 wxColour
*arg4
= 0 ;
18042 wxPoint
*arg5
= 0 ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 PyObject
* obj2
= 0 ;
18052 PyObject
* obj3
= 0 ;
18053 PyObject
* obj4
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18066 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18074 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18078 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= SWIG_Py_Void();
18093 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
= 0;
18095 wxDC
*arg1
= (wxDC
*) 0 ;
18097 wxColour
*arg3
= 0 ;
18098 wxColour
*arg4
= 0 ;
18099 wxDirection arg5
= (wxDirection
) wxEAST
;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 PyObject
* obj2
= 0 ;
18110 PyObject
* obj3
= 0 ;
18111 PyObject
* obj4
= 0 ;
18112 char * kwnames
[] = {
18113 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18118 if (!SWIG_IsOK(res1
)) {
18119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18124 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18128 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18132 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18136 if (!SWIG_IsOK(ecode5
)) {
18137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18139 arg5
= static_cast< wxDirection
>(val5
);
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_Py_Void();
18154 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
= 0;
18156 wxDC
*arg1
= (wxDC
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 PyObject
* obj2
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "x",(char *) "y", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18180 if (!SWIG_IsOK(ecode2
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18183 arg2
= static_cast< int >(val2
);
18184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18185 if (!SWIG_IsOK(ecode3
)) {
18186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18188 arg3
= static_cast< int >(val3
);
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18202 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxDC
*arg1
= (wxDC
*) 0 ;
18205 wxPoint
*arg2
= 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "pt", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18239 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18240 PyObject
*resultobj
= 0;
18241 wxDC
*arg1
= (wxDC
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 PyObject
* obj2
= 0 ;
18259 PyObject
* obj3
= 0 ;
18260 PyObject
* obj4
= 0 ;
18261 char * kwnames
[] = {
18262 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18267 if (!SWIG_IsOK(res1
)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18272 if (!SWIG_IsOK(ecode2
)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18275 arg2
= static_cast< int >(val2
);
18276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18277 if (!SWIG_IsOK(ecode3
)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18280 arg3
= static_cast< int >(val3
);
18281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18282 if (!SWIG_IsOK(ecode4
)) {
18283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18285 arg4
= static_cast< int >(val4
);
18286 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18287 if (!SWIG_IsOK(ecode5
)) {
18288 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18290 arg5
= static_cast< int >(val5
);
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_Py_Void();
18304 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
= 0;
18306 wxDC
*arg1
= (wxDC
*) 0 ;
18307 wxPoint
*arg2
= 0 ;
18308 wxPoint
*arg3
= 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 PyObject
* obj2
= 0 ;
18316 char * kwnames
[] = {
18317 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18322 if (!SWIG_IsOK(res1
)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_Py_Void();
18347 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 PyObject
* obj2
= 0 ;
18361 char * kwnames
[] = {
18362 (char *) "self",(char *) "x",(char *) "y", NULL
18365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18372 if (!SWIG_IsOK(ecode2
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18375 arg2
= static_cast< int >(val2
);
18376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18377 if (!SWIG_IsOK(ecode3
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18380 arg3
= static_cast< int >(val3
);
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->CrossHair(arg2
,arg3
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_Py_Void();
18394 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
= 0;
18396 wxDC
*arg1
= (wxDC
*) 0 ;
18397 wxPoint
*arg2
= 0 ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 char * kwnames
[] = {
18404 (char *) "self",(char *) "pt", NULL
18407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18409 if (!SWIG_IsOK(res1
)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_Py_Void();
18430 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
= 0;
18432 wxDC
*arg1
= (wxDC
*) 0 ;
18453 PyObject
* obj0
= 0 ;
18454 PyObject
* obj1
= 0 ;
18455 PyObject
* obj2
= 0 ;
18456 PyObject
* obj3
= 0 ;
18457 PyObject
* obj4
= 0 ;
18458 PyObject
* obj5
= 0 ;
18459 PyObject
* obj6
= 0 ;
18460 char * kwnames
[] = {
18461 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18466 if (!SWIG_IsOK(res1
)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18471 if (!SWIG_IsOK(ecode2
)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18474 arg2
= static_cast< int >(val2
);
18475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18476 if (!SWIG_IsOK(ecode3
)) {
18477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18479 arg3
= static_cast< int >(val3
);
18480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18481 if (!SWIG_IsOK(ecode4
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18484 arg4
= static_cast< int >(val4
);
18485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18486 if (!SWIG_IsOK(ecode5
)) {
18487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18489 arg5
= static_cast< int >(val5
);
18490 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18491 if (!SWIG_IsOK(ecode6
)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18494 arg6
= static_cast< int >(val6
);
18495 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18496 if (!SWIG_IsOK(ecode7
)) {
18497 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18499 arg7
= static_cast< int >(val7
);
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_Py_Void();
18513 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
= 0;
18515 wxDC
*arg1
= (wxDC
*) 0 ;
18516 wxPoint
*arg2
= 0 ;
18517 wxPoint
*arg3
= 0 ;
18518 wxPoint
*arg4
= 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 PyObject
* obj3
= 0 ;
18528 char * kwnames
[] = {
18529 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18534 if (!SWIG_IsOK(res1
)) {
18535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_Py_Void();
18563 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= 0;
18565 wxDC
*arg1
= (wxDC
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 PyObject
* obj2
= 0 ;
18583 PyObject
* obj3
= 0 ;
18584 PyObject
* obj4
= 0 ;
18585 char * kwnames
[] = {
18586 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18591 if (!SWIG_IsOK(res1
)) {
18592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18596 if (!SWIG_IsOK(ecode2
)) {
18597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18599 arg2
= static_cast< int >(val2
);
18600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18601 if (!SWIG_IsOK(ecode3
)) {
18602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18604 arg3
= static_cast< int >(val3
);
18605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18606 if (!SWIG_IsOK(ecode4
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18609 arg4
= static_cast< int >(val4
);
18610 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18611 if (!SWIG_IsOK(ecode5
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18614 arg5
= static_cast< int >(val5
);
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_Py_Void();
18628 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= 0;
18630 wxDC
*arg1
= (wxDC
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 char * kwnames
[] = {
18638 (char *) "self",(char *) "rect", NULL
18641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18643 if (!SWIG_IsOK(res1
)) {
18644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_Py_Void();
18664 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
= 0;
18666 wxDC
*arg1
= (wxDC
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 PyObject
* obj1
= 0 ;
18689 PyObject
* obj2
= 0 ;
18690 PyObject
* obj3
= 0 ;
18691 PyObject
* obj4
= 0 ;
18692 PyObject
* obj5
= 0 ;
18693 PyObject
* obj6
= 0 ;
18694 char * kwnames
[] = {
18695 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18700 if (!SWIG_IsOK(res1
)) {
18701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18705 if (!SWIG_IsOK(ecode2
)) {
18706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18708 arg2
= static_cast< int >(val2
);
18709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18710 if (!SWIG_IsOK(ecode3
)) {
18711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18713 arg3
= static_cast< int >(val3
);
18714 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18715 if (!SWIG_IsOK(ecode4
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18718 arg4
= static_cast< int >(val4
);
18719 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18720 if (!SWIG_IsOK(ecode5
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18723 arg5
= static_cast< int >(val5
);
18724 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18725 if (!SWIG_IsOK(ecode6
)) {
18726 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18728 arg6
= static_cast< double >(val6
);
18729 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18730 if (!SWIG_IsOK(ecode7
)) {
18731 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18733 arg7
= static_cast< double >(val7
);
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_Py_Void();
18747 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxDC
*arg1
= (wxDC
*) 0 ;
18750 wxPoint
*arg2
= 0 ;
18762 PyObject
* obj0
= 0 ;
18763 PyObject
* obj1
= 0 ;
18764 PyObject
* obj2
= 0 ;
18765 PyObject
* obj3
= 0 ;
18766 PyObject
* obj4
= 0 ;
18767 char * kwnames
[] = {
18768 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18773 if (!SWIG_IsOK(res1
)) {
18774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18783 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18785 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18786 if (!SWIG_IsOK(ecode4
)) {
18787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18789 arg4
= static_cast< double >(val4
);
18790 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18791 if (!SWIG_IsOK(ecode5
)) {
18792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18794 arg5
= static_cast< double >(val5
);
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= SWIG_Py_Void();
18808 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
= 0;
18810 wxDC
*arg1
= (wxDC
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 PyObject
* obj2
= 0 ;
18822 char * kwnames
[] = {
18823 (char *) "self",(char *) "x",(char *) "y", NULL
18826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18828 if (!SWIG_IsOK(res1
)) {
18829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18833 if (!SWIG_IsOK(ecode2
)) {
18834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18836 arg2
= static_cast< int >(val2
);
18837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18838 if (!SWIG_IsOK(ecode3
)) {
18839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18841 arg3
= static_cast< int >(val3
);
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 (arg1
)->DrawPoint(arg2
,arg3
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 resultobj
= SWIG_Py_Void();
18855 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
= 0;
18857 wxDC
*arg1
= (wxDC
*) 0 ;
18858 wxPoint
*arg2
= 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char * kwnames
[] = {
18865 (char *) "self",(char *) "pt", NULL
18868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18870 if (!SWIG_IsOK(res1
)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_Py_Void();
18891 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
= 0;
18893 wxDC
*arg1
= (wxDC
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 PyObject
* obj2
= 0 ;
18911 PyObject
* obj3
= 0 ;
18912 PyObject
* obj4
= 0 ;
18913 char * kwnames
[] = {
18914 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18919 if (!SWIG_IsOK(res1
)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18924 if (!SWIG_IsOK(ecode2
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18927 arg2
= static_cast< int >(val2
);
18928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18929 if (!SWIG_IsOK(ecode3
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18932 arg3
= static_cast< int >(val3
);
18933 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18934 if (!SWIG_IsOK(ecode4
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18937 arg4
= static_cast< int >(val4
);
18938 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18939 if (!SWIG_IsOK(ecode5
)) {
18940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18942 arg5
= static_cast< int >(val5
);
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= SWIG_Py_Void();
18956 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
= 0;
18958 wxDC
*arg1
= (wxDC
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "rect", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18977 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_Py_Void();
18992 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxDC
*arg1
= (wxDC
*) 0 ;
18995 wxPoint
*arg2
= 0 ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 PyObject
* obj2
= 0 ;
19004 char * kwnames
[] = {
19005 (char *) "self",(char *) "pt",(char *) "sz", NULL
19008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19020 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_Py_Void();
19035 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= 0;
19037 wxDC
*arg1
= (wxDC
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 PyObject
* obj2
= 0 ;
19058 PyObject
* obj3
= 0 ;
19059 PyObject
* obj4
= 0 ;
19060 PyObject
* obj5
= 0 ;
19061 char * kwnames
[] = {
19062 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19072 if (!SWIG_IsOK(ecode2
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19075 arg2
= static_cast< int >(val2
);
19076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19077 if (!SWIG_IsOK(ecode3
)) {
19078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19080 arg3
= static_cast< int >(val3
);
19081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19082 if (!SWIG_IsOK(ecode4
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19085 arg4
= static_cast< int >(val4
);
19086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19087 if (!SWIG_IsOK(ecode5
)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19090 arg5
= static_cast< int >(val5
);
19091 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19092 if (!SWIG_IsOK(ecode6
)) {
19093 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19095 arg6
= static_cast< double >(val6
);
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_Py_Void();
19109 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
= 0;
19111 wxDC
*arg1
= (wxDC
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 PyObject
* obj2
= 0 ;
19122 char * kwnames
[] = {
19123 (char *) "self",(char *) "r",(char *) "radius", NULL
19126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19128 if (!SWIG_IsOK(res1
)) {
19129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19134 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19136 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19137 if (!SWIG_IsOK(ecode3
)) {
19138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19140 arg3
= static_cast< double >(val3
);
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 resultobj
= SWIG_Py_Void();
19154 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
= 0;
19156 wxDC
*arg1
= (wxDC
*) 0 ;
19157 wxPoint
*arg2
= 0 ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 PyObject
* obj2
= 0 ;
19169 PyObject
* obj3
= 0 ;
19170 char * kwnames
[] = {
19171 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19176 if (!SWIG_IsOK(res1
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19186 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19188 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19189 if (!SWIG_IsOK(ecode4
)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19192 arg4
= static_cast< double >(val4
);
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_Py_Void();
19206 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
= 0;
19208 wxDC
*arg1
= (wxDC
*) 0 ;
19220 PyObject
* obj0
= 0 ;
19221 PyObject
* obj1
= 0 ;
19222 PyObject
* obj2
= 0 ;
19223 PyObject
* obj3
= 0 ;
19224 char * kwnames
[] = {
19225 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19230 if (!SWIG_IsOK(res1
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19235 if (!SWIG_IsOK(ecode2
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19238 arg2
= static_cast< int >(val2
);
19239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19240 if (!SWIG_IsOK(ecode3
)) {
19241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19243 arg3
= static_cast< int >(val3
);
19244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19245 if (!SWIG_IsOK(ecode4
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19248 arg4
= static_cast< int >(val4
);
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_Py_Void();
19262 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
= 0;
19264 wxDC
*arg1
= (wxDC
*) 0 ;
19265 wxPoint
*arg2
= 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 PyObject
* obj2
= 0 ;
19275 char * kwnames
[] = {
19276 (char *) "self",(char *) "pt",(char *) "radius", NULL
19279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19281 if (!SWIG_IsOK(res1
)) {
19282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19290 if (!SWIG_IsOK(ecode3
)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19293 arg3
= static_cast< int >(val3
);
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_Py_Void();
19307 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
= 0;
19309 wxDC
*arg1
= (wxDC
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 PyObject
* obj2
= 0 ;
19327 PyObject
* obj3
= 0 ;
19328 PyObject
* obj4
= 0 ;
19329 char * kwnames
[] = {
19330 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19335 if (!SWIG_IsOK(res1
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19340 if (!SWIG_IsOK(ecode2
)) {
19341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19343 arg2
= static_cast< int >(val2
);
19344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19345 if (!SWIG_IsOK(ecode3
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19348 arg3
= static_cast< int >(val3
);
19349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19350 if (!SWIG_IsOK(ecode4
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19353 arg4
= static_cast< int >(val4
);
19354 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19355 if (!SWIG_IsOK(ecode5
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19358 arg5
= static_cast< int >(val5
);
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_Py_Void();
19372 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= 0;
19374 wxDC
*arg1
= (wxDC
*) 0 ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 char * kwnames
[] = {
19382 (char *) "self",(char *) "rect", NULL
19385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19387 if (!SWIG_IsOK(res1
)) {
19388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19393 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_Py_Void();
19408 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
= 0;
19410 wxDC
*arg1
= (wxDC
*) 0 ;
19411 wxPoint
*arg2
= 0 ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 PyObject
* obj2
= 0 ;
19420 char * kwnames
[] = {
19421 (char *) "self",(char *) "pt",(char *) "sz", NULL
19424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19426 if (!SWIG_IsOK(res1
)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19436 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_Py_Void();
19451 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxDC
*arg1
= (wxDC
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 PyObject
* obj2
= 0 ;
19468 PyObject
* obj3
= 0 ;
19469 char * kwnames
[] = {
19470 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19475 if (!SWIG_IsOK(res1
)) {
19476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19480 if (!SWIG_IsOK(res2
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19486 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19488 if (!SWIG_IsOK(ecode3
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19491 arg3
= static_cast< int >(val3
);
19492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19493 if (!SWIG_IsOK(ecode4
)) {
19494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19496 arg4
= static_cast< int >(val4
);
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19500 wxPyEndAllowThreads(__tstate
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= SWIG_Py_Void();
19510 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
= 0;
19512 wxDC
*arg1
= (wxDC
*) 0 ;
19514 wxPoint
*arg3
= 0 ;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 PyObject
* obj2
= 0 ;
19523 char * kwnames
[] = {
19524 (char *) "self",(char *) "icon",(char *) "pt", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19534 if (!SWIG_IsOK(res2
)) {
19535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19540 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxDC
*arg1
= (wxDC
*) 0 ;
19561 wxBitmap
*arg2
= 0 ;
19564 bool arg5
= (bool) false ;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 PyObject
* obj2
= 0 ;
19578 PyObject
* obj3
= 0 ;
19579 PyObject
* obj4
= 0 ;
19580 char * kwnames
[] = {
19581 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19586 if (!SWIG_IsOK(res1
)) {
19587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19591 if (!SWIG_IsOK(res2
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19597 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19599 if (!SWIG_IsOK(ecode3
)) {
19600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19602 arg3
= static_cast< int >(val3
);
19603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19604 if (!SWIG_IsOK(ecode4
)) {
19605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19607 arg4
= static_cast< int >(val4
);
19609 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19610 if (!SWIG_IsOK(ecode5
)) {
19611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19613 arg5
= static_cast< bool >(val5
);
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_Py_Void();
19628 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
= 0;
19630 wxDC
*arg1
= (wxDC
*) 0 ;
19631 wxBitmap
*arg2
= 0 ;
19632 wxPoint
*arg3
= 0 ;
19633 bool arg4
= (bool) false ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 PyObject
* obj2
= 0 ;
19644 PyObject
* obj3
= 0 ;
19645 char * kwnames
[] = {
19646 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19656 if (!SWIG_IsOK(res2
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19662 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19665 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19668 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19669 if (!SWIG_IsOK(ecode4
)) {
19670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19672 arg4
= static_cast< bool >(val4
);
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_Py_Void();
19687 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= 0;
19689 wxDC
*arg1
= (wxDC
*) 0 ;
19690 wxString
*arg2
= 0 ;
19695 bool temp2
= false ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 PyObject
* obj2
= 0 ;
19703 PyObject
* obj3
= 0 ;
19704 char * kwnames
[] = {
19705 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19710 if (!SWIG_IsOK(res1
)) {
19711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19715 arg2
= wxString_in_helper(obj1
);
19716 if (arg2
== NULL
) SWIG_fail
;
19719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19720 if (!SWIG_IsOK(ecode3
)) {
19721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19723 arg3
= static_cast< int >(val3
);
19724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19725 if (!SWIG_IsOK(ecode4
)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19728 arg4
= static_cast< int >(val4
);
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_Py_Void();
19750 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
= 0;
19752 wxDC
*arg1
= (wxDC
*) 0 ;
19753 wxString
*arg2
= 0 ;
19754 wxPoint
*arg3
= 0 ;
19757 bool temp2
= false ;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 PyObject
* obj2
= 0 ;
19762 char * kwnames
[] = {
19763 (char *) "self",(char *) "text",(char *) "pt", NULL
19766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19768 if (!SWIG_IsOK(res1
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19773 arg2
= wxString_in_helper(obj1
);
19774 if (arg2
== NULL
) SWIG_fail
;
19779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_Py_Void();
19802 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
= 0;
19804 wxDC
*arg1
= (wxDC
*) 0 ;
19805 wxString
*arg2
= 0 ;
19811 bool temp2
= false ;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 PyObject
* obj2
= 0 ;
19821 PyObject
* obj3
= 0 ;
19822 PyObject
* obj4
= 0 ;
19823 char * kwnames
[] = {
19824 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19834 arg2
= wxString_in_helper(obj1
);
19835 if (arg2
== NULL
) SWIG_fail
;
19838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19839 if (!SWIG_IsOK(ecode3
)) {
19840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19842 arg3
= static_cast< int >(val3
);
19843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19844 if (!SWIG_IsOK(ecode4
)) {
19845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19847 arg4
= static_cast< int >(val4
);
19848 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19849 if (!SWIG_IsOK(ecode5
)) {
19850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19852 arg5
= static_cast< double >(val5
);
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= SWIG_Py_Void();
19874 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
= 0;
19876 wxDC
*arg1
= (wxDC
*) 0 ;
19877 wxString
*arg2
= 0 ;
19878 wxPoint
*arg3
= 0 ;
19882 bool temp2
= false ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 PyObject
* obj2
= 0 ;
19889 PyObject
* obj3
= 0 ;
19890 char * kwnames
[] = {
19891 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19896 if (!SWIG_IsOK(res1
)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19901 arg2
= wxString_in_helper(obj1
);
19902 if (arg2
== NULL
) SWIG_fail
;
19907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19909 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19910 if (!SWIG_IsOK(ecode4
)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19913 arg4
= static_cast< double >(val4
);
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_Py_Void();
19935 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
= 0;
19937 wxDC
*arg1
= (wxDC
*) 0 ;
19942 wxDC
*arg6
= (wxDC
*) 0 ;
19945 int arg9
= (int) wxCOPY
;
19946 bool arg10
= (bool) false ;
19947 int arg11
= (int) -1 ;
19948 int arg12
= (int) -1 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 PyObject
* obj2
= 0 ;
19977 PyObject
* obj3
= 0 ;
19978 PyObject
* obj4
= 0 ;
19979 PyObject
* obj5
= 0 ;
19980 PyObject
* obj6
= 0 ;
19981 PyObject
* obj7
= 0 ;
19982 PyObject
* obj8
= 0 ;
19983 PyObject
* obj9
= 0 ;
19984 PyObject
* obj10
= 0 ;
19985 PyObject
* obj11
= 0 ;
19986 char * kwnames
[] = {
19987 (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
19990 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
;
19991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19992 if (!SWIG_IsOK(res1
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19997 if (!SWIG_IsOK(ecode2
)) {
19998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20000 arg2
= static_cast< int >(val2
);
20001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20002 if (!SWIG_IsOK(ecode3
)) {
20003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20005 arg3
= static_cast< int >(val3
);
20006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20007 if (!SWIG_IsOK(ecode4
)) {
20008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20010 arg4
= static_cast< int >(val4
);
20011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20012 if (!SWIG_IsOK(ecode5
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20015 arg5
= static_cast< int >(val5
);
20016 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20017 if (!SWIG_IsOK(res6
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20020 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20021 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20022 if (!SWIG_IsOK(ecode7
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20025 arg7
= static_cast< int >(val7
);
20026 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20027 if (!SWIG_IsOK(ecode8
)) {
20028 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20030 arg8
= static_cast< int >(val8
);
20032 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20033 if (!SWIG_IsOK(ecode9
)) {
20034 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20036 arg9
= static_cast< int >(val9
);
20039 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20040 if (!SWIG_IsOK(ecode10
)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20043 arg10
= static_cast< bool >(val10
);
20046 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20047 if (!SWIG_IsOK(ecode11
)) {
20048 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20050 arg11
= static_cast< int >(val11
);
20053 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20054 if (!SWIG_IsOK(ecode12
)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20057 arg12
= static_cast< int >(val12
);
20060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20061 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20062 wxPyEndAllowThreads(__tstate
);
20063 if (PyErr_Occurred()) SWIG_fail
;
20066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20074 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
= 0;
20076 wxDC
*arg1
= (wxDC
*) 0 ;
20077 wxPoint
*arg2
= 0 ;
20079 wxDC
*arg4
= (wxDC
*) 0 ;
20080 wxPoint
*arg5
= 0 ;
20081 int arg6
= (int) wxCOPY
;
20082 bool arg7
= (bool) false ;
20083 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20084 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 PyObject
* obj2
= 0 ;
20101 PyObject
* obj3
= 0 ;
20102 PyObject
* obj4
= 0 ;
20103 PyObject
* obj5
= 0 ;
20104 PyObject
* obj6
= 0 ;
20105 PyObject
* obj7
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20122 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20124 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20125 if (!SWIG_IsOK(res4
)) {
20126 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20128 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20131 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20134 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20135 if (!SWIG_IsOK(ecode6
)) {
20136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20138 arg6
= static_cast< int >(val6
);
20141 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20142 if (!SWIG_IsOK(ecode7
)) {
20143 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20145 arg7
= static_cast< bool >(val7
);
20150 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20168 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
= 0;
20170 wxDC
*arg1
= (wxDC
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 PyObject
* obj2
= 0 ;
20188 PyObject
* obj3
= 0 ;
20189 PyObject
* obj4
= 0 ;
20190 char * kwnames
[] = {
20191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20196 if (!SWIG_IsOK(res1
)) {
20197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20201 if (!SWIG_IsOK(ecode2
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20204 arg2
= static_cast< int >(val2
);
20205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20206 if (!SWIG_IsOK(ecode3
)) {
20207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20209 arg3
= static_cast< int >(val3
);
20210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20211 if (!SWIG_IsOK(ecode4
)) {
20212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20214 arg4
= static_cast< int >(val4
);
20215 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20216 if (!SWIG_IsOK(ecode5
)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20219 arg5
= static_cast< int >(val5
);
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= SWIG_Py_Void();
20233 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20236 wxPoint
*arg2
= 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 PyObject
* obj2
= 0 ;
20245 char * kwnames
[] = {
20246 (char *) "self",(char *) "pt",(char *) "sz", NULL
20249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20251 if (!SWIG_IsOK(res1
)) {
20252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20261 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxDC
*arg1
= (wxDC
*) 0 ;
20279 wxRegion
*arg2
= 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char * kwnames
[] = {
20287 (char *) "self",(char *) "region", NULL
20290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20292 if (!SWIG_IsOK(res1
)) {
20293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20297 if (!SWIG_IsOK(res2
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20303 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_Py_Void();
20317 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
= 0;
20319 wxDC
*arg1
= (wxDC
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "rect", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20338 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_Py_Void();
20353 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
= 0;
20355 wxDC
*arg1
= (wxDC
*) 0 ;
20357 wxPoint
*arg3
= (wxPoint
*) 0 ;
20358 int arg4
= (int) 0 ;
20359 int arg5
= (int) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 PyObject
* obj2
= 0 ;
20369 PyObject
* obj3
= 0 ;
20370 char * kwnames
[] = {
20371 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20376 if (!SWIG_IsOK(res1
)) {
20377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20381 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20382 if (arg3
== NULL
) SWIG_fail
;
20385 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20386 if (!SWIG_IsOK(ecode4
)) {
20387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20389 arg4
= static_cast< int >(val4
);
20392 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20393 if (!SWIG_IsOK(ecode5
)) {
20394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20396 arg5
= static_cast< int >(val5
);
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_Py_Void();
20406 if (arg3
) delete [] arg3
;
20411 if (arg3
) delete [] arg3
;
20417 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
= 0;
20419 wxDC
*arg1
= (wxDC
*) 0 ;
20421 wxPoint
*arg3
= (wxPoint
*) 0 ;
20422 int arg4
= (int) 0 ;
20423 int arg5
= (int) 0 ;
20424 int arg6
= (int) wxODDEVEN_RULE
;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 PyObject
* obj2
= 0 ;
20436 PyObject
* obj3
= 0 ;
20437 PyObject
* obj4
= 0 ;
20438 char * kwnames
[] = {
20439 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20444 if (!SWIG_IsOK(res1
)) {
20445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20449 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20450 if (arg3
== NULL
) SWIG_fail
;
20453 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20454 if (!SWIG_IsOK(ecode4
)) {
20455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20457 arg4
= static_cast< int >(val4
);
20460 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20461 if (!SWIG_IsOK(ecode5
)) {
20462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20464 arg5
= static_cast< int >(val5
);
20467 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20468 if (!SWIG_IsOK(ecode6
)) {
20469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20471 arg6
= static_cast< int >(val6
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_Py_Void();
20481 if (arg3
) delete [] arg3
;
20486 if (arg3
) delete [] arg3
;
20492 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
= 0;
20494 wxDC
*arg1
= (wxDC
*) 0 ;
20495 wxString
*arg2
= 0 ;
20497 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20498 int arg5
= (int) -1 ;
20501 bool temp2
= false ;
20507 PyObject
* obj0
= 0 ;
20508 PyObject
* obj1
= 0 ;
20509 PyObject
* obj2
= 0 ;
20510 PyObject
* obj3
= 0 ;
20511 PyObject
* obj4
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20523 arg2
= wxString_in_helper(obj1
);
20524 if (arg2
== NULL
) SWIG_fail
;
20529 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20532 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20533 if (!SWIG_IsOK(ecode4
)) {
20534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20536 arg4
= static_cast< int >(val4
);
20539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20540 if (!SWIG_IsOK(ecode5
)) {
20541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20543 arg5
= static_cast< int >(val5
);
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_Py_Void();
20566 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
= 0;
20568 wxDC
*arg1
= (wxDC
*) 0 ;
20569 wxString
*arg2
= 0 ;
20570 wxBitmap
*arg3
= 0 ;
20572 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20573 int arg6
= (int) -1 ;
20577 bool temp2
= false ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20587 PyObject
* obj2
= 0 ;
20588 PyObject
* obj3
= 0 ;
20589 PyObject
* obj4
= 0 ;
20590 PyObject
* obj5
= 0 ;
20591 char * kwnames
[] = {
20592 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20597 if (!SWIG_IsOK(res1
)) {
20598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20602 arg2
= wxString_in_helper(obj1
);
20603 if (arg2
== NULL
) SWIG_fail
;
20606 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20607 if (!SWIG_IsOK(res3
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20613 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20616 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20619 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20620 if (!SWIG_IsOK(ecode5
)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20623 arg5
= static_cast< int >(val5
);
20626 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20627 if (!SWIG_IsOK(ecode6
)) {
20628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20630 arg6
= static_cast< int >(val6
);
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20653 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
= 0;
20655 wxDC
*arg1
= (wxDC
*) 0 ;
20657 wxPoint
*arg3
= (wxPoint
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char * kwnames
[] = {
20663 (char *) "self",(char *) "points", NULL
20666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20668 if (!SWIG_IsOK(res1
)) {
20669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20673 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20674 if (arg3
== NULL
) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->DrawSpline(arg2
,arg3
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_Py_Void();
20684 if (arg3
) delete [] arg3
;
20689 if (arg3
) delete [] arg3
;
20695 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20696 PyObject
*resultobj
= 0;
20697 wxDC
*arg1
= (wxDC
*) 0 ;
20700 PyObject
*swig_obj
[1] ;
20702 if (!args
) SWIG_fail
;
20703 swig_obj
[0] = args
;
20704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20705 if (!SWIG_IsOK(res1
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_Py_Void();
20722 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
= 0;
20724 wxDC
*arg1
= (wxDC
*) 0 ;
20725 wxString
*arg2
= 0 ;
20729 bool temp2
= false ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char * kwnames
[] = {
20733 (char *) "self",(char *) "message", NULL
20736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20743 arg2
= wxString_in_helper(obj1
);
20744 if (arg2
== NULL
) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20770 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 PyObject
*resultobj
= 0;
20772 wxDC
*arg1
= (wxDC
*) 0 ;
20775 PyObject
*swig_obj
[1] ;
20777 if (!args
) SWIG_fail
;
20778 swig_obj
[0] = args
;
20779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_Py_Void();
20797 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20798 PyObject
*resultobj
= 0;
20799 wxDC
*arg1
= (wxDC
*) 0 ;
20802 PyObject
*swig_obj
[1] ;
20804 if (!args
) SWIG_fail
;
20805 swig_obj
[0] = args
;
20806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 (arg1
)->StartPage();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= SWIG_Py_Void();
20824 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20825 PyObject
*resultobj
= 0;
20826 wxDC
*arg1
= (wxDC
*) 0 ;
20829 PyObject
*swig_obj
[1] ;
20831 if (!args
) SWIG_fail
;
20832 swig_obj
[0] = args
;
20833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= SWIG_Py_Void();
20851 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
= 0;
20853 wxDC
*arg1
= (wxDC
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 char * kwnames
[] = {
20862 (char *) "self",(char *) "font", NULL
20865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20872 if (!SWIG_IsOK(res2
)) {
20873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20878 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 (arg1
)->SetFont((wxFont
const &)*arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_Py_Void();
20892 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
= 0;
20894 wxDC
*arg1
= (wxDC
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "self",(char *) "pen", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20913 if (!SWIG_IsOK(res2
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20919 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->SetPen((wxPen
const &)*arg2
);
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_Py_Void();
20933 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
= 0;
20935 wxDC
*arg1
= (wxDC
*) 0 ;
20936 wxBrush
*arg2
= 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char * kwnames
[] = {
20944 (char *) "self",(char *) "brush", NULL
20947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20954 if (!SWIG_IsOK(res2
)) {
20955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20960 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_Py_Void();
20974 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= 0;
20976 wxDC
*arg1
= (wxDC
*) 0 ;
20977 wxBrush
*arg2
= 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char * kwnames
[] = {
20985 (char *) "self",(char *) "brush", NULL
20988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20990 if (!SWIG_IsOK(res1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20995 if (!SWIG_IsOK(res2
)) {
20996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21001 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_Py_Void();
21015 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
= 0;
21017 wxDC
*arg1
= (wxDC
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 char * kwnames
[] = {
21026 (char *) "self",(char *) "mode", NULL
21029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21036 if (!SWIG_IsOK(ecode2
)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21039 arg2
= static_cast< int >(val2
);
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 (arg1
)->SetBackgroundMode(arg2
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_Py_Void();
21053 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= 0;
21055 wxDC
*arg1
= (wxDC
*) 0 ;
21056 wxPalette
*arg2
= 0 ;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 char * kwnames
[] = {
21064 (char *) "self",(char *) "palette", NULL
21067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21069 if (!SWIG_IsOK(res1
)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21074 if (!SWIG_IsOK(res2
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21080 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_Py_Void();
21094 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21095 PyObject
*resultobj
= 0;
21096 wxDC
*arg1
= (wxDC
*) 0 ;
21099 PyObject
*swig_obj
[1] ;
21101 if (!args
) SWIG_fail
;
21102 swig_obj
[0] = args
;
21103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21104 if (!SWIG_IsOK(res1
)) {
21105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21107 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->DestroyClippingRegion();
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_Py_Void();
21121 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21122 PyObject
*resultobj
= 0;
21123 wxDC
*arg1
= (wxDC
*) 0 ;
21124 int *arg2
= (int *) 0 ;
21125 int *arg3
= (int *) 0 ;
21126 int *arg4
= (int *) 0 ;
21127 int *arg5
= (int *) 0 ;
21131 int res2
= SWIG_TMPOBJ
;
21133 int res3
= SWIG_TMPOBJ
;
21135 int res4
= SWIG_TMPOBJ
;
21137 int res5
= SWIG_TMPOBJ
;
21138 PyObject
*swig_obj
[1] ;
21144 if (!args
) SWIG_fail
;
21145 swig_obj
[0] = args
;
21146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_Py_Void();
21158 if (SWIG_IsTmpObj(res2
)) {
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21161 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21164 if (SWIG_IsTmpObj(res3
)) {
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21167 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21170 if (SWIG_IsTmpObj(res4
)) {
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21173 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21176 if (SWIG_IsTmpObj(res5
)) {
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21179 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21188 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21189 PyObject
*resultobj
= 0;
21190 wxDC
*arg1
= (wxDC
*) 0 ;
21194 PyObject
*swig_obj
[1] ;
21196 if (!args
) SWIG_fail
;
21197 swig_obj
[0] = args
;
21198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= wxDC_GetClippingRect(arg1
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21216 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 PyObject
*resultobj
= 0;
21218 wxDC
*arg1
= (wxDC
*) 0 ;
21222 PyObject
*swig_obj
[1] ;
21224 if (!args
) SWIG_fail
;
21225 swig_obj
[0] = args
;
21226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21227 if (!SWIG_IsOK(res1
)) {
21228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_From_int(static_cast< int >(result
));
21244 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 PyObject
*resultobj
= 0;
21246 wxDC
*arg1
= (wxDC
*) 0 ;
21250 PyObject
*swig_obj
[1] ;
21252 if (!args
) SWIG_fail
;
21253 swig_obj
[0] = args
;
21254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_From_int(static_cast< int >(result
));
21272 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= 0;
21274 wxDC
*arg1
= (wxDC
*) 0 ;
21275 wxString
*arg2
= 0 ;
21276 int *arg3
= (int *) 0 ;
21277 int *arg4
= (int *) 0 ;
21280 bool temp2
= false ;
21282 int res3
= SWIG_TMPOBJ
;
21284 int res4
= SWIG_TMPOBJ
;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "string", NULL
21293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21300 arg2
= wxString_in_helper(obj1
);
21301 if (arg2
== NULL
) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_Py_Void();
21311 if (SWIG_IsTmpObj(res3
)) {
21312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21317 if (SWIG_IsTmpObj(res4
)) {
21318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21320 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21337 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
= 0;
21339 wxDC
*arg1
= (wxDC
*) 0 ;
21340 wxString
*arg2
= 0 ;
21341 int *arg3
= (int *) 0 ;
21342 int *arg4
= (int *) 0 ;
21343 int *arg5
= (int *) 0 ;
21344 int *arg6
= (int *) 0 ;
21345 wxFont
*arg7
= (wxFont
*) NULL
;
21348 bool temp2
= false ;
21350 int res3
= SWIG_TMPOBJ
;
21352 int res4
= SWIG_TMPOBJ
;
21354 int res5
= SWIG_TMPOBJ
;
21356 int res6
= SWIG_TMPOBJ
;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 PyObject
* obj2
= 0 ;
21362 char * kwnames
[] = {
21363 (char *) "self",(char *) "string",(char *) "font", NULL
21370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21377 arg2
= wxString_in_helper(obj1
);
21378 if (arg2
== NULL
) SWIG_fail
;
21382 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21383 if (!SWIG_IsOK(res7
)) {
21384 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21386 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_Py_Void();
21395 if (SWIG_IsTmpObj(res3
)) {
21396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21398 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21401 if (SWIG_IsTmpObj(res4
)) {
21402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21404 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21407 if (SWIG_IsTmpObj(res5
)) {
21408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21410 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21413 if (SWIG_IsTmpObj(res6
)) {
21414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21416 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21433 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxDC
*arg1
= (wxDC
*) 0 ;
21436 wxString
*arg2
= 0 ;
21437 int *arg3
= (int *) 0 ;
21438 int *arg4
= (int *) 0 ;
21439 int *arg5
= (int *) 0 ;
21440 wxFont
*arg6
= (wxFont
*) NULL
;
21443 bool temp2
= false ;
21445 int res3
= SWIG_TMPOBJ
;
21447 int res4
= SWIG_TMPOBJ
;
21449 int res5
= SWIG_TMPOBJ
;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 PyObject
* obj2
= 0 ;
21455 char * kwnames
[] = {
21456 (char *) "self",(char *) "text",(char *) "font", NULL
21462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21469 arg2
= wxString_in_helper(obj1
);
21470 if (arg2
== NULL
) SWIG_fail
;
21474 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21475 if (!SWIG_IsOK(res6
)) {
21476 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21478 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_Py_Void();
21487 if (SWIG_IsTmpObj(res3
)) {
21488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21490 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21493 if (SWIG_IsTmpObj(res4
)) {
21494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21496 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21499 if (SWIG_IsTmpObj(res5
)) {
21500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21502 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21519 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
= 0;
21521 wxDC
*arg1
= (wxDC
*) 0 ;
21522 wxString
*arg2
= 0 ;
21526 bool temp2
= false ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "text", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21540 arg2
= wxString_in_helper(obj1
);
21541 if (arg2
== NULL
) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= wxArrayInt2PyList_helper(result
);
21567 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21568 PyObject
*resultobj
= 0;
21569 wxDC
*arg1
= (wxDC
*) 0 ;
21573 PyObject
*swig_obj
[1] ;
21575 if (!args
) SWIG_fail
;
21576 swig_obj
[0] = args
;
21577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21578 if (!SWIG_IsOK(res1
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (arg1
)->GetSize();
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21595 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21596 PyObject
*resultobj
= 0;
21597 wxDC
*arg1
= (wxDC
*) 0 ;
21598 int *arg2
= (int *) 0 ;
21599 int *arg3
= (int *) 0 ;
21603 int res2
= SWIG_TMPOBJ
;
21605 int res3
= SWIG_TMPOBJ
;
21606 PyObject
*swig_obj
[1] ;
21610 if (!args
) SWIG_fail
;
21611 swig_obj
[0] = args
;
21612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 (arg1
)->GetSize(arg2
,arg3
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_Py_Void();
21624 if (SWIG_IsTmpObj(res2
)) {
21625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21627 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21630 if (SWIG_IsTmpObj(res3
)) {
21631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21633 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21642 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21643 PyObject
*resultobj
= 0;
21644 wxDC
*arg1
= (wxDC
*) 0 ;
21648 PyObject
*swig_obj
[1] ;
21650 if (!args
) SWIG_fail
;
21651 swig_obj
[0] = args
;
21652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21670 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21671 PyObject
*resultobj
= 0;
21672 wxDC
*arg1
= (wxDC
*) 0 ;
21673 int *arg2
= (int *) 0 ;
21674 int *arg3
= (int *) 0 ;
21678 int res2
= SWIG_TMPOBJ
;
21680 int res3
= SWIG_TMPOBJ
;
21681 PyObject
*swig_obj
[1] ;
21685 if (!args
) SWIG_fail
;
21686 swig_obj
[0] = args
;
21687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21688 if (!SWIG_IsOK(res1
)) {
21689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= SWIG_Py_Void();
21699 if (SWIG_IsTmpObj(res2
)) {
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21702 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21705 if (SWIG_IsTmpObj(res3
)) {
21706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21708 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21717 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
= 0;
21719 wxDC
*arg1
= (wxDC
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char * kwnames
[] = {
21729 (char *) "self",(char *) "x", NULL
21732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21734 if (!SWIG_IsOK(res1
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21739 if (!SWIG_IsOK(ecode2
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21742 arg2
= static_cast< int >(val2
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= SWIG_From_int(static_cast< int >(result
));
21756 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
= 0;
21758 wxDC
*arg1
= (wxDC
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char * kwnames
[] = {
21768 (char *) "self",(char *) "y", NULL
21771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21773 if (!SWIG_IsOK(res1
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21778 if (!SWIG_IsOK(ecode2
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21781 arg2
= static_cast< int >(val2
);
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_From_int(static_cast< int >(result
));
21795 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
= 0;
21797 wxDC
*arg1
= (wxDC
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char * kwnames
[] = {
21807 (char *) "self",(char *) "x", NULL
21810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21817 if (!SWIG_IsOK(ecode2
)) {
21818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21820 arg2
= static_cast< int >(val2
);
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_From_int(static_cast< int >(result
));
21834 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
= 0;
21836 wxDC
*arg1
= (wxDC
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char * kwnames
[] = {
21846 (char *) "self",(char *) "y", NULL
21849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21856 if (!SWIG_IsOK(ecode2
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21859 arg2
= static_cast< int >(val2
);
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_From_int(static_cast< int >(result
));
21873 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
= 0;
21875 wxDC
*arg1
= (wxDC
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char * kwnames
[] = {
21885 (char *) "self",(char *) "x", NULL
21888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21890 if (!SWIG_IsOK(res1
)) {
21891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21895 if (!SWIG_IsOK(ecode2
)) {
21896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21898 arg2
= static_cast< int >(val2
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_From_int(static_cast< int >(result
));
21912 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
= 0;
21914 wxDC
*arg1
= (wxDC
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char * kwnames
[] = {
21924 (char *) "self",(char *) "y", NULL
21927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21929 if (!SWIG_IsOK(res1
)) {
21930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21934 if (!SWIG_IsOK(ecode2
)) {
21935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21937 arg2
= static_cast< int >(val2
);
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_From_int(static_cast< int >(result
));
21951 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
= 0;
21953 wxDC
*arg1
= (wxDC
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 char * kwnames
[] = {
21963 (char *) "self",(char *) "x", NULL
21966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21973 if (!SWIG_IsOK(ecode2
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21976 arg2
= static_cast< int >(val2
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_From_int(static_cast< int >(result
));
21990 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
= 0;
21992 wxDC
*arg1
= (wxDC
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "y", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22012 if (!SWIG_IsOK(ecode2
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22015 arg2
= static_cast< int >(val2
);
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_From_int(static_cast< int >(result
));
22029 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22030 PyObject
*resultobj
= 0;
22031 wxDC
*arg1
= (wxDC
*) 0 ;
22035 PyObject
*swig_obj
[1] ;
22037 if (!args
) SWIG_fail
;
22038 swig_obj
[0] = args
;
22039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22040 if (!SWIG_IsOK(res1
)) {
22041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22059 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22060 PyObject
*resultobj
= 0;
22061 wxDC
*arg1
= (wxDC
*) 0 ;
22065 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22089 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22090 PyObject
*resultobj
= 0;
22091 wxDC
*arg1
= (wxDC
*) 0 ;
22095 PyObject
*swig_obj
[1] ;
22097 if (!args
) SWIG_fail
;
22098 swig_obj
[0] = args
;
22099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22100 if (!SWIG_IsOK(res1
)) {
22101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_From_int(static_cast< int >(result
));
22117 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22118 PyObject
*resultobj
= 0;
22119 wxDC
*arg1
= (wxDC
*) 0 ;
22123 PyObject
*swig_obj
[1] ;
22125 if (!args
) SWIG_fail
;
22126 swig_obj
[0] = args
;
22127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22128 if (!SWIG_IsOK(res1
)) {
22129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 result
= ((wxDC
const *)arg1
)->GetPPI();
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22145 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22146 PyObject
*resultobj
= 0;
22147 wxDC
*arg1
= (wxDC
*) 0 ;
22151 PyObject
*swig_obj
[1] ;
22153 if (!args
) SWIG_fail
;
22154 swig_obj
[0] = args
;
22155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22156 if (!SWIG_IsOK(res1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22175 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 PyObject
*resultobj
= 0;
22177 wxDC
*arg1
= (wxDC
*) 0 ;
22181 PyObject
*swig_obj
[1] ;
22183 if (!args
) SWIG_fail
;
22184 swig_obj
[0] = args
;
22185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_From_int(static_cast< int >(result
));
22203 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 PyObject
*resultobj
= 0;
22205 wxDC
*arg1
= (wxDC
*) 0 ;
22206 wxBrush
*result
= 0 ;
22209 PyObject
*swig_obj
[1] ;
22211 if (!args
) SWIG_fail
;
22212 swig_obj
[0] = args
;
22213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22214 if (!SWIG_IsOK(res1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22222 result
= (wxBrush
*) &_result_ref
;
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 wxBrush
* resultptr
= new wxBrush(*result
);
22229 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22237 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22238 PyObject
*resultobj
= 0;
22239 wxDC
*arg1
= (wxDC
*) 0 ;
22240 wxBrush
*result
= 0 ;
22243 PyObject
*swig_obj
[1] ;
22245 if (!args
) SWIG_fail
;
22246 swig_obj
[0] = args
;
22247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22248 if (!SWIG_IsOK(res1
)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22256 result
= (wxBrush
*) &_result_ref
;
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 wxBrush
* resultptr
= new wxBrush(*result
);
22263 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22271 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22272 PyObject
*resultobj
= 0;
22273 wxDC
*arg1
= (wxDC
*) 0 ;
22274 wxFont
*result
= 0 ;
22277 PyObject
*swig_obj
[1] ;
22279 if (!args
) SWIG_fail
;
22280 swig_obj
[0] = args
;
22281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22290 result
= (wxFont
*) &_result_ref
;
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 wxFont
* resultptr
= new wxFont(*result
);
22297 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22305 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 PyObject
*resultobj
= 0;
22307 wxDC
*arg1
= (wxDC
*) 0 ;
22308 wxPen
*result
= 0 ;
22311 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22324 result
= (wxPen
*) &_result_ref
;
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 wxPen
* resultptr
= new wxPen(*result
);
22331 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22339 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22340 PyObject
*resultobj
= 0;
22341 wxDC
*arg1
= (wxDC
*) 0 ;
22342 wxColour
*result
= 0 ;
22345 PyObject
*swig_obj
[1] ;
22347 if (!args
) SWIG_fail
;
22348 swig_obj
[0] = args
;
22349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22358 result
= (wxColour
*) &_result_ref
;
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22370 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22371 PyObject
*resultobj
= 0;
22372 wxDC
*arg1
= (wxDC
*) 0 ;
22373 wxColour
*result
= 0 ;
22376 PyObject
*swig_obj
[1] ;
22378 if (!args
) SWIG_fail
;
22379 swig_obj
[0] = args
;
22380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22381 if (!SWIG_IsOK(res1
)) {
22382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22389 result
= (wxColour
*) &_result_ref
;
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22401 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
= 0;
22403 wxDC
*arg1
= (wxDC
*) 0 ;
22404 wxColour
*arg2
= 0 ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char * kwnames
[] = {
22411 (char *) "self",(char *) "colour", NULL
22414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22416 if (!SWIG_IsOK(res1
)) {
22417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_Py_Void();
22437 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
= 0;
22439 wxDC
*arg1
= (wxDC
*) 0 ;
22440 wxColour
*arg2
= 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char * kwnames
[] = {
22447 (char *) "self",(char *) "colour", NULL
22450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_Py_Void();
22473 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22474 PyObject
*resultobj
= 0;
22475 wxDC
*arg1
= (wxDC
*) 0 ;
22479 PyObject
*swig_obj
[1] ;
22481 if (!args
) SWIG_fail
;
22482 swig_obj
[0] = args
;
22483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= SWIG_From_int(static_cast< int >(result
));
22501 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
= 0;
22503 wxDC
*arg1
= (wxDC
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 PyObject
* obj1
= 0 ;
22511 char * kwnames
[] = {
22512 (char *) "self",(char *) "mode", NULL
22515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22517 if (!SWIG_IsOK(res1
)) {
22518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22522 if (!SWIG_IsOK(ecode2
)) {
22523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22525 arg2
= static_cast< int >(val2
);
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 (arg1
)->SetMapMode(arg2
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= SWIG_Py_Void();
22539 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22540 PyObject
*resultobj
= 0;
22541 wxDC
*arg1
= (wxDC
*) 0 ;
22542 double *arg2
= (double *) 0 ;
22543 double *arg3
= (double *) 0 ;
22547 int res2
= SWIG_TMPOBJ
;
22549 int res3
= SWIG_TMPOBJ
;
22550 PyObject
*swig_obj
[1] ;
22554 if (!args
) SWIG_fail
;
22555 swig_obj
[0] = args
;
22556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22557 if (!SWIG_IsOK(res1
)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_Py_Void();
22568 if (SWIG_IsTmpObj(res2
)) {
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22571 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22574 if (SWIG_IsTmpObj(res3
)) {
22575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22577 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22586 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
= 0;
22588 wxDC
*arg1
= (wxDC
*) 0 ;
22597 PyObject
* obj0
= 0 ;
22598 PyObject
* obj1
= 0 ;
22599 PyObject
* obj2
= 0 ;
22600 char * kwnames
[] = {
22601 (char *) "self",(char *) "x",(char *) "y", NULL
22604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22606 if (!SWIG_IsOK(res1
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22610 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22611 if (!SWIG_IsOK(ecode2
)) {
22612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22614 arg2
= static_cast< double >(val2
);
22615 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22616 if (!SWIG_IsOK(ecode3
)) {
22617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22619 arg3
= static_cast< double >(val3
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->SetUserScale(arg2
,arg3
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_Py_Void();
22633 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 PyObject
*resultobj
= 0;
22635 wxDC
*arg1
= (wxDC
*) 0 ;
22636 double *arg2
= (double *) 0 ;
22637 double *arg3
= (double *) 0 ;
22641 int res2
= SWIG_TMPOBJ
;
22643 int res3
= SWIG_TMPOBJ
;
22644 PyObject
*swig_obj
[1] ;
22648 if (!args
) SWIG_fail
;
22649 swig_obj
[0] = args
;
22650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22651 if (!SWIG_IsOK(res1
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 (arg1
)->GetLogicalScale(arg2
,arg3
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 resultobj
= SWIG_Py_Void();
22662 if (SWIG_IsTmpObj(res2
)) {
22663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22665 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22668 if (SWIG_IsTmpObj(res3
)) {
22669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22671 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22680 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxDC
*arg1
= (wxDC
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 PyObject
* obj2
= 0 ;
22694 char * kwnames
[] = {
22695 (char *) "self",(char *) "x",(char *) "y", NULL
22698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22704 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22705 if (!SWIG_IsOK(ecode2
)) {
22706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22708 arg2
= static_cast< double >(val2
);
22709 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22710 if (!SWIG_IsOK(ecode3
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22713 arg3
= static_cast< double >(val3
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 (arg1
)->SetLogicalScale(arg2
,arg3
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_Py_Void();
22727 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22728 PyObject
*resultobj
= 0;
22729 wxDC
*arg1
= (wxDC
*) 0 ;
22733 PyObject
*swig_obj
[1] ;
22735 if (!args
) SWIG_fail
;
22736 swig_obj
[0] = args
;
22737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22755 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22756 PyObject
*resultobj
= 0;
22757 wxDC
*arg1
= (wxDC
*) 0 ;
22758 int *arg2
= (int *) 0 ;
22759 int *arg3
= (int *) 0 ;
22763 int res2
= SWIG_TMPOBJ
;
22765 int res3
= SWIG_TMPOBJ
;
22766 PyObject
*swig_obj
[1] ;
22770 if (!args
) SWIG_fail
;
22771 swig_obj
[0] = args
;
22772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_Py_Void();
22784 if (SWIG_IsTmpObj(res2
)) {
22785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22787 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22790 if (SWIG_IsTmpObj(res3
)) {
22791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22793 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22802 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
= 0;
22804 wxDC
*arg1
= (wxDC
*) 0 ;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 PyObject
* obj2
= 0 ;
22816 char * kwnames
[] = {
22817 (char *) "self",(char *) "x",(char *) "y", NULL
22820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22822 if (!SWIG_IsOK(res1
)) {
22823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22827 if (!SWIG_IsOK(ecode2
)) {
22828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22830 arg2
= static_cast< int >(val2
);
22831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22832 if (!SWIG_IsOK(ecode3
)) {
22833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22835 arg3
= static_cast< int >(val3
);
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= SWIG_Py_Void();
22849 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
= 0;
22851 wxDC
*arg1
= (wxDC
*) 0 ;
22852 wxPoint
*arg2
= 0 ;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char * kwnames
[] = {
22859 (char *) "self",(char *) "point", NULL
22862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22864 if (!SWIG_IsOK(res1
)) {
22865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= SWIG_Py_Void();
22885 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22886 PyObject
*resultobj
= 0;
22887 wxDC
*arg1
= (wxDC
*) 0 ;
22891 PyObject
*swig_obj
[1] ;
22893 if (!args
) SWIG_fail
;
22894 swig_obj
[0] = args
;
22895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22913 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22914 PyObject
*resultobj
= 0;
22915 wxDC
*arg1
= (wxDC
*) 0 ;
22916 int *arg2
= (int *) 0 ;
22917 int *arg3
= (int *) 0 ;
22921 int res2
= SWIG_TMPOBJ
;
22923 int res3
= SWIG_TMPOBJ
;
22924 PyObject
*swig_obj
[1] ;
22928 if (!args
) SWIG_fail
;
22929 swig_obj
[0] = args
;
22930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_Py_Void();
22942 if (SWIG_IsTmpObj(res2
)) {
22943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22945 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22948 if (SWIG_IsTmpObj(res3
)) {
22949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22951 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22960 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
= 0;
22962 wxDC
*arg1
= (wxDC
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 PyObject
* obj1
= 0 ;
22973 PyObject
* obj2
= 0 ;
22974 char * kwnames
[] = {
22975 (char *) "self",(char *) "x",(char *) "y", NULL
22978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22985 if (!SWIG_IsOK(ecode2
)) {
22986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22988 arg2
= static_cast< int >(val2
);
22989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22990 if (!SWIG_IsOK(ecode3
)) {
22991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22993 arg3
= static_cast< int >(val3
);
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_Py_Void();
23007 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
= 0;
23009 wxDC
*arg1
= (wxDC
*) 0 ;
23010 wxPoint
*arg2
= 0 ;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 char * kwnames
[] = {
23017 (char *) "self",(char *) "point", NULL
23020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23028 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_Py_Void();
23043 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
= 0;
23045 wxDC
*arg1
= (wxDC
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 PyObject
* obj2
= 0 ;
23057 char * kwnames
[] = {
23058 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23063 if (!SWIG_IsOK(res1
)) {
23064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23067 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23068 if (!SWIG_IsOK(ecode2
)) {
23069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23071 arg2
= static_cast< bool >(val2
);
23072 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23073 if (!SWIG_IsOK(ecode3
)) {
23074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23076 arg3
= static_cast< bool >(val3
);
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_Py_Void();
23090 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 PyObject
*resultobj
= 0;
23092 wxDC
*arg1
= (wxDC
*) 0 ;
23096 PyObject
*swig_obj
[1] ;
23098 if (!args
) SWIG_fail
;
23099 swig_obj
[0] = args
;
23100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23101 if (!SWIG_IsOK(res1
)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_From_int(static_cast< int >(result
));
23118 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
= 0;
23120 wxDC
*arg1
= (wxDC
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 char * kwnames
[] = {
23129 (char *) "self",(char *) "function", NULL
23132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23139 if (!SWIG_IsOK(ecode2
)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23142 arg2
= static_cast< int >(val2
);
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 (arg1
)->SetLogicalFunction(arg2
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_Py_Void();
23156 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 PyObject
*resultobj
= 0;
23158 wxDC
*arg1
= (wxDC
*) 0 ;
23161 PyObject
*swig_obj
[1] ;
23163 if (!args
) SWIG_fail
;
23164 swig_obj
[0] = args
;
23165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->ComputeScaleAndOrigin();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_Py_Void();
23183 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
= 0;
23185 wxDC
*arg1
= (wxDC
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 PyObject
* obj2
= 0 ;
23197 char * kwnames
[] = {
23198 (char *) "self",(char *) "x",(char *) "y", NULL
23201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23203 if (!SWIG_IsOK(res1
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23208 if (!SWIG_IsOK(ecode2
)) {
23209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23211 arg2
= static_cast< int >(val2
);
23212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23213 if (!SWIG_IsOK(ecode3
)) {
23214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23216 arg3
= static_cast< int >(val3
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_Py_Void();
23230 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
= 0;
23232 wxDC
*arg1
= (wxDC
*) 0 ;
23233 wxPoint
*arg2
= 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 char * kwnames
[] = {
23240 (char *) "self",(char *) "point", NULL
23243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_Py_Void();
23266 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23267 PyObject
*resultobj
= 0;
23268 wxDC
*arg1
= (wxDC
*) 0 ;
23271 PyObject
*swig_obj
[1] ;
23273 if (!args
) SWIG_fail
;
23274 swig_obj
[0] = args
;
23275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 (arg1
)->ResetBoundingBox();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_Py_Void();
23293 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23294 PyObject
*resultobj
= 0;
23295 wxDC
*arg1
= (wxDC
*) 0 ;
23299 PyObject
*swig_obj
[1] ;
23301 if (!args
) SWIG_fail
;
23302 swig_obj
[0] = args
;
23303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (int)((wxDC
const *)arg1
)->MinX();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_From_int(static_cast< int >(result
));
23321 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23322 PyObject
*resultobj
= 0;
23323 wxDC
*arg1
= (wxDC
*) 0 ;
23327 PyObject
*swig_obj
[1] ;
23329 if (!args
) SWIG_fail
;
23330 swig_obj
[0] = args
;
23331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (int)((wxDC
const *)arg1
)->MaxX();
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= SWIG_From_int(static_cast< int >(result
));
23349 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23350 PyObject
*resultobj
= 0;
23351 wxDC
*arg1
= (wxDC
*) 0 ;
23355 PyObject
*swig_obj
[1] ;
23357 if (!args
) SWIG_fail
;
23358 swig_obj
[0] = args
;
23359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (int)((wxDC
const *)arg1
)->MinY();
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_From_int(static_cast< int >(result
));
23377 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23378 PyObject
*resultobj
= 0;
23379 wxDC
*arg1
= (wxDC
*) 0 ;
23383 PyObject
*swig_obj
[1] ;
23385 if (!args
) SWIG_fail
;
23386 swig_obj
[0] = args
;
23387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23388 if (!SWIG_IsOK(res1
)) {
23389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (int)((wxDC
const *)arg1
)->MaxY();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_From_int(static_cast< int >(result
));
23405 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23406 PyObject
*resultobj
= 0;
23407 wxDC
*arg1
= (wxDC
*) 0 ;
23408 int *arg2
= (int *) 0 ;
23409 int *arg3
= (int *) 0 ;
23410 int *arg4
= (int *) 0 ;
23411 int *arg5
= (int *) 0 ;
23415 int res2
= SWIG_TMPOBJ
;
23417 int res3
= SWIG_TMPOBJ
;
23419 int res4
= SWIG_TMPOBJ
;
23421 int res5
= SWIG_TMPOBJ
;
23422 PyObject
*swig_obj
[1] ;
23428 if (!args
) SWIG_fail
;
23429 swig_obj
[0] = args
;
23430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23431 if (!SWIG_IsOK(res1
)) {
23432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_Py_Void();
23442 if (SWIG_IsTmpObj(res2
)) {
23443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23445 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23448 if (SWIG_IsTmpObj(res3
)) {
23449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23451 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23454 if (SWIG_IsTmpObj(res4
)) {
23455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23457 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23460 if (SWIG_IsTmpObj(res5
)) {
23461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23463 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23472 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23473 PyObject
*resultobj
= 0;
23474 wxDC
*arg1
= (wxDC
*) 0 ;
23475 wxLayoutDirection result
;
23478 PyObject
*swig_obj
[1] ;
23480 if (!args
) SWIG_fail
;
23481 swig_obj
[0] = args
;
23482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23483 if (!SWIG_IsOK(res1
)) {
23484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= SWIG_From_int(static_cast< int >(result
));
23500 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
= 0;
23502 wxDC
*arg1
= (wxDC
*) 0 ;
23503 wxLayoutDirection arg2
;
23508 PyObject
* obj0
= 0 ;
23509 PyObject
* obj1
= 0 ;
23510 char * kwnames
[] = {
23511 (char *) "self",(char *) "dir", NULL
23514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23521 if (!SWIG_IsOK(ecode2
)) {
23522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23524 arg2
= static_cast< wxLayoutDirection
>(val2
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->SetLayoutDirection(arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_Py_Void();
23538 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23539 PyObject
*resultobj
= 0;
23540 wxDC
*arg1
= (wxDC
*) 0 ;
23544 PyObject
*swig_obj
[1] ;
23546 if (!args
) SWIG_fail
;
23547 swig_obj
[0] = args
;
23548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23549 if (!SWIG_IsOK(res1
)) {
23550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (long)(arg1
)->GetHDC();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_long(static_cast< long >(result
));
23566 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
= 0;
23568 wxDC
*arg1
= (wxDC
*) 0 ;
23569 PyObject
*arg2
= (PyObject
*) 0 ;
23570 PyObject
*arg3
= (PyObject
*) 0 ;
23571 PyObject
*arg4
= (PyObject
*) 0 ;
23572 PyObject
*result
= 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 PyObject
* obj2
= 0 ;
23578 PyObject
* obj3
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= result
;
23605 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
= 0;
23607 wxDC
*arg1
= (wxDC
*) 0 ;
23608 PyObject
*arg2
= (PyObject
*) 0 ;
23609 PyObject
*arg3
= (PyObject
*) 0 ;
23610 PyObject
*arg4
= (PyObject
*) 0 ;
23611 PyObject
*result
= 0 ;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 PyObject
* obj2
= 0 ;
23617 PyObject
* obj3
= 0 ;
23618 char * kwnames
[] = {
23619 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23624 if (!SWIG_IsOK(res1
)) {
23625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= result
;
23644 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= 0;
23646 wxDC
*arg1
= (wxDC
*) 0 ;
23647 PyObject
*arg2
= (PyObject
*) 0 ;
23648 PyObject
*arg3
= (PyObject
*) 0 ;
23649 PyObject
*arg4
= (PyObject
*) 0 ;
23650 PyObject
*result
= 0 ;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 PyObject
* obj2
= 0 ;
23656 PyObject
* obj3
= 0 ;
23657 char * kwnames
[] = {
23658 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= result
;
23683 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
= 0;
23685 wxDC
*arg1
= (wxDC
*) 0 ;
23686 PyObject
*arg2
= (PyObject
*) 0 ;
23687 PyObject
*arg3
= (PyObject
*) 0 ;
23688 PyObject
*arg4
= (PyObject
*) 0 ;
23689 PyObject
*result
= 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 PyObject
* obj2
= 0 ;
23695 PyObject
* obj3
= 0 ;
23696 char * kwnames
[] = {
23697 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= result
;
23722 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
= 0;
23724 wxDC
*arg1
= (wxDC
*) 0 ;
23725 PyObject
*arg2
= (PyObject
*) 0 ;
23726 PyObject
*arg3
= (PyObject
*) 0 ;
23727 PyObject
*arg4
= (PyObject
*) 0 ;
23728 PyObject
*result
= 0 ;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 PyObject
* obj2
= 0 ;
23734 PyObject
* obj3
= 0 ;
23735 char * kwnames
[] = {
23736 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23741 if (!SWIG_IsOK(res1
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= result
;
23761 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxDC
*arg1
= (wxDC
*) 0 ;
23764 PyObject
*arg2
= (PyObject
*) 0 ;
23765 PyObject
*arg3
= (PyObject
*) 0 ;
23766 PyObject
*arg4
= (PyObject
*) 0 ;
23767 PyObject
*arg5
= (PyObject
*) 0 ;
23768 PyObject
*result
= 0 ;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 PyObject
* obj2
= 0 ;
23774 PyObject
* obj3
= 0 ;
23775 PyObject
* obj4
= 0 ;
23776 char * kwnames
[] = {
23777 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23782 if (!SWIG_IsOK(res1
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
;
23803 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23806 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23807 return SWIG_Py_Void();
23810 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
= 0;
23812 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23813 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23814 wxMemoryDC
*result
= 0 ;
23817 PyObject
* obj0
= 0 ;
23818 char * kwnames
[] = {
23819 (char *) "bitmap", NULL
23822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23834 if (!wxPyCheckForApp()) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23847 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
= 0;
23849 wxDC
*arg1
= (wxDC
*) 0 ;
23850 wxMemoryDC
*result
= 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char * kwnames
[] = {
23855 (char *) "oldDC", NULL
23858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23860 if (!SWIG_IsOK(res1
)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23865 if (!wxPyCheckForApp()) SWIG_fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23878 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23881 wxBitmap
*arg2
= 0 ;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char * kwnames
[] = {
23889 (char *) "self",(char *) "bitmap", NULL
23892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23897 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23899 if (!SWIG_IsOK(res2
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23905 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 resultobj
= SWIG_Py_Void();
23919 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23922 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23923 return SWIG_Py_Void();
23926 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23927 return SWIG_Python_InitShadowInstance(args
);
23930 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23931 PyObject
*resultobj
= 0;
23932 wxScreenDC
*result
= 0 ;
23934 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23936 if (!wxPyCheckForApp()) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (wxScreenDC
*)new wxScreenDC();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23949 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
= 0;
23951 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23952 wxWindow
*arg2
= (wxWindow
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 char * kwnames
[] = {
23961 (char *) "self",(char *) "window", NULL
23964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23966 if (!SWIG_IsOK(res1
)) {
23967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23969 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23971 if (!SWIG_IsOK(res2
)) {
23972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23990 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= 0;
23992 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23993 wxRect
*arg2
= (wxRect
*) NULL
;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 char * kwnames
[] = {
24002 (char *) "self",(char *) "rect", NULL
24005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24007 if (!SWIG_IsOK(res1
)) {
24008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24010 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24013 if (!SWIG_IsOK(res2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24016 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24033 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24034 PyObject
*resultobj
= 0;
24035 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24039 PyObject
*swig_obj
[1] ;
24041 if (!args
) SWIG_fail
;
24042 swig_obj
[0] = args
;
24043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24044 if (!SWIG_IsOK(res1
)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24047 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (bool)(arg1
)->EndDrawingOnTop();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24063 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24066 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24067 return SWIG_Py_Void();
24070 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24071 return SWIG_Python_InitShadowInstance(args
);
24074 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
= 0;
24076 wxWindow
*arg1
= (wxWindow
*) 0 ;
24077 wxWindowDC
*result
= 0 ;
24080 PyObject
* obj0
= 0 ;
24081 char * kwnames
[] = {
24082 (char *) "win", NULL
24085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24090 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24092 if (!wxPyCheckForApp()) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24105 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24108 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24109 return SWIG_Py_Void();
24112 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24113 return SWIG_Python_InitShadowInstance(args
);
24116 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
= 0;
24118 wxWindow
*arg1
= (wxWindow
*) 0 ;
24119 wxClientDC
*result
= 0 ;
24122 PyObject
* obj0
= 0 ;
24123 char * kwnames
[] = {
24124 (char *) "win", NULL
24127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24129 if (!SWIG_IsOK(res1
)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24134 if (!wxPyCheckForApp()) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (wxClientDC
*)new wxClientDC(arg1
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24147 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24150 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24151 return SWIG_Py_Void();
24154 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24155 return SWIG_Python_InitShadowInstance(args
);
24158 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
= 0;
24160 wxWindow
*arg1
= (wxWindow
*) 0 ;
24161 wxPaintDC
*result
= 0 ;
24164 PyObject
* obj0
= 0 ;
24165 char * kwnames
[] = {
24166 (char *) "win", NULL
24169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24171 if (!SWIG_IsOK(res1
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24176 if (!wxPyCheckForApp()) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24189 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24193 return SWIG_Py_Void();
24196 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24197 return SWIG_Python_InitShadowInstance(args
);
24200 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24201 PyObject
*resultobj
= 0;
24202 wxDC
*arg1
= (wxDC
*) 0 ;
24203 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24204 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24205 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24206 wxBufferedDC
*result
= 0 ;
24214 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24216 if (!SWIG_IsOK(res1
)) {
24217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24221 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24222 if (!SWIG_IsOK(res2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24228 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24231 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24232 if (!SWIG_IsOK(ecode3
)) {
24233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24235 arg3
= static_cast< int >(val3
);
24238 if (!wxPyCheckForApp()) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24251 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24252 PyObject
*resultobj
= 0;
24253 wxDC
*arg1
= (wxDC
*) 0 ;
24255 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24256 wxBufferedDC
*result
= 0 ;
24263 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24271 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24274 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24275 if (!SWIG_IsOK(ecode3
)) {
24276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24278 arg3
= static_cast< int >(val3
);
24281 if (!wxPyCheckForApp()) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24294 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24298 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24300 if ((argc
>= 1) && (argc
<= 3)) {
24304 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24305 _v
= SWIG_CheckState(res
);
24307 if (!_v
) goto check_1
;
24309 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24313 if ((argc
>= 2) && (argc
<= 3)) {
24314 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24318 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24323 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24324 PyObject
*resultobj
= 0;
24325 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24328 PyObject
*swig_obj
[1] ;
24330 if (!args
) SWIG_fail
;
24331 swig_obj
[0] = args
;
24332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24333 if (!SWIG_IsOK(res1
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24336 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24352 PyObject
*resultobj
= 0;
24353 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24356 PyObject
*swig_obj
[1] ;
24358 if (!args
) SWIG_fail
;
24359 swig_obj
[0] = args
;
24360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24364 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= SWIG_Py_Void();
24378 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24381 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24382 return SWIG_Py_Void();
24385 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24386 return SWIG_Python_InitShadowInstance(args
);
24389 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
= 0;
24391 wxWindow
*arg1
= (wxWindow
*) 0 ;
24392 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24393 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24394 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24395 wxBufferedPaintDC
*result
= 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 PyObject
* obj2
= 0 ;
24405 char * kwnames
[] = {
24406 (char *) "window",(char *) "buffer",(char *) "style", NULL
24409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24411 if (!SWIG_IsOK(res1
)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24417 if (!SWIG_IsOK(res2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24423 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24427 if (!SWIG_IsOK(ecode3
)) {
24428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24430 arg3
= static_cast< int >(val3
);
24433 if (!wxPyCheckForApp()) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24446 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24449 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24450 return SWIG_Py_Void();
24453 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24454 return SWIG_Python_InitShadowInstance(args
);
24457 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
= 0;
24459 wxWindow
*arg1
= (wxWindow
*) 0 ;
24460 wxAutoBufferedPaintDC
*result
= 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char * kwnames
[] = {
24465 (char *) "win", NULL
24468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24470 if (!SWIG_IsOK(res1
)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24473 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24487 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24490 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24491 return SWIG_Py_Void();
24494 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24495 return SWIG_Python_InitShadowInstance(args
);
24498 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
= 0;
24500 wxWindow
*arg1
= (wxWindow
*) 0 ;
24504 PyObject
* obj0
= 0 ;
24505 char * kwnames
[] = {
24506 (char *) "window", NULL
24509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24530 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= 0;
24534 wxMirrorDC
*result
= 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char * kwnames
[] = {
24542 (char *) "dc",(char *) "mirror", NULL
24545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24546 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24554 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24555 if (!SWIG_IsOK(ecode2
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24558 arg2
= static_cast< bool >(val2
);
24560 if (!wxPyCheckForApp()) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24573 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24576 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24577 return SWIG_Py_Void();
24580 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24581 return SWIG_Python_InitShadowInstance(args
);
24584 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
= 0;
24586 wxPrintData
*arg1
= 0 ;
24587 wxPostScriptDC
*result
= 0 ;
24590 PyObject
* obj0
= 0 ;
24591 char * kwnames
[] = {
24592 (char *) "printData", NULL
24595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24596 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24597 if (!SWIG_IsOK(res1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24603 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24605 if (!wxPyCheckForApp()) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24618 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24619 PyObject
*resultobj
= 0;
24620 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24621 wxPrintData
*result
= 0 ;
24624 PyObject
*swig_obj
[1] ;
24626 if (!args
) SWIG_fail
;
24627 swig_obj
[0] = args
;
24628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24632 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24637 result
= (wxPrintData
*) &_result_ref
;
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24649 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
= 0;
24651 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24652 wxPrintData
*arg2
= 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 char * kwnames
[] = {
24660 (char *) "self",(char *) "data", NULL
24663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24665 if (!SWIG_IsOK(res1
)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24668 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24670 if (!SWIG_IsOK(res2
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24676 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= SWIG_Py_Void();
24690 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
= 0;
24695 PyObject
* obj0
= 0 ;
24696 char * kwnames
[] = {
24697 (char *) "ppi", NULL
24700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24702 if (!SWIG_IsOK(ecode1
)) {
24703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24705 arg1
= static_cast< int >(val1
);
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 wxPostScriptDC::SetResolution(arg1
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= SWIG_Py_Void();
24719 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24720 PyObject
*resultobj
= 0;
24723 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (int)wxPostScriptDC::GetResolution();
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_From_int(static_cast< int >(result
));
24737 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24741 return SWIG_Py_Void();
24744 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24745 return SWIG_Python_InitShadowInstance(args
);
24748 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
= 0;
24750 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24751 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24752 wxMetaFile
*result
= 0 ;
24753 bool temp1
= false ;
24754 PyObject
* obj0
= 0 ;
24755 char * kwnames
[] = {
24756 (char *) "filename", NULL
24759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24762 arg1
= wxString_in_helper(obj0
);
24763 if (arg1
== NULL
) SWIG_fail
;
24768 if (!wxPyCheckForApp()) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24789 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24790 PyObject
*resultobj
= 0;
24791 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24794 PyObject
*swig_obj
[1] ;
24796 if (!args
) SWIG_fail
;
24797 swig_obj
[0] = args
;
24798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24802 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_Py_Void();
24817 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24818 PyObject
*resultobj
= 0;
24819 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24823 PyObject
*swig_obj
[1] ;
24825 if (!args
) SWIG_fail
;
24826 swig_obj
[0] = args
;
24827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24831 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (bool)(arg1
)->IsOk();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24847 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
= 0;
24849 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24850 int arg2
= (int) 0 ;
24851 int arg3
= (int) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 PyObject
* obj2
= 0 ;
24862 char * kwnames
[] = {
24863 (char *) "self",(char *) "width",(char *) "height", NULL
24866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24871 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24874 if (!SWIG_IsOK(ecode2
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24877 arg2
= static_cast< int >(val2
);
24880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24881 if (!SWIG_IsOK(ecode3
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24884 arg3
= static_cast< int >(val3
);
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24901 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24902 PyObject
*resultobj
= 0;
24903 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24907 PyObject
*swig_obj
[1] ;
24909 if (!args
) SWIG_fail
;
24910 swig_obj
[0] = args
;
24911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24912 if (!SWIG_IsOK(res1
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24915 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 result
= (arg1
)->GetSize();
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24929 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24930 PyObject
*resultobj
= 0;
24931 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24935 PyObject
*swig_obj
[1] ;
24937 if (!args
) SWIG_fail
;
24938 swig_obj
[0] = args
;
24939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24943 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (int)(arg1
)->GetWidth();
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_From_int(static_cast< int >(result
));
24957 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24958 PyObject
*resultobj
= 0;
24959 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24963 PyObject
*swig_obj
[1] ;
24965 if (!args
) SWIG_fail
;
24966 swig_obj
[0] = args
;
24967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24968 if (!SWIG_IsOK(res1
)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24971 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (int)(arg1
)->GetHeight();
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_From_int(static_cast< int >(result
));
24985 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24986 PyObject
*resultobj
= 0;
24987 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24988 wxString
*result
= 0 ;
24991 PyObject
*swig_obj
[1] ;
24993 if (!args
) SWIG_fail
;
24994 swig_obj
[0] = args
;
24995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24996 if (!SWIG_IsOK(res1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24999 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25004 result
= (wxString
*) &_result_ref
;
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25013 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25022 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25025 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25026 return SWIG_Py_Void();
25029 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25030 return SWIG_Python_InitShadowInstance(args
);
25033 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
= 0;
25035 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25036 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25037 int arg2
= (int) 0 ;
25038 int arg3
= (int) 0 ;
25039 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25040 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25041 wxMetaFileDC
*result
= 0 ;
25042 bool temp1
= false ;
25047 bool temp4
= false ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 PyObject
* obj3
= 0 ;
25052 char * kwnames
[] = {
25053 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25059 arg1
= wxString_in_helper(obj0
);
25060 if (arg1
== NULL
) SWIG_fail
;
25065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25066 if (!SWIG_IsOK(ecode2
)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25069 arg2
= static_cast< int >(val2
);
25072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25073 if (!SWIG_IsOK(ecode3
)) {
25074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25076 arg3
= static_cast< int >(val3
);
25080 arg4
= wxString_in_helper(obj3
);
25081 if (arg4
== NULL
) SWIG_fail
;
25086 if (!wxPyCheckForApp()) SWIG_fail
;
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25115 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 PyObject
*resultobj
= 0;
25117 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25118 wxMetaFile
*result
= 0 ;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25129 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (wxMetaFile
*)(arg1
)->Close();
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25143 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25146 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25147 return SWIG_Py_Void();
25150 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25151 return SWIG_Python_InitShadowInstance(args
);
25154 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
= 0;
25156 wxPrintData
*arg1
= 0 ;
25157 wxPrinterDC
*result
= 0 ;
25160 PyObject
* obj0
= 0 ;
25161 char * kwnames
[] = {
25162 (char *) "printData", NULL
25165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25166 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25173 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25175 if (!wxPyCheckForApp()) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25188 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25192 return SWIG_Py_Void();
25195 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 return SWIG_Python_InitShadowInstance(args
);
25199 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25212 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
= 0;
25227 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 PyObject
* obj2
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "x",(char *) "y", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25248 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25249 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25250 if (!SWIG_IsOK(ecode2
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25253 arg2
= static_cast< wxDouble
>(val2
);
25254 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25255 if (!SWIG_IsOK(ecode3
)) {
25256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25258 arg3
= static_cast< wxDouble
>(val3
);
25260 (arg1
)->MoveToPoint(arg2
,arg3
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 PyObject
* obj2
= 0 ;
25284 char * kwnames
[] = {
25285 (char *) "self",(char *) "x",(char *) "y", NULL
25288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25293 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25294 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25295 if (!SWIG_IsOK(ecode2
)) {
25296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25298 arg2
= static_cast< wxDouble
>(val2
);
25299 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25300 if (!SWIG_IsOK(ecode3
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25303 arg3
= static_cast< wxDouble
>(val3
);
25305 (arg1
)->AddLineToPoint(arg2
,arg3
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_Py_Void();
25315 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= 0;
25317 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 PyObject
* obj2
= 0 ;
25341 PyObject
* obj3
= 0 ;
25342 PyObject
* obj4
= 0 ;
25343 PyObject
* obj5
= 0 ;
25344 PyObject
* obj6
= 0 ;
25345 char * kwnames
[] = {
25346 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25351 if (!SWIG_IsOK(res1
)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25354 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25355 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25356 if (!SWIG_IsOK(ecode2
)) {
25357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25359 arg2
= static_cast< wxDouble
>(val2
);
25360 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25361 if (!SWIG_IsOK(ecode3
)) {
25362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25364 arg3
= static_cast< wxDouble
>(val3
);
25365 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25366 if (!SWIG_IsOK(ecode4
)) {
25367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25369 arg4
= static_cast< wxDouble
>(val4
);
25370 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25371 if (!SWIG_IsOK(ecode5
)) {
25372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25374 arg5
= static_cast< wxDouble
>(val5
);
25375 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25376 if (!SWIG_IsOK(ecode6
)) {
25377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25379 arg6
= static_cast< wxDouble
>(val6
);
25380 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25381 if (!SWIG_IsOK(ecode7
)) {
25382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25384 arg7
= static_cast< wxDouble
>(val7
);
25386 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_Py_Void();
25396 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 PyObject
*resultobj
= 0;
25398 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25401 PyObject
*swig_obj
[1] ;
25403 if (!args
) SWIG_fail
;
25404 swig_obj
[0] = args
;
25405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25409 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25411 (arg1
)->CloseSubpath();
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_Py_Void();
25421 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 PyObject
*resultobj
= 0;
25423 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25427 PyObject
*swig_obj
[1] ;
25429 if (!args
) SWIG_fail
;
25430 swig_obj
[0] = args
;
25431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25435 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25437 result
= (arg1
)->GetCurrentPoint();
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25447 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= 0;
25449 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 PyObject
* obj2
= 0 ;
25473 PyObject
* obj3
= 0 ;
25474 PyObject
* obj4
= 0 ;
25475 PyObject
* obj5
= 0 ;
25476 PyObject
* obj6
= 0 ;
25477 char * kwnames
[] = {
25478 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25486 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25487 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25488 if (!SWIG_IsOK(ecode2
)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25491 arg2
= static_cast< wxDouble
>(val2
);
25492 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25493 if (!SWIG_IsOK(ecode3
)) {
25494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25496 arg3
= static_cast< wxDouble
>(val3
);
25497 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25498 if (!SWIG_IsOK(ecode4
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25501 arg4
= static_cast< wxDouble
>(val4
);
25502 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25503 if (!SWIG_IsOK(ecode5
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25506 arg5
= static_cast< wxDouble
>(val5
);
25507 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25508 if (!SWIG_IsOK(ecode6
)) {
25509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25511 arg6
= static_cast< wxDouble
>(val6
);
25512 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25513 if (!SWIG_IsOK(ecode7
)) {
25514 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25516 arg7
= static_cast< bool >(val7
);
25518 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_Py_Void();
25528 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= 0;
25530 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 PyObject
* obj2
= 0 ;
25548 PyObject
* obj3
= 0 ;
25549 PyObject
* obj4
= 0 ;
25550 char * kwnames
[] = {
25551 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25556 if (!SWIG_IsOK(res1
)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25559 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25560 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25561 if (!SWIG_IsOK(ecode2
)) {
25562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25564 arg2
= static_cast< wxDouble
>(val2
);
25565 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25566 if (!SWIG_IsOK(ecode3
)) {
25567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25569 arg3
= static_cast< wxDouble
>(val3
);
25570 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25571 if (!SWIG_IsOK(ecode4
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25574 arg4
= static_cast< wxDouble
>(val4
);
25575 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25576 if (!SWIG_IsOK(ecode5
)) {
25577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25579 arg5
= static_cast< wxDouble
>(val5
);
25581 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_Py_Void();
25591 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25592 PyObject
*resultobj
= 0;
25593 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 PyObject
* obj1
= 0 ;
25610 PyObject
* obj2
= 0 ;
25611 PyObject
* obj3
= 0 ;
25612 PyObject
* obj4
= 0 ;
25613 char * kwnames
[] = {
25614 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25619 if (!SWIG_IsOK(res1
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25622 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25623 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25624 if (!SWIG_IsOK(ecode2
)) {
25625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25627 arg2
= static_cast< wxDouble
>(val2
);
25628 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25629 if (!SWIG_IsOK(ecode3
)) {
25630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25632 arg3
= static_cast< wxDouble
>(val3
);
25633 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25634 if (!SWIG_IsOK(ecode4
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25637 arg4
= static_cast< wxDouble
>(val4
);
25638 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25639 if (!SWIG_IsOK(ecode5
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25642 arg5
= static_cast< wxDouble
>(val5
);
25644 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_Py_Void();
25654 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
= 0;
25656 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 PyObject
* obj2
= 0 ;
25671 PyObject
* obj3
= 0 ;
25672 char * kwnames
[] = {
25673 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25681 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25682 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25683 if (!SWIG_IsOK(ecode2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25686 arg2
= static_cast< wxDouble
>(val2
);
25687 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25688 if (!SWIG_IsOK(ecode3
)) {
25689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25691 arg3
= static_cast< wxDouble
>(val3
);
25692 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25693 if (!SWIG_IsOK(ecode4
)) {
25694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25696 arg4
= static_cast< wxDouble
>(val4
);
25698 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_Py_Void();
25708 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
= 0;
25710 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 PyObject
* obj2
= 0 ;
25731 PyObject
* obj3
= 0 ;
25732 PyObject
* obj4
= 0 ;
25733 PyObject
* obj5
= 0 ;
25734 char * kwnames
[] = {
25735 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25743 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25744 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25745 if (!SWIG_IsOK(ecode2
)) {
25746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25748 arg2
= static_cast< wxDouble
>(val2
);
25749 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25750 if (!SWIG_IsOK(ecode3
)) {
25751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25753 arg3
= static_cast< wxDouble
>(val3
);
25754 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25755 if (!SWIG_IsOK(ecode4
)) {
25756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25758 arg4
= static_cast< wxDouble
>(val4
);
25759 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25760 if (!SWIG_IsOK(ecode5
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25763 arg5
= static_cast< wxDouble
>(val5
);
25764 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25765 if (!SWIG_IsOK(ecode6
)) {
25766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25768 arg6
= static_cast< wxDouble
>(val6
);
25770 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= SWIG_Py_Void();
25780 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25783 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25784 return SWIG_Py_Void();
25787 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25788 PyObject
*resultobj
= 0;
25789 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25792 PyObject
*swig_obj
[1] ;
25794 if (!args
) SWIG_fail
;
25795 swig_obj
[0] = args
;
25796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25800 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25814 PyObject
*resultobj
= 0;
25815 wxWindowDC
*arg1
= 0 ;
25816 wxGraphicsContext
*result
= 0 ;
25820 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25822 if (!SWIG_IsOK(res1
)) {
25823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25828 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25830 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25840 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25841 PyObject
*resultobj
= 0;
25842 wxWindow
*arg1
= (wxWindow
*) 0 ;
25843 wxGraphicsContext
*result
= 0 ;
25847 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
25852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25854 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25864 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
25868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
25873 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
25874 _v
= SWIG_CheckState(res
);
25876 if (!_v
) goto check_1
;
25877 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
25882 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
25886 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
25891 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
= 0;
25893 void *arg1
= (void *) 0 ;
25894 wxGraphicsContext
*result
= 0 ;
25896 PyObject
* obj0
= 0 ;
25897 char * kwnames
[] = {
25898 (char *) "context", NULL
25901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
25902 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
25907 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25917 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25918 PyObject
*resultobj
= 0;
25919 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25920 wxGraphicsPath
*result
= 0 ;
25923 PyObject
*swig_obj
[1] ;
25925 if (!args
) SWIG_fail
;
25926 swig_obj
[0] = args
;
25927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25928 if (!SWIG_IsOK(res1
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25931 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25933 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25943 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 PyObject
*resultobj
= 0;
25945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25956 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25958 (arg1
)->PushState();
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_Py_Void();
25968 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25969 PyObject
*resultobj
= 0;
25970 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25973 PyObject
*swig_obj
[1] ;
25975 if (!args
) SWIG_fail
;
25976 swig_obj
[0] = args
;
25977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25981 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25983 (arg1
)->PopState();
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_Py_Void();
25993 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
= 0;
25995 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25996 wxRegion
*arg2
= 0 ;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 char * kwnames
[] = {
26004 (char *) "self",(char *) "region", NULL
26007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26012 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
26014 if (!SWIG_IsOK(res2
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26020 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
26022 (arg1
)->Clip((wxRegion
const &)*arg2
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 resultobj
= SWIG_Py_Void();
26032 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 PyObject
* obj3
= 0 ;
26053 PyObject
* obj4
= 0 ;
26054 char * kwnames
[] = {
26055 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26063 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26064 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26065 if (!SWIG_IsOK(ecode2
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
26068 arg2
= static_cast< wxDouble
>(val2
);
26069 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26070 if (!SWIG_IsOK(ecode3
)) {
26071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
26073 arg3
= static_cast< wxDouble
>(val3
);
26074 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26075 if (!SWIG_IsOK(ecode4
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
26078 arg4
= static_cast< wxDouble
>(val4
);
26079 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26080 if (!SWIG_IsOK(ecode5
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
26083 arg5
= static_cast< wxDouble
>(val5
);
26085 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26088 resultobj
= SWIG_Py_Void();
26095 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 PyObject
*resultobj
= 0;
26097 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26100 PyObject
*swig_obj
[1] ;
26102 if (!args
) SWIG_fail
;
26103 swig_obj
[0] = args
;
26104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26105 if (!SWIG_IsOK(res1
)) {
26106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26108 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26110 (arg1
)->ResetClip();
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_Py_Void();
26120 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26126 PyObject
*swig_obj
[1] ;
26128 if (!args
) SWIG_fail
;
26129 swig_obj
[0] = args
;
26130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26134 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26136 result
= (void *)(arg1
)->GetNativeContext();
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26146 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
= 0;
26148 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "dx",(char *) "dy", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26169 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26170 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26171 if (!SWIG_IsOK(ecode2
)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26174 arg2
= static_cast< wxDouble
>(val2
);
26175 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26176 if (!SWIG_IsOK(ecode3
)) {
26177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26179 arg3
= static_cast< wxDouble
>(val3
);
26181 (arg1
)->Translate(arg2
,arg3
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_Py_Void();
26191 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
= 0;
26193 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 PyObject
* obj2
= 0 ;
26205 char * kwnames
[] = {
26206 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26211 if (!SWIG_IsOK(res1
)) {
26212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26214 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26215 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26216 if (!SWIG_IsOK(ecode2
)) {
26217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26219 arg2
= static_cast< wxDouble
>(val2
);
26220 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26221 if (!SWIG_IsOK(ecode3
)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26224 arg3
= static_cast< wxDouble
>(val3
);
26226 (arg1
)->Scale(arg2
,arg3
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
= 0;
26238 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26244 PyObject
* obj0
= 0 ;
26245 PyObject
* obj1
= 0 ;
26246 char * kwnames
[] = {
26247 (char *) "self",(char *) "angle", NULL
26250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26252 if (!SWIG_IsOK(res1
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26255 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26256 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26257 if (!SWIG_IsOK(ecode2
)) {
26258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26260 arg2
= static_cast< wxDouble
>(val2
);
26262 (arg1
)->Rotate(arg2
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_Py_Void();
26272 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= 0;
26274 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char * kwnames
[] = {
26283 (char *) "self",(char *) "pen", NULL
26286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26291 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26293 if (!SWIG_IsOK(res2
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26299 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26301 (arg1
)->SetPen((wxPen
const &)*arg2
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= SWIG_Py_Void();
26311 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
= 0;
26313 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26314 wxBrush
*arg2
= 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 char * kwnames
[] = {
26322 (char *) "self",(char *) "brush", NULL
26325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26327 if (!SWIG_IsOK(res1
)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26330 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26332 if (!SWIG_IsOK(res2
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26338 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26340 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_Py_Void();
26350 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
= 0;
26352 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26357 wxColour
*arg6
= 0 ;
26358 wxColour
*arg7
= 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 PyObject
* obj2
= 0 ;
26374 PyObject
* obj3
= 0 ;
26375 PyObject
* obj4
= 0 ;
26376 PyObject
* obj5
= 0 ;
26377 PyObject
* obj6
= 0 ;
26378 char * kwnames
[] = {
26379 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26384 if (!SWIG_IsOK(res1
)) {
26385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26387 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26388 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26389 if (!SWIG_IsOK(ecode2
)) {
26390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26392 arg2
= static_cast< wxDouble
>(val2
);
26393 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26394 if (!SWIG_IsOK(ecode3
)) {
26395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26397 arg3
= static_cast< wxDouble
>(val3
);
26398 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26399 if (!SWIG_IsOK(ecode4
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26402 arg4
= static_cast< wxDouble
>(val4
);
26403 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26404 if (!SWIG_IsOK(ecode5
)) {
26405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26407 arg5
= static_cast< wxDouble
>(val5
);
26410 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26414 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26417 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_Py_Void();
26427 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
= 0;
26429 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26435 wxColour
*arg7
= 0 ;
26436 wxColour
*arg8
= 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 PyObject
* obj2
= 0 ;
26454 PyObject
* obj3
= 0 ;
26455 PyObject
* obj4
= 0 ;
26456 PyObject
* obj5
= 0 ;
26457 PyObject
* obj6
= 0 ;
26458 PyObject
* obj7
= 0 ;
26459 char * kwnames
[] = {
26460 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26465 if (!SWIG_IsOK(res1
)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26468 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26469 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26470 if (!SWIG_IsOK(ecode2
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26473 arg2
= static_cast< wxDouble
>(val2
);
26474 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26475 if (!SWIG_IsOK(ecode3
)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26478 arg3
= static_cast< wxDouble
>(val3
);
26479 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26480 if (!SWIG_IsOK(ecode4
)) {
26481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26483 arg4
= static_cast< wxDouble
>(val4
);
26484 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26485 if (!SWIG_IsOK(ecode5
)) {
26486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26488 arg5
= static_cast< wxDouble
>(val5
);
26489 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26490 if (!SWIG_IsOK(ecode6
)) {
26491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26493 arg6
= static_cast< wxDouble
>(val6
);
26496 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26500 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26503 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_Py_Void();
26513 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
= 0;
26515 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 char * kwnames
[] = {
26524 (char *) "self",(char *) "font", NULL
26527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26532 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26534 if (!SWIG_IsOK(res2
)) {
26535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26540 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26542 (arg1
)->SetFont((wxFont
const &)*arg2
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26552 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= 0;
26554 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26555 wxColour
*arg2
= 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 char * kwnames
[] = {
26562 (char *) "self",(char *) "col", NULL
26565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26567 if (!SWIG_IsOK(res1
)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26576 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_Py_Void();
26586 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
= 0;
26588 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26589 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 char * kwnames
[] = {
26597 (char *) "self",(char *) "path", NULL
26600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26602 if (!SWIG_IsOK(res1
)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26605 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26607 if (!SWIG_IsOK(res2
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26610 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26612 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= SWIG_Py_Void();
26622 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
= 0;
26624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26625 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26626 int arg3
= (int) wxWINDING_RULE
;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 PyObject
* obj2
= 0 ;
26636 char * kwnames
[] = {
26637 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26645 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26647 if (!SWIG_IsOK(res2
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26650 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26653 if (!SWIG_IsOK(ecode3
)) {
26654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26656 arg3
= static_cast< int >(val3
);
26659 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= SWIG_Py_Void();
26669 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
= 0;
26671 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26672 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26673 int arg3
= (int) wxWINDING_RULE
;
26680 PyObject
* obj0
= 0 ;
26681 PyObject
* obj1
= 0 ;
26682 PyObject
* obj2
= 0 ;
26683 char * kwnames
[] = {
26684 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26689 if (!SWIG_IsOK(res1
)) {
26690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26692 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26694 if (!SWIG_IsOK(res2
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26697 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26700 if (!SWIG_IsOK(ecode3
)) {
26701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26703 arg3
= static_cast< int >(val3
);
26706 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
= 0;
26718 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26719 wxString
*arg2
= 0 ;
26724 bool temp2
= false ;
26729 PyObject
* obj0
= 0 ;
26730 PyObject
* obj1
= 0 ;
26731 PyObject
* obj2
= 0 ;
26732 PyObject
* obj3
= 0 ;
26733 char * kwnames
[] = {
26734 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26742 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26744 arg2
= wxString_in_helper(obj1
);
26745 if (arg2
== NULL
) SWIG_fail
;
26748 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26749 if (!SWIG_IsOK(ecode3
)) {
26750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26752 arg3
= static_cast< wxDouble
>(val3
);
26753 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26754 if (!SWIG_IsOK(ecode4
)) {
26755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26757 arg4
= static_cast< wxDouble
>(val4
);
26759 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= SWIG_Py_Void();
26777 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26780 wxString
*arg2
= 0 ;
26786 bool temp2
= false ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 PyObject
* obj2
= 0 ;
26796 PyObject
* obj3
= 0 ;
26797 PyObject
* obj4
= 0 ;
26798 char * kwnames
[] = {
26799 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26807 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26809 arg2
= wxString_in_helper(obj1
);
26810 if (arg2
== NULL
) SWIG_fail
;
26813 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26814 if (!SWIG_IsOK(ecode3
)) {
26815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26817 arg3
= static_cast< wxDouble
>(val3
);
26818 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26819 if (!SWIG_IsOK(ecode4
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26822 arg4
= static_cast< wxDouble
>(val4
);
26823 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26824 if (!SWIG_IsOK(ecode5
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26827 arg5
= static_cast< wxDouble
>(val5
);
26829 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_Py_Void();
26847 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
= 0;
26849 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26850 wxString
*arg2
= 0 ;
26851 wxDouble
*arg3
= (wxDouble
*) 0 ;
26852 wxDouble
*arg4
= (wxDouble
*) 0 ;
26853 wxDouble
*arg5
= (wxDouble
*) 0 ;
26854 wxDouble
*arg6
= (wxDouble
*) 0 ;
26857 bool temp2
= false ;
26859 int res3
= SWIG_TMPOBJ
;
26861 int res4
= SWIG_TMPOBJ
;
26863 int res5
= SWIG_TMPOBJ
;
26865 int res6
= SWIG_TMPOBJ
;
26866 PyObject
* obj0
= 0 ;
26867 PyObject
* obj1
= 0 ;
26868 char * kwnames
[] = {
26869 (char *) "self",(char *) "text", NULL
26876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26878 if (!SWIG_IsOK(res1
)) {
26879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26881 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26883 arg2
= wxString_in_helper(obj1
);
26884 if (arg2
== NULL
) SWIG_fail
;
26888 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_Py_Void();
26892 if (SWIG_IsTmpObj(res3
)) {
26893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26898 if (SWIG_IsTmpObj(res4
)) {
26899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26901 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26904 if (SWIG_IsTmpObj(res5
)) {
26905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26907 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26910 if (SWIG_IsTmpObj(res6
)) {
26911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26913 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26930 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
= 0;
26932 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26933 wxString
*arg2
= 0 ;
26934 wxArrayDouble result
;
26937 bool temp2
= false ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char * kwnames
[] = {
26941 (char *) "self",(char *) "text", NULL
26944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26949 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26951 arg2
= wxString_in_helper(obj1
);
26952 if (arg2
== NULL
) SWIG_fail
;
26956 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= wxArrayDouble2PyList_helper(result
);
26976 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26979 wxBitmap
*arg2
= 0 ;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 PyObject
* obj2
= 0 ;
26999 PyObject
* obj3
= 0 ;
27000 PyObject
* obj4
= 0 ;
27001 PyObject
* obj5
= 0 ;
27002 char * kwnames
[] = {
27003 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27008 if (!SWIG_IsOK(res1
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27011 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27013 if (!SWIG_IsOK(res2
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27019 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27020 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27021 if (!SWIG_IsOK(ecode3
)) {
27022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
27024 arg3
= static_cast< wxDouble
>(val3
);
27025 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27026 if (!SWIG_IsOK(ecode4
)) {
27027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
27029 arg4
= static_cast< wxDouble
>(val4
);
27030 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27031 if (!SWIG_IsOK(ecode5
)) {
27032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
27034 arg5
= static_cast< wxDouble
>(val5
);
27035 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27036 if (!SWIG_IsOK(ecode6
)) {
27037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
27039 arg6
= static_cast< wxDouble
>(val6
);
27041 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_Py_Void();
27051 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
= 0;
27053 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 PyObject
* obj2
= 0 ;
27074 PyObject
* obj3
= 0 ;
27075 PyObject
* obj4
= 0 ;
27076 PyObject
* obj5
= 0 ;
27077 char * kwnames
[] = {
27078 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27083 if (!SWIG_IsOK(res1
)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27088 if (!SWIG_IsOK(res2
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27094 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27096 if (!SWIG_IsOK(ecode3
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
27099 arg3
= static_cast< wxDouble
>(val3
);
27100 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27101 if (!SWIG_IsOK(ecode4
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
27104 arg4
= static_cast< wxDouble
>(val4
);
27105 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27106 if (!SWIG_IsOK(ecode5
)) {
27107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
27109 arg5
= static_cast< wxDouble
>(val5
);
27110 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27111 if (!SWIG_IsOK(ecode6
)) {
27112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
27114 arg6
= static_cast< wxDouble
>(val6
);
27116 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_Py_Void();
27126 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= 0;
27128 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 PyObject
* obj2
= 0 ;
27146 PyObject
* obj3
= 0 ;
27147 PyObject
* obj4
= 0 ;
27148 char * kwnames
[] = {
27149 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27154 if (!SWIG_IsOK(res1
)) {
27155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27157 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27158 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27159 if (!SWIG_IsOK(ecode2
)) {
27160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
27162 arg2
= static_cast< wxDouble
>(val2
);
27163 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27164 if (!SWIG_IsOK(ecode3
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
27167 arg3
= static_cast< wxDouble
>(val3
);
27168 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27169 if (!SWIG_IsOK(ecode4
)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
27172 arg4
= static_cast< wxDouble
>(val4
);
27173 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27174 if (!SWIG_IsOK(ecode5
)) {
27175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
27177 arg5
= static_cast< wxDouble
>(val5
);
27179 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= SWIG_Py_Void();
27189 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
= 0;
27191 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27193 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 PyObject
* obj1
= 0 ;
27198 char * kwnames
[] = {
27199 (char *) "self",(char *) "points", NULL
27202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27204 if (!SWIG_IsOK(res1
)) {
27205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27207 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27209 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27210 if (arg3
== NULL
) SWIG_fail
;
27213 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_Py_Void();
27218 if (arg3
) delete [] arg3
;
27223 if (arg3
) delete [] arg3
;
27229 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
= 0;
27231 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27232 PyObject
*arg2
= (PyObject
*) 0 ;
27233 PyObject
*arg3
= (PyObject
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 PyObject
* obj2
= 0 ;
27239 char * kwnames
[] = {
27240 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
27243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27245 if (!SWIG_IsOK(res1
)) {
27246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27248 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27252 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_Py_Void();
27262 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
= 0;
27264 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27266 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27267 int arg4
= (int) wxWINDING_RULE
;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 PyObject
* obj2
= 0 ;
27275 char * kwnames
[] = {
27276 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27281 if (!SWIG_IsOK(res1
)) {
27282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27286 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27287 if (arg3
== NULL
) SWIG_fail
;
27290 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27291 if (!SWIG_IsOK(ecode4
)) {
27292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27294 arg4
= static_cast< int >(val4
);
27297 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 resultobj
= SWIG_Py_Void();
27302 if (arg3
) delete [] arg3
;
27307 if (arg3
) delete [] arg3
;
27313 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
= 0;
27315 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 PyObject
* obj2
= 0 ;
27333 PyObject
* obj3
= 0 ;
27334 PyObject
* obj4
= 0 ;
27335 char * kwnames
[] = {
27336 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27341 if (!SWIG_IsOK(res1
)) {
27342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27344 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27345 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27346 if (!SWIG_IsOK(ecode2
)) {
27347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27349 arg2
= static_cast< wxDouble
>(val2
);
27350 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27351 if (!SWIG_IsOK(ecode3
)) {
27352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27354 arg3
= static_cast< wxDouble
>(val3
);
27355 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27356 if (!SWIG_IsOK(ecode4
)) {
27357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27359 arg4
= static_cast< wxDouble
>(val4
);
27360 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27361 if (!SWIG_IsOK(ecode5
)) {
27362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27364 arg5
= static_cast< wxDouble
>(val5
);
27366 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_Py_Void();
27376 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
= 0;
27378 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 PyObject
* obj3
= 0 ;
27397 PyObject
* obj4
= 0 ;
27398 char * kwnames
[] = {
27399 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27407 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27408 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27409 if (!SWIG_IsOK(ecode2
)) {
27410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27412 arg2
= static_cast< wxDouble
>(val2
);
27413 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27414 if (!SWIG_IsOK(ecode3
)) {
27415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27417 arg3
= static_cast< wxDouble
>(val3
);
27418 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27419 if (!SWIG_IsOK(ecode4
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27422 arg4
= static_cast< wxDouble
>(val4
);
27423 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27424 if (!SWIG_IsOK(ecode5
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27427 arg5
= static_cast< wxDouble
>(val5
);
27429 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_Py_Void();
27439 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
= 0;
27441 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 PyObject
* obj2
= 0 ;
27462 PyObject
* obj3
= 0 ;
27463 PyObject
* obj4
= 0 ;
27464 PyObject
* obj5
= 0 ;
27465 char * kwnames
[] = {
27466 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27474 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27475 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27476 if (!SWIG_IsOK(ecode2
)) {
27477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27479 arg2
= static_cast< wxDouble
>(val2
);
27480 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27481 if (!SWIG_IsOK(ecode3
)) {
27482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27484 arg3
= static_cast< wxDouble
>(val3
);
27485 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27486 if (!SWIG_IsOK(ecode4
)) {
27487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27489 arg4
= static_cast< wxDouble
>(val4
);
27490 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27491 if (!SWIG_IsOK(ecode5
)) {
27492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27494 arg5
= static_cast< wxDouble
>(val5
);
27495 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27496 if (!SWIG_IsOK(ecode6
)) {
27497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27499 arg6
= static_cast< wxDouble
>(val6
);
27501 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_Py_Void();
27511 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27514 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27515 return SWIG_Py_Void();
27518 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= 0;
27520 wxWindowDC
*arg1
= 0 ;
27521 wxGCDC
*result
= 0 ;
27524 PyObject
* obj0
= 0 ;
27525 char * kwnames
[] = {
27526 (char *) "dc", NULL
27529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27530 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27531 if (!SWIG_IsOK(res1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27537 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27539 if (!wxPyCheckForApp()) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27552 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27553 PyObject
*resultobj
= 0;
27554 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27557 PyObject
*swig_obj
[1] ;
27559 if (!args
) SWIG_fail
;
27560 swig_obj
[0] = args
;
27561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27562 if (!SWIG_IsOK(res1
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27565 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= SWIG_Py_Void();
27578 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27581 wxGraphicsContext
*result
= 0 ;
27584 PyObject
*swig_obj
[1] ;
27586 if (!args
) SWIG_fail
;
27587 swig_obj
[0] = args
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27592 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27594 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27604 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
= 0;
27606 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27607 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj1
= 0 ;
27614 char * kwnames
[] = {
27615 (char *) "self",(char *) "ctx", NULL
27618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27620 if (!SWIG_IsOK(res1
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27623 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27625 if (!SWIG_IsOK(res2
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
27628 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
27630 (arg1
)->SetGraphicsContext(arg2
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= SWIG_Py_Void();
27640 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27643 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27644 return SWIG_Py_Void();
27647 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27648 return SWIG_Python_InitShadowInstance(args
);
27651 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27652 PyObject
*resultobj
= 0;
27653 wxOverlay
*result
= 0 ;
27655 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 result
= (wxOverlay
*)new wxOverlay();
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27669 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27670 PyObject
*resultobj
= 0;
27671 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27674 PyObject
*swig_obj
[1] ;
27676 if (!args
) SWIG_fail
;
27677 swig_obj
[0] = args
;
27678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27682 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= SWIG_Py_Void();
27697 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27698 PyObject
*resultobj
= 0;
27699 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27702 PyObject
*swig_obj
[1] ;
27704 if (!args
) SWIG_fail
;
27705 swig_obj
[0] = args
;
27706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27707 if (!SWIG_IsOK(res1
)) {
27708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27710 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_Py_Void();
27724 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27727 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27728 return SWIG_Py_Void();
27731 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27732 return SWIG_Python_InitShadowInstance(args
);
27735 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27736 PyObject
*resultobj
= 0;
27737 wxOverlay
*arg1
= 0 ;
27738 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27743 wxDCOverlay
*result
= 0 ;
27757 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27765 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27766 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27767 if (!SWIG_IsOK(res2
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27770 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27771 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27772 if (!SWIG_IsOK(ecode3
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27775 arg3
= static_cast< int >(val3
);
27776 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27777 if (!SWIG_IsOK(ecode4
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27780 arg4
= static_cast< int >(val4
);
27781 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27782 if (!SWIG_IsOK(ecode5
)) {
27783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27785 arg5
= static_cast< int >(val5
);
27786 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27787 if (!SWIG_IsOK(ecode6
)) {
27788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27790 arg6
= static_cast< int >(val6
);
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27804 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27805 PyObject
*resultobj
= 0;
27806 wxOverlay
*arg1
= 0 ;
27807 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27808 wxDCOverlay
*result
= 0 ;
27814 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27822 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27823 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27824 if (!SWIG_IsOK(res2
)) {
27825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27827 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27841 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27845 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27848 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27851 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27855 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27860 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27861 PyObject
*resultobj
= 0;
27862 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27873 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_Py_Void();
27888 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27889 PyObject
*resultobj
= 0;
27890 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27893 PyObject
*swig_obj
[1] ;
27895 if (!args
) SWIG_fail
;
27896 swig_obj
[0] = args
;
27897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27898 if (!SWIG_IsOK(res1
)) {
27899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27901 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27918 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27919 return SWIG_Py_Void();
27922 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27923 return SWIG_Python_InitShadowInstance(args
);
27926 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
= 0;
27930 int arg3
= (int) true ;
27931 int arg4
= (int) 1 ;
27932 wxImageList
*result
= 0 ;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 PyObject
* obj2
= 0 ;
27944 PyObject
* obj3
= 0 ;
27945 char * kwnames
[] = {
27946 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27950 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27951 if (!SWIG_IsOK(ecode1
)) {
27952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27954 arg1
= static_cast< int >(val1
);
27955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27956 if (!SWIG_IsOK(ecode2
)) {
27957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27959 arg2
= static_cast< int >(val2
);
27961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27962 if (!SWIG_IsOK(ecode3
)) {
27963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27965 arg3
= static_cast< int >(val3
);
27968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27969 if (!SWIG_IsOK(ecode4
)) {
27970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27972 arg4
= static_cast< int >(val4
);
27975 if (!wxPyCheckForApp()) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27988 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxImageList
*arg1
= (wxImageList
*) 0 ;
27993 PyObject
*swig_obj
[1] ;
27995 if (!args
) SWIG_fail
;
27996 swig_obj
[0] = args
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
28001 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= SWIG_Py_Void();
28016 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
= 0;
28018 wxImageList
*arg1
= (wxImageList
*) 0 ;
28019 wxBitmap
*arg2
= 0 ;
28020 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28021 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 PyObject
* obj2
= 0 ;
28032 char * kwnames
[] = {
28033 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
28036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
28041 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28043 if (!SWIG_IsOK(res2
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28049 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28051 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28052 if (!SWIG_IsOK(res3
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28058 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_From_int(static_cast< int >(result
));
28073 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28074 PyObject
*resultobj
= 0;
28075 wxImageList
*arg1
= (wxImageList
*) 0 ;
28076 wxBitmap
*arg2
= 0 ;
28077 wxColour
*arg3
= 0 ;
28084 PyObject
* obj0
= 0 ;
28085 PyObject
* obj1
= 0 ;
28086 PyObject
* obj2
= 0 ;
28087 char * kwnames
[] = {
28088 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
28091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28093 if (!SWIG_IsOK(res1
)) {
28094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
28096 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28098 if (!SWIG_IsOK(res2
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28104 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28107 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_From_int(static_cast< int >(result
));
28122 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 wxImageList
*arg1
= (wxImageList
*) 0 ;
28131 PyObject
* obj0
= 0 ;
28132 PyObject
* obj1
= 0 ;
28133 char * kwnames
[] = {
28134 (char *) "self",(char *) "icon", NULL
28137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
28142 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
28144 if (!SWIG_IsOK(res2
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28150 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28157 resultobj
= SWIG_From_int(static_cast< int >(result
));
28164 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28165 PyObject
*resultobj
= 0;
28166 wxImageList
*arg1
= (wxImageList
*) 0 ;
28168 SwigValueWrapper
<wxBitmap
> result
;
28173 PyObject
* obj0
= 0 ;
28174 PyObject
* obj1
= 0 ;
28175 char * kwnames
[] = {
28176 (char *) "self",(char *) "index", NULL
28179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
28184 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28186 if (!SWIG_IsOK(ecode2
)) {
28187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
28189 arg2
= static_cast< int >(val2
);
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
28203 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28204 PyObject
*resultobj
= 0;
28205 wxImageList
*arg1
= (wxImageList
*) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 PyObject
* obj1
= 0 ;
28214 char * kwnames
[] = {
28215 (char *) "self",(char *) "index", NULL
28218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28220 if (!SWIG_IsOK(res1
)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
28223 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28225 if (!SWIG_IsOK(ecode2
)) {
28226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
28228 arg2
= static_cast< int >(val2
);
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
28242 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
= 0;
28244 wxImageList
*arg1
= (wxImageList
*) 0 ;
28246 wxBitmap
*arg3
= 0 ;
28247 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
28248 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
28258 PyObject
* obj0
= 0 ;
28259 PyObject
* obj1
= 0 ;
28260 PyObject
* obj2
= 0 ;
28261 PyObject
* obj3
= 0 ;
28262 char * kwnames
[] = {
28263 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
28266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28268 if (!SWIG_IsOK(res1
)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
28271 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28273 if (!SWIG_IsOK(ecode2
)) {
28274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
28276 arg2
= static_cast< int >(val2
);
28277 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28278 if (!SWIG_IsOK(res3
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28284 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28286 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28287 if (!SWIG_IsOK(res4
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28293 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28310 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
= 0;
28312 wxImageList
*arg1
= (wxImageList
*) 0 ;
28317 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28318 bool arg7
= (bool) (bool)false ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 PyObject
* obj2
= 0 ;
28337 PyObject
* obj3
= 0 ;
28338 PyObject
* obj4
= 0 ;
28339 PyObject
* obj5
= 0 ;
28340 PyObject
* obj6
= 0 ;
28341 char * kwnames
[] = {
28342 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28347 if (!SWIG_IsOK(res1
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28350 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28352 if (!SWIG_IsOK(ecode2
)) {
28353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28355 arg2
= static_cast< int >(val2
);
28356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28357 if (!SWIG_IsOK(res3
)) {
28358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28363 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28365 if (!SWIG_IsOK(ecode4
)) {
28366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28368 arg4
= static_cast< int >(val4
);
28369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28370 if (!SWIG_IsOK(ecode5
)) {
28371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28373 arg5
= static_cast< int >(val5
);
28375 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28376 if (!SWIG_IsOK(ecode6
)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28379 arg6
= static_cast< int >(val6
);
28382 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28383 if (!SWIG_IsOK(ecode7
)) {
28384 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28386 arg7
= static_cast< bool >(val7
);
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28403 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28404 PyObject
*resultobj
= 0;
28405 wxImageList
*arg1
= (wxImageList
*) 0 ;
28409 PyObject
*swig_obj
[1] ;
28411 if (!args
) SWIG_fail
;
28412 swig_obj
[0] = args
;
28413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28417 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= (int)(arg1
)->GetImageCount();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= SWIG_From_int(static_cast< int >(result
));
28431 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
= 0;
28433 wxImageList
*arg1
= (wxImageList
*) 0 ;
28440 PyObject
* obj0
= 0 ;
28441 PyObject
* obj1
= 0 ;
28442 char * kwnames
[] = {
28443 (char *) "self",(char *) "index", NULL
28446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28451 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28453 if (!SWIG_IsOK(ecode2
)) {
28454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28456 arg2
= static_cast< int >(val2
);
28458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28459 result
= (bool)(arg1
)->Remove(arg2
);
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28472 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28473 PyObject
*resultobj
= 0;
28474 wxImageList
*arg1
= (wxImageList
*) 0 ;
28478 PyObject
*swig_obj
[1] ;
28480 if (!args
) SWIG_fail
;
28481 swig_obj
[0] = args
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28486 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (bool)(arg1
)->RemoveAll();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28502 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= 0;
28504 wxImageList
*arg1
= (wxImageList
*) 0 ;
28513 int res3
= SWIG_TMPOBJ
;
28515 int res4
= SWIG_TMPOBJ
;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 char * kwnames
[] = {
28519 (char *) "self",(char *) "index", NULL
28524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28526 if (!SWIG_IsOK(res1
)) {
28527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28529 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28531 if (!SWIG_IsOK(ecode2
)) {
28532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28534 arg2
= static_cast< int >(val2
);
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= SWIG_Py_Void();
28542 if (SWIG_IsTmpObj(res3
)) {
28543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28545 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28548 if (SWIG_IsTmpObj(res4
)) {
28549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28551 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28560 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28563 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28564 return SWIG_Py_Void();
28567 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 return SWIG_Python_InitShadowInstance(args
);
28571 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28572 PyObject
*resultobj
= 0;
28573 wxStockGDI
*result
= 0 ;
28575 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28578 result
= (wxStockGDI
*)new wxStockGDI();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28589 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28590 PyObject
*resultobj
= 0;
28591 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28594 PyObject
*swig_obj
[1] ;
28596 if (!args
) SWIG_fail
;
28597 swig_obj
[0] = args
;
28598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28599 if (!SWIG_IsOK(res1
)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28602 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= SWIG_Py_Void();
28617 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28618 PyObject
*resultobj
= 0;
28620 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 wxStockGDI::DeleteAll();
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= SWIG_Py_Void();
28634 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 PyObject
*resultobj
= 0;
28636 wxStockGDI
*result
= 0 ;
28638 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28643 result
= (wxStockGDI
*) &_result_ref
;
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28655 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
= 0;
28657 wxStockGDI::Item arg1
;
28658 wxBrush
*result
= 0 ;
28661 PyObject
* obj0
= 0 ;
28662 char * kwnames
[] = {
28663 (char *) "item", NULL
28666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28667 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28668 if (!SWIG_IsOK(ecode1
)) {
28669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28671 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28685 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28686 PyObject
*resultobj
= 0;
28687 wxStockGDI::Item arg1
;
28688 wxColour
*result
= 0 ;
28691 PyObject
* obj0
= 0 ;
28692 char * kwnames
[] = {
28693 (char *) "item", NULL
28696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28698 if (!SWIG_IsOK(ecode1
)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28701 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28715 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= 0;
28717 wxStockGDI::Item arg1
;
28718 wxCursor
*result
= 0 ;
28721 PyObject
* obj0
= 0 ;
28722 char * kwnames
[] = {
28723 (char *) "item", NULL
28726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28728 if (!SWIG_IsOK(ecode1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28731 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28745 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
= 0;
28747 wxStockGDI::Item arg1
;
28748 wxPen
*result
= 0 ;
28751 PyObject
* obj0
= 0 ;
28752 char * kwnames
[] = {
28753 (char *) "item", NULL
28756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28757 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28758 if (!SWIG_IsOK(ecode1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28761 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28775 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
= 0;
28777 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28778 wxStockGDI::Item arg2
;
28779 wxFont
*result
= 0 ;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 char * kwnames
[] = {
28787 (char *) "self",(char *) "item", NULL
28790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28792 if (!SWIG_IsOK(res1
)) {
28793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28795 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28797 if (!SWIG_IsOK(ecode2
)) {
28798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28800 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28814 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28817 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28818 return SWIG_Py_Void();
28821 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28822 return SWIG_Python_InitShadowInstance(args
);
28825 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28826 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28831 SWIGINTERN PyObject
*NullBitmap_get(void) {
28832 PyObject
*pyobj
= 0;
28834 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28839 SWIGINTERN
int NullIcon_set(PyObject
*) {
28840 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28845 SWIGINTERN PyObject
*NullIcon_get(void) {
28846 PyObject
*pyobj
= 0;
28848 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28853 SWIGINTERN
int NullCursor_set(PyObject
*) {
28854 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28859 SWIGINTERN PyObject
*NullCursor_get(void) {
28860 PyObject
*pyobj
= 0;
28862 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28867 SWIGINTERN
int NullPen_set(PyObject
*) {
28868 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28873 SWIGINTERN PyObject
*NullPen_get(void) {
28874 PyObject
*pyobj
= 0;
28876 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28881 SWIGINTERN
int NullBrush_set(PyObject
*) {
28882 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28887 SWIGINTERN PyObject
*NullBrush_get(void) {
28888 PyObject
*pyobj
= 0;
28890 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28895 SWIGINTERN
int NullPalette_set(PyObject
*) {
28896 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28901 SWIGINTERN PyObject
*NullPalette_get(void) {
28902 PyObject
*pyobj
= 0;
28904 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28909 SWIGINTERN
int NullFont_set(PyObject
*) {
28910 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28915 SWIGINTERN PyObject
*NullFont_get(void) {
28916 PyObject
*pyobj
= 0;
28918 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28923 SWIGINTERN
int NullColour_set(PyObject
*) {
28924 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28929 SWIGINTERN PyObject
*NullColour_get(void) {
28930 PyObject
*pyobj
= 0;
28932 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28937 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28938 PyObject
*resultobj
= 0;
28939 wxGDIObjListBase
*result
= 0 ;
28941 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28955 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28956 PyObject
*resultobj
= 0;
28957 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28960 PyObject
*swig_obj
[1] ;
28962 if (!args
) SWIG_fail
;
28963 swig_obj
[0] = args
;
28964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28965 if (!SWIG_IsOK(res1
)) {
28966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28968 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= SWIG_Py_Void();
28983 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28986 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28987 return SWIG_Py_Void();
28990 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28991 return SWIG_Python_InitShadowInstance(args
);
28994 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
= 0;
28996 wxPenList
*arg1
= (wxPenList
*) 0 ;
28997 wxColour
*arg2
= 0 ;
29000 wxPen
*result
= 0 ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 PyObject
* obj3
= 0 ;
29012 char * kwnames
[] = {
29013 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
29016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29018 if (!SWIG_IsOK(res1
)) {
29019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29021 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29027 if (!SWIG_IsOK(ecode3
)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
29030 arg3
= static_cast< int >(val3
);
29031 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29032 if (!SWIG_IsOK(ecode4
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
29035 arg4
= static_cast< int >(val4
);
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
29049 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= 0;
29051 wxPenList
*arg1
= (wxPenList
*) 0 ;
29052 wxPen
*arg2
= (wxPen
*) 0 ;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 char * kwnames
[] = {
29060 (char *) "self",(char *) "pen", NULL
29063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
29068 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29070 if (!SWIG_IsOK(res2
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
29073 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 (arg1
)->AddPen(arg2
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= SWIG_Py_Void();
29087 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
= 0;
29089 wxPenList
*arg1
= (wxPenList
*) 0 ;
29090 wxPen
*arg2
= (wxPen
*) 0 ;
29095 PyObject
* obj0
= 0 ;
29096 PyObject
* obj1
= 0 ;
29097 char * kwnames
[] = {
29098 (char *) "self",(char *) "pen", NULL
29101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29103 if (!SWIG_IsOK(res1
)) {
29104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29106 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29108 if (!SWIG_IsOK(res2
)) {
29109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
29111 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 (arg1
)->RemovePen(arg2
);
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_Py_Void();
29125 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29128 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
29129 return SWIG_Py_Void();
29132 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
= 0;
29134 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29135 wxColour
*arg2
= 0 ;
29136 int arg3
= (int) wxSOLID
;
29137 wxBrush
*result
= 0 ;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 PyObject
* obj2
= 0 ;
29146 char * kwnames
[] = {
29147 (char *) "self",(char *) "colour",(char *) "style", NULL
29150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29152 if (!SWIG_IsOK(res1
)) {
29153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29155 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29162 if (!SWIG_IsOK(ecode3
)) {
29163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
29165 arg3
= static_cast< int >(val3
);
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
29180 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
= 0;
29182 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29183 wxBrush
*arg2
= (wxBrush
*) 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "brush", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29199 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29201 if (!SWIG_IsOK(res2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29204 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 (arg1
)->AddBrush(arg2
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
= 0;
29220 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29221 wxBrush
*arg2
= (wxBrush
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "brush", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29237 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29239 if (!SWIG_IsOK(res2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29242 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 (arg1
)->RemoveBrush(arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_Py_Void();
29256 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29259 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
29260 return SWIG_Py_Void();
29263 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
= 0;
29265 wxFontList
*arg1
= (wxFontList
*) 0 ;
29270 bool arg6
= (bool) false ;
29271 wxString
const &arg7_defvalue
= wxPyEmptyString
;
29272 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29273 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
29274 wxFont
*result
= 0 ;
29287 bool temp7
= false ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 PyObject
* obj2
= 0 ;
29293 PyObject
* obj3
= 0 ;
29294 PyObject
* obj4
= 0 ;
29295 PyObject
* obj5
= 0 ;
29296 PyObject
* obj6
= 0 ;
29297 PyObject
* obj7
= 0 ;
29298 char * kwnames
[] = {
29299 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29304 if (!SWIG_IsOK(res1
)) {
29305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29307 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29309 if (!SWIG_IsOK(ecode2
)) {
29310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29312 arg2
= static_cast< int >(val2
);
29313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29314 if (!SWIG_IsOK(ecode3
)) {
29315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29317 arg3
= static_cast< int >(val3
);
29318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29319 if (!SWIG_IsOK(ecode4
)) {
29320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29322 arg4
= static_cast< int >(val4
);
29323 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29324 if (!SWIG_IsOK(ecode5
)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29327 arg5
= static_cast< int >(val5
);
29329 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29330 if (!SWIG_IsOK(ecode6
)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29333 arg6
= static_cast< bool >(val6
);
29337 arg7
= wxString_in_helper(obj6
);
29338 if (arg7
== NULL
) SWIG_fail
;
29343 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29344 if (!SWIG_IsOK(ecode8
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29347 arg8
= static_cast< wxFontEncoding
>(val8
);
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29352 wxPyEndAllowThreads(__tstate
);
29353 if (PyErr_Occurred()) SWIG_fail
;
29355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29370 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
= 0;
29372 wxFontList
*arg1
= (wxFontList
*) 0 ;
29373 wxFont
*arg2
= (wxFont
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "font", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29389 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29391 if (!SWIG_IsOK(res2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29394 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 (arg1
)->AddFont(arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_Py_Void();
29408 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxFontList
*arg1
= (wxFontList
*) 0 ;
29411 wxFont
*arg2
= (wxFont
*) 0 ;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 char * kwnames
[] = {
29419 (char *) "self",(char *) "font", NULL
29422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29424 if (!SWIG_IsOK(res1
)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29427 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29429 if (!SWIG_IsOK(res2
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29432 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 (arg1
)->RemoveFont(arg2
);
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29439 resultobj
= SWIG_Py_Void();
29446 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29449 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29450 return SWIG_Py_Void();
29453 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29454 PyObject
*resultobj
= 0;
29455 wxColourDatabase
*result
= 0 ;
29457 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29459 if (!wxPyCheckForApp()) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (wxColourDatabase
*)new wxColourDatabase();
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29472 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29473 PyObject
*resultobj
= 0;
29474 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29477 PyObject
*swig_obj
[1] ;
29479 if (!args
) SWIG_fail
;
29480 swig_obj
[0] = args
;
29481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29485 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= SWIG_Py_Void();
29500 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= 0;
29502 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29503 wxString
*arg2
= 0 ;
29507 bool temp2
= false ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 char * kwnames
[] = {
29511 (char *) "self",(char *) "name", NULL
29514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29516 if (!SWIG_IsOK(res1
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29519 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29521 arg2
= wxString_in_helper(obj1
);
29522 if (arg2
== NULL
) SWIG_fail
;
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29546 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29547 PyObject
*resultobj
= 0;
29548 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29549 wxColour
*arg2
= 0 ;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 char * kwnames
[] = {
29557 (char *) "self",(char *) "colour", NULL
29560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29565 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29589 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
= 0;
29591 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29592 wxString
*arg2
= 0 ;
29593 wxColour
*arg3
= 0 ;
29596 bool temp2
= false ;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 PyObject
* obj2
= 0 ;
29601 char * kwnames
[] = {
29602 (char *) "self",(char *) "name",(char *) "colour", NULL
29605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29607 if (!SWIG_IsOK(res1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29610 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29612 arg2
= wxString_in_helper(obj1
);
29613 if (arg2
== NULL
) SWIG_fail
;
29618 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= SWIG_Py_Void();
29641 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
= 0;
29643 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29644 wxString
*arg2
= 0 ;
29650 bool temp2
= false ;
29657 PyObject
* obj0
= 0 ;
29658 PyObject
* obj1
= 0 ;
29659 PyObject
* obj2
= 0 ;
29660 PyObject
* obj3
= 0 ;
29661 PyObject
* obj4
= 0 ;
29662 char * kwnames
[] = {
29663 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29671 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29673 arg2
= wxString_in_helper(obj1
);
29674 if (arg2
== NULL
) SWIG_fail
;
29677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29678 if (!SWIG_IsOK(ecode3
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29681 arg3
= static_cast< int >(val3
);
29682 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29683 if (!SWIG_IsOK(ecode4
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29686 arg4
= static_cast< int >(val4
);
29687 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29688 if (!SWIG_IsOK(ecode5
)) {
29689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29691 arg5
= static_cast< int >(val5
);
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 resultobj
= SWIG_Py_Void();
29713 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29716 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29717 return SWIG_Py_Void();
29720 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29721 return SWIG_Python_InitShadowInstance(args
);
29724 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29725 PyObject
*resultobj
= 0;
29726 wxFontList
*result
= 0 ;
29728 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (wxFontList
*)_wxPyInitTheFontList();
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29742 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29743 PyObject
*resultobj
= 0;
29744 wxPenList
*result
= 0 ;
29746 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= (wxPenList
*)_wxPyInitThePenList();
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29760 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29761 PyObject
*resultobj
= 0;
29762 wxBrushList
*result
= 0 ;
29764 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29778 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29779 PyObject
*resultobj
= 0;
29780 wxColourDatabase
*result
= 0 ;
29782 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29796 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29797 PyObject
*resultobj
= 0;
29798 wxEffects
*result
= 0 ;
29800 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (wxEffects
*)new wxEffects();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29814 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxEffects
*arg1
= (wxEffects
*) 0 ;
29820 PyObject
*swig_obj
[1] ;
29822 if (!args
) SWIG_fail
;
29823 swig_obj
[0] = args
;
29824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29828 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29842 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29843 PyObject
*resultobj
= 0;
29844 wxEffects
*arg1
= (wxEffects
*) 0 ;
29848 PyObject
*swig_obj
[1] ;
29850 if (!args
) SWIG_fail
;
29851 swig_obj
[0] = args
;
29852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29856 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29870 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29871 PyObject
*resultobj
= 0;
29872 wxEffects
*arg1
= (wxEffects
*) 0 ;
29876 PyObject
*swig_obj
[1] ;
29878 if (!args
) SWIG_fail
;
29879 swig_obj
[0] = args
;
29880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29884 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29898 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29899 PyObject
*resultobj
= 0;
29900 wxEffects
*arg1
= (wxEffects
*) 0 ;
29904 PyObject
*swig_obj
[1] ;
29906 if (!args
) SWIG_fail
;
29907 swig_obj
[0] = args
;
29908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29909 if (!SWIG_IsOK(res1
)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29912 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29926 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxEffects
*arg1
= (wxEffects
*) 0 ;
29932 PyObject
*swig_obj
[1] ;
29934 if (!args
) SWIG_fail
;
29935 swig_obj
[0] = args
;
29936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29940 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29954 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
= 0;
29956 wxEffects
*arg1
= (wxEffects
*) 0 ;
29957 wxColour
*arg2
= 0 ;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 char * kwnames
[] = {
29964 (char *) "self",(char *) "c", NULL
29967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29969 if (!SWIG_IsOK(res1
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29972 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29975 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= SWIG_Py_Void();
29990 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
= 0;
29992 wxEffects
*arg1
= (wxEffects
*) 0 ;
29993 wxColour
*arg2
= 0 ;
29997 PyObject
* obj0
= 0 ;
29998 PyObject
* obj1
= 0 ;
29999 char * kwnames
[] = {
30000 (char *) "self",(char *) "c", NULL
30003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30005 if (!SWIG_IsOK(res1
)) {
30006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30008 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= SWIG_Py_Void();
30026 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
= 0;
30028 wxEffects
*arg1
= (wxEffects
*) 0 ;
30029 wxColour
*arg2
= 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char * kwnames
[] = {
30036 (char *) "self",(char *) "c", NULL
30039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
30044 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= SWIG_Py_Void();
30062 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxEffects
*arg1
= (wxEffects
*) 0 ;
30065 wxColour
*arg2
= 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 char * kwnames
[] = {
30072 (char *) "self",(char *) "c", NULL
30075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30077 if (!SWIG_IsOK(res1
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30080 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_Py_Void();
30098 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
= 0;
30100 wxEffects
*arg1
= (wxEffects
*) 0 ;
30101 wxColour
*arg2
= 0 ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 char * kwnames
[] = {
30108 (char *) "self",(char *) "c", NULL
30111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30113 if (!SWIG_IsOK(res1
)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30116 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_Py_Void();
30134 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30135 PyObject
*resultobj
= 0;
30136 wxEffects
*arg1
= (wxEffects
*) 0 ;
30137 wxColour
*arg2
= 0 ;
30138 wxColour
*arg3
= 0 ;
30139 wxColour
*arg4
= 0 ;
30140 wxColour
*arg5
= 0 ;
30141 wxColour
*arg6
= 0 ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 PyObject
* obj3
= 0 ;
30153 PyObject
* obj4
= 0 ;
30154 PyObject
* obj5
= 0 ;
30155 char * kwnames
[] = {
30156 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
30159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30161 if (!SWIG_IsOK(res1
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
30164 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30171 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30175 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
30179 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
30183 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= SWIG_Py_Void();
30198 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30199 PyObject
*resultobj
= 0;
30200 wxEffects
*arg1
= (wxEffects
*) 0 ;
30203 int arg4
= (int) 1 ;
30211 PyObject
* obj0
= 0 ;
30212 PyObject
* obj1
= 0 ;
30213 PyObject
* obj2
= 0 ;
30214 PyObject
* obj3
= 0 ;
30215 char * kwnames
[] = {
30216 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
30219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
30224 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
30226 if (!SWIG_IsOK(res2
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30232 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30235 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30239 if (!SWIG_IsOK(ecode4
)) {
30240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
30242 arg4
= static_cast< int >(val4
);
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= SWIG_Py_Void();
30257 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
= 0;
30259 wxEffects
*arg1
= (wxEffects
*) 0 ;
30262 wxBitmap
*arg4
= 0 ;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 PyObject
* obj2
= 0 ;
30274 PyObject
* obj3
= 0 ;
30275 char * kwnames
[] = {
30276 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
30279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30281 if (!SWIG_IsOK(res1
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30284 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30287 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30290 if (!SWIG_IsOK(res3
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30296 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30297 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30298 if (!SWIG_IsOK(res4
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30304 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30320 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30323 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30324 return SWIG_Py_Void();
30327 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30328 return SWIG_Python_InitShadowInstance(args
);
30331 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
= 0;
30336 wxSplitterRenderParams
*result
= 0 ;
30343 PyObject
* obj0
= 0 ;
30344 PyObject
* obj1
= 0 ;
30345 PyObject
* obj2
= 0 ;
30346 char * kwnames
[] = {
30347 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30352 if (!SWIG_IsOK(ecode1
)) {
30353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30355 arg1
= static_cast< int >(val1
);
30356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30357 if (!SWIG_IsOK(ecode2
)) {
30358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30360 arg2
= static_cast< int >(val2
);
30361 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30362 if (!SWIG_IsOK(ecode3
)) {
30363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30365 arg3
= static_cast< bool >(val3
);
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30379 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30380 PyObject
*resultobj
= 0;
30381 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30384 PyObject
*swig_obj
[1] ;
30386 if (!args
) SWIG_fail
;
30387 swig_obj
[0] = args
;
30388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30392 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_Py_Void();
30407 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30408 PyObject
*resultobj
= 0;
30409 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30413 PyObject
*swig_obj
[1] ;
30415 if (!args
) SWIG_fail
;
30416 swig_obj
[0] = args
;
30417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30421 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30422 result
= (int)(int) ((arg1
)->widthSash
);
30423 resultobj
= SWIG_From_int(static_cast< int >(result
));
30430 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30431 PyObject
*resultobj
= 0;
30432 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30436 PyObject
*swig_obj
[1] ;
30438 if (!args
) SWIG_fail
;
30439 swig_obj
[0] = args
;
30440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30441 if (!SWIG_IsOK(res1
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30444 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30445 result
= (int)(int) ((arg1
)->border
);
30446 resultobj
= SWIG_From_int(static_cast< int >(result
));
30453 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30454 PyObject
*resultobj
= 0;
30455 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30459 PyObject
*swig_obj
[1] ;
30461 if (!args
) SWIG_fail
;
30462 swig_obj
[0] = args
;
30463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30464 if (!SWIG_IsOK(res1
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30467 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30468 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30469 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30476 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30479 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30480 return SWIG_Py_Void();
30483 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30484 return SWIG_Python_InitShadowInstance(args
);
30487 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30488 PyObject
*resultobj
= 0;
30489 wxHeaderButtonParams
*result
= 0 ;
30491 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30505 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30506 PyObject
*resultobj
= 0;
30507 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30510 PyObject
*swig_obj
[1] ;
30512 if (!args
) SWIG_fail
;
30513 swig_obj
[0] = args
;
30514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30518 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= SWIG_Py_Void();
30533 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 PyObject
*resultobj
= 0;
30535 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30536 wxColour
*arg2
= (wxColour
*) 0 ;
30540 PyObject
*swig_obj
[2] ;
30542 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30547 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30550 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30552 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30554 resultobj
= SWIG_Py_Void();
30561 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30562 PyObject
*resultobj
= 0;
30563 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30564 wxColour
*result
= 0 ;
30567 PyObject
*swig_obj
[1] ;
30569 if (!args
) SWIG_fail
;
30570 swig_obj
[0] = args
;
30571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30572 if (!SWIG_IsOK(res1
)) {
30573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30575 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30576 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30584 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30585 PyObject
*resultobj
= 0;
30586 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30587 wxColour
*arg2
= (wxColour
*) 0 ;
30591 PyObject
*swig_obj
[2] ;
30593 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30598 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30601 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30603 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30605 resultobj
= SWIG_Py_Void();
30612 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30613 PyObject
*resultobj
= 0;
30614 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30615 wxColour
*result
= 0 ;
30618 PyObject
*swig_obj
[1] ;
30620 if (!args
) SWIG_fail
;
30621 swig_obj
[0] = args
;
30622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30626 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30627 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30635 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30636 PyObject
*resultobj
= 0;
30637 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30638 wxString
*arg2
= (wxString
*) 0 ;
30641 bool temp2
= false ;
30642 PyObject
*swig_obj
[2] ;
30644 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30646 if (!SWIG_IsOK(res1
)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30649 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30651 arg2
= wxString_in_helper(swig_obj
[1]);
30652 if (arg2
== NULL
) SWIG_fail
;
30655 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30657 resultobj
= SWIG_Py_Void();
30672 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30673 PyObject
*resultobj
= 0;
30674 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30675 wxString
*result
= 0 ;
30678 PyObject
*swig_obj
[1] ;
30680 if (!args
) SWIG_fail
;
30681 swig_obj
[0] = args
;
30682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30683 if (!SWIG_IsOK(res1
)) {
30684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30686 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30687 result
= (wxString
*)& ((arg1
)->m_labelText
);
30690 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30692 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30701 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30702 PyObject
*resultobj
= 0;
30703 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30704 wxFont
*arg2
= (wxFont
*) 0 ;
30709 PyObject
*swig_obj
[2] ;
30711 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30716 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30717 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30718 if (!SWIG_IsOK(res2
)) {
30719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30721 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30722 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30724 resultobj
= SWIG_Py_Void();
30731 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30732 PyObject
*resultobj
= 0;
30733 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30734 wxFont
*result
= 0 ;
30737 PyObject
*swig_obj
[1] ;
30739 if (!args
) SWIG_fail
;
30740 swig_obj
[0] = args
;
30741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30745 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30746 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30754 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 PyObject
*resultobj
= 0;
30756 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30757 wxColour
*arg2
= (wxColour
*) 0 ;
30761 PyObject
*swig_obj
[2] ;
30763 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30768 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30771 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30773 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30775 resultobj
= SWIG_Py_Void();
30782 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30783 PyObject
*resultobj
= 0;
30784 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30785 wxColour
*result
= 0 ;
30788 PyObject
*swig_obj
[1] ;
30790 if (!args
) SWIG_fail
;
30791 swig_obj
[0] = args
;
30792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30796 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30797 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30805 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30806 PyObject
*resultobj
= 0;
30807 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30808 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30813 PyObject
*swig_obj
[2] ;
30815 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30817 if (!SWIG_IsOK(res1
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30820 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30821 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30822 if (!SWIG_IsOK(res2
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30825 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30826 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30828 resultobj
= SWIG_Py_Void();
30835 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30836 PyObject
*resultobj
= 0;
30837 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30838 wxBitmap
*result
= 0 ;
30841 PyObject
*swig_obj
[1] ;
30843 if (!args
) SWIG_fail
;
30844 swig_obj
[0] = args
;
30845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30849 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30850 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30858 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30859 PyObject
*resultobj
= 0;
30860 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30866 PyObject
*swig_obj
[2] ;
30868 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30870 if (!SWIG_IsOK(res1
)) {
30871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30873 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30874 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30875 if (!SWIG_IsOK(ecode2
)) {
30876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30878 arg2
= static_cast< int >(val2
);
30879 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30881 resultobj
= SWIG_Py_Void();
30888 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30889 PyObject
*resultobj
= 0;
30890 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30894 PyObject
*swig_obj
[1] ;
30896 if (!args
) SWIG_fail
;
30897 swig_obj
[0] = args
;
30898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30899 if (!SWIG_IsOK(res1
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30902 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30903 result
= (int) ((arg1
)->m_labelAlignment
);
30904 resultobj
= SWIG_From_int(static_cast< int >(result
));
30911 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30914 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30915 return SWIG_Py_Void();
30918 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 return SWIG_Python_InitShadowInstance(args
);
30922 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
= 0;
30926 wxRendererVersion
*result
= 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char * kwnames
[] = {
30934 (char *) "version_",(char *) "age_", NULL
30937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30938 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30939 if (!SWIG_IsOK(ecode1
)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30942 arg1
= static_cast< int >(val1
);
30943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30944 if (!SWIG_IsOK(ecode2
)) {
30945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30947 arg2
= static_cast< int >(val2
);
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30961 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30962 PyObject
*resultobj
= 0;
30963 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30966 PyObject
*swig_obj
[1] ;
30968 if (!args
) SWIG_fail
;
30969 swig_obj
[0] = args
;
30970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30971 if (!SWIG_IsOK(res1
)) {
30972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30974 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= SWIG_Py_Void();
30989 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
= 0;
30991 wxRendererVersion
*arg1
= 0 ;
30995 PyObject
* obj0
= 0 ;
30996 char * kwnames
[] = {
30997 (char *) "ver", NULL
31000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
31001 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
31002 if (!SWIG_IsOK(res1
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
31006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
31008 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31024 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31025 PyObject
*resultobj
= 0;
31026 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31030 PyObject
*swig_obj
[1] ;
31032 if (!args
) SWIG_fail
;
31033 swig_obj
[0] = args
;
31034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31035 if (!SWIG_IsOK(res1
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31038 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31039 result
= (int)(int) ((arg1
)->version
);
31040 resultobj
= SWIG_From_int(static_cast< int >(result
));
31047 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31048 PyObject
*resultobj
= 0;
31049 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31053 PyObject
*swig_obj
[1] ;
31055 if (!args
) SWIG_fail
;
31056 swig_obj
[0] = args
;
31057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31061 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31062 result
= (int)(int) ((arg1
)->age
);
31063 resultobj
= SWIG_From_int(static_cast< int >(result
));
31070 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31073 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
31074 return SWIG_Py_Void();
31077 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31078 return SWIG_Python_InitShadowInstance(args
);
31081 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
= 0;
31083 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31084 wxWindow
*arg2
= (wxWindow
*) 0 ;
31087 int arg5
= (int) 0 ;
31088 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31089 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31103 PyObject
* obj0
= 0 ;
31104 PyObject
* obj1
= 0 ;
31105 PyObject
* obj2
= 0 ;
31106 PyObject
* obj3
= 0 ;
31107 PyObject
* obj4
= 0 ;
31108 PyObject
* obj5
= 0 ;
31109 PyObject
* obj6
= 0 ;
31110 char * kwnames
[] = {
31111 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31119 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31121 if (!SWIG_IsOK(res2
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31125 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31126 if (!SWIG_IsOK(res3
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31132 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31135 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31139 if (!SWIG_IsOK(ecode5
)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
31142 arg5
= static_cast< int >(val5
);
31145 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31146 if (!SWIG_IsOK(ecode6
)) {
31147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31149 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31152 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31153 if (!SWIG_IsOK(res7
)) {
31154 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31156 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_Py_Void();
31171 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
= 0;
31173 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31174 wxWindow
*arg2
= (wxWindow
*) 0 ;
31177 int arg5
= (int) 0 ;
31178 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31179 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 PyObject
* obj2
= 0 ;
31196 PyObject
* obj3
= 0 ;
31197 PyObject
* obj4
= 0 ;
31198 PyObject
* obj5
= 0 ;
31199 PyObject
* obj6
= 0 ;
31200 char * kwnames
[] = {
31201 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31206 if (!SWIG_IsOK(res1
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31209 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31211 if (!SWIG_IsOK(res2
)) {
31212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
31214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31215 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31216 if (!SWIG_IsOK(res3
)) {
31217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31222 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31225 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31229 if (!SWIG_IsOK(ecode5
)) {
31230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
31232 arg5
= static_cast< int >(val5
);
31235 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31236 if (!SWIG_IsOK(ecode6
)) {
31237 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31239 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31242 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31243 if (!SWIG_IsOK(res7
)) {
31244 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31246 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= SWIG_Py_Void();
31261 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
= 0;
31263 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31264 wxWindow
*arg2
= (wxWindow
*) 0 ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char * kwnames
[] = {
31273 (char *) "self",(char *) "win", NULL
31276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31278 if (!SWIG_IsOK(res1
)) {
31279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31281 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31283 if (!SWIG_IsOK(res2
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= SWIG_From_int(static_cast< int >(result
));
31300 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
= 0;
31302 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31303 wxWindow
*arg2
= (wxWindow
*) 0 ;
31306 int arg5
= (int) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 PyObject
* obj2
= 0 ;
31319 PyObject
* obj3
= 0 ;
31320 PyObject
* obj4
= 0 ;
31321 char * kwnames
[] = {
31322 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31327 if (!SWIG_IsOK(res1
)) {
31328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31330 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31332 if (!SWIG_IsOK(res2
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31335 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31336 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31337 if (!SWIG_IsOK(res3
)) {
31338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31343 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31346 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31350 if (!SWIG_IsOK(ecode5
)) {
31351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31353 arg5
= static_cast< int >(val5
);
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= SWIG_Py_Void();
31368 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31369 PyObject
*resultobj
= 0;
31370 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31371 wxWindow
*arg2
= (wxWindow
*) 0 ;
31374 int arg5
= (int) 0 ;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 PyObject
* obj2
= 0 ;
31387 PyObject
* obj3
= 0 ;
31388 PyObject
* obj4
= 0 ;
31389 char * kwnames
[] = {
31390 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31395 if (!SWIG_IsOK(res1
)) {
31396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31398 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31400 if (!SWIG_IsOK(res2
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31405 if (!SWIG_IsOK(res3
)) {
31406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31411 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31414 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31418 if (!SWIG_IsOK(ecode5
)) {
31419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31421 arg5
= static_cast< int >(val5
);
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= SWIG_Py_Void();
31436 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31437 PyObject
*resultobj
= 0;
31438 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31439 wxWindow
*arg2
= (wxWindow
*) 0 ;
31443 wxOrientation arg6
;
31444 int arg7
= (int) 0 ;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 PyObject
* obj2
= 0 ;
31461 PyObject
* obj3
= 0 ;
31462 PyObject
* obj4
= 0 ;
31463 PyObject
* obj5
= 0 ;
31464 PyObject
* obj6
= 0 ;
31465 char * kwnames
[] = {
31466 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31471 if (!SWIG_IsOK(res1
)) {
31472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31474 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31476 if (!SWIG_IsOK(res2
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31479 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31480 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31481 if (!SWIG_IsOK(res3
)) {
31482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31487 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31492 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31493 if (!SWIG_IsOK(ecode5
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31496 arg5
= static_cast< int >(val5
);
31497 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31498 if (!SWIG_IsOK(ecode6
)) {
31499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31501 arg6
= static_cast< wxOrientation
>(val6
);
31503 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31504 if (!SWIG_IsOK(ecode7
)) {
31505 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31507 arg7
= static_cast< int >(val7
);
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31512 wxPyEndAllowThreads(__tstate
);
31513 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= SWIG_Py_Void();
31522 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31525 wxWindow
*arg2
= (wxWindow
*) 0 ;
31528 int arg5
= (int) 0 ;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 PyObject
* obj2
= 0 ;
31541 PyObject
* obj3
= 0 ;
31542 PyObject
* obj4
= 0 ;
31543 char * kwnames
[] = {
31544 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31549 if (!SWIG_IsOK(res1
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31552 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31554 if (!SWIG_IsOK(res2
)) {
31555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31558 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31559 if (!SWIG_IsOK(res3
)) {
31560 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31565 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31568 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31571 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31572 if (!SWIG_IsOK(ecode5
)) {
31573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31575 arg5
= static_cast< int >(val5
);
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 resultobj
= SWIG_Py_Void();
31590 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
= 0;
31592 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31593 wxWindow
*arg2
= (wxWindow
*) 0 ;
31596 int arg5
= (int) 0 ;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 PyObject
* obj2
= 0 ;
31609 PyObject
* obj3
= 0 ;
31610 PyObject
* obj4
= 0 ;
31611 char * kwnames
[] = {
31612 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31617 if (!SWIG_IsOK(res1
)) {
31618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31620 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31622 if (!SWIG_IsOK(res2
)) {
31623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31625 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31626 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31627 if (!SWIG_IsOK(res3
)) {
31628 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31633 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31636 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31639 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31640 if (!SWIG_IsOK(ecode5
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31643 arg5
= static_cast< int >(val5
);
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 resultobj
= SWIG_Py_Void();
31658 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
= 0;
31660 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31661 wxWindow
*arg2
= (wxWindow
*) 0 ;
31664 int arg5
= (int) 0 ;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 PyObject
* obj2
= 0 ;
31677 PyObject
* obj3
= 0 ;
31678 PyObject
* obj4
= 0 ;
31679 char * kwnames
[] = {
31680 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31688 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31690 if (!SWIG_IsOK(res2
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31693 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31694 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31695 if (!SWIG_IsOK(res3
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31701 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31704 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31708 if (!SWIG_IsOK(ecode5
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31711 arg5
= static_cast< int >(val5
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31729 wxWindow
*arg2
= (wxWindow
*) 0 ;
31732 int arg5
= (int) 0 ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 PyObject
* obj2
= 0 ;
31745 PyObject
* obj3
= 0 ;
31746 PyObject
* obj4
= 0 ;
31747 char * kwnames
[] = {
31748 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31753 if (!SWIG_IsOK(res1
)) {
31754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31756 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31758 if (!SWIG_IsOK(res2
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31761 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31762 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31763 if (!SWIG_IsOK(res3
)) {
31764 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31769 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31772 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31776 if (!SWIG_IsOK(ecode5
)) {
31777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31779 arg5
= static_cast< int >(val5
);
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= SWIG_Py_Void();
31794 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31797 wxWindow
*arg2
= (wxWindow
*) 0 ;
31800 int arg5
= (int) 0 ;
31810 PyObject
* obj0
= 0 ;
31811 PyObject
* obj1
= 0 ;
31812 PyObject
* obj2
= 0 ;
31813 PyObject
* obj3
= 0 ;
31814 PyObject
* obj4
= 0 ;
31815 char * kwnames
[] = {
31816 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31821 if (!SWIG_IsOK(res1
)) {
31822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31824 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31826 if (!SWIG_IsOK(res2
)) {
31827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31830 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31831 if (!SWIG_IsOK(res3
)) {
31832 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31837 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31840 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31844 if (!SWIG_IsOK(ecode5
)) {
31845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31847 arg5
= static_cast< int >(val5
);
31850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31851 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 resultobj
= SWIG_Py_Void();
31862 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
= 0;
31864 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31865 wxWindow
*arg2
= (wxWindow
*) 0 ;
31866 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31871 PyObject
* obj0
= 0 ;
31872 PyObject
* obj1
= 0 ;
31873 char * kwnames
[] = {
31874 (char *) "self",(char *) "win", NULL
31877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31879 if (!SWIG_IsOK(res1
)) {
31880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31882 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31884 if (!SWIG_IsOK(res2
)) {
31885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31901 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31902 PyObject
*resultobj
= 0;
31903 wxRendererNative
*result
= 0 ;
31905 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31907 if (!wxPyCheckForApp()) SWIG_fail
;
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31911 result
= (wxRendererNative
*) &_result_ref
;
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31923 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31924 PyObject
*resultobj
= 0;
31925 wxRendererNative
*result
= 0 ;
31927 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31929 if (!wxPyCheckForApp()) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31933 result
= (wxRendererNative
*) &_result_ref
;
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31945 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31946 PyObject
*resultobj
= 0;
31947 wxRendererNative
*result
= 0 ;
31949 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31951 if (!wxPyCheckForApp()) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31955 result
= (wxRendererNative
*) &_result_ref
;
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31967 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31968 PyObject
*resultobj
= 0;
31969 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31970 wxRendererNative
*result
= 0 ;
31973 PyObject
* obj0
= 0 ;
31974 char * kwnames
[] = {
31975 (char *) "renderer", NULL
31978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31980 if (!SWIG_IsOK(res1
)) {
31981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31983 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31985 if (!wxPyCheckForApp()) SWIG_fail
;
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31998 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31999 PyObject
*resultobj
= 0;
32000 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
32001 SwigValueWrapper
<wxRendererVersion
> result
;
32004 PyObject
*swig_obj
[1] ;
32006 if (!args
) SWIG_fail
;
32007 swig_obj
[0] = args
;
32008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
32009 if (!SWIG_IsOK(res1
)) {
32010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
32012 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
32026 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32029 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
32030 return SWIG_Py_Void();
32033 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32034 PyObject
*resultobj
= 0;
32035 wxPseudoDC
*result
= 0 ;
32037 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (wxPseudoDC
*)new wxPseudoDC();
32041 wxPyEndAllowThreads(__tstate
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
32051 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32052 PyObject
*resultobj
= 0;
32053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32056 PyObject
*swig_obj
[1] ;
32058 if (!args
) SWIG_fail
;
32059 swig_obj
[0] = args
;
32060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32061 if (!SWIG_IsOK(res1
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32064 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 (arg1
)->BeginDrawing();
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= SWIG_Py_Void();
32078 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 PyObject
*resultobj
= 0;
32080 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32083 PyObject
*swig_obj
[1] ;
32085 if (!args
) SWIG_fail
;
32086 swig_obj
[0] = args
;
32087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32088 if (!SWIG_IsOK(res1
)) {
32089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 (arg1
)->EndDrawing();
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 resultobj
= SWIG_Py_Void();
32105 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32106 PyObject
*resultobj
= 0;
32107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32110 PyObject
*swig_obj
[1] ;
32112 if (!args
) SWIG_fail
;
32113 swig_obj
[0] = args
;
32114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
32115 if (!SWIG_IsOK(res1
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 wxPyEndAllowThreads(__tstate
);
32124 if (PyErr_Occurred()) SWIG_fail
;
32126 resultobj
= SWIG_Py_Void();
32133 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32134 PyObject
*resultobj
= 0;
32135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32138 PyObject
*swig_obj
[1] ;
32140 if (!args
) SWIG_fail
;
32141 swig_obj
[0] = args
;
32142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32143 if (!SWIG_IsOK(res1
)) {
32144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 (arg1
)->RemoveAll();
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 resultobj
= SWIG_Py_Void();
32160 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32161 PyObject
*resultobj
= 0;
32162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32166 PyObject
*swig_obj
[1] ;
32168 if (!args
) SWIG_fail
;
32169 swig_obj
[0] = args
;
32170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32171 if (!SWIG_IsOK(res1
)) {
32172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32177 result
= (int)(arg1
)->GetLen();
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= SWIG_From_int(static_cast< int >(result
));
32188 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
= 0;
32190 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32196 PyObject
* obj0
= 0 ;
32197 PyObject
* obj1
= 0 ;
32198 char * kwnames
[] = {
32199 (char *) "self",(char *) "id", NULL
32202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32204 if (!SWIG_IsOK(res1
)) {
32205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32209 if (!SWIG_IsOK(ecode2
)) {
32210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
32212 arg2
= static_cast< int >(val2
);
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 (arg1
)->SetId(arg2
);
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= SWIG_Py_Void();
32226 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
= 0;
32228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32234 PyObject
* obj0
= 0 ;
32235 PyObject
* obj1
= 0 ;
32236 char * kwnames
[] = {
32237 (char *) "self",(char *) "id", NULL
32240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32242 if (!SWIG_IsOK(res1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32247 if (!SWIG_IsOK(ecode2
)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
32250 arg2
= static_cast< int >(val2
);
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 (arg1
)->ClearId(arg2
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 resultobj
= SWIG_Py_Void();
32264 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32265 PyObject
*resultobj
= 0;
32266 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 char * kwnames
[] = {
32275 (char *) "self",(char *) "id", NULL
32278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32280 if (!SWIG_IsOK(res1
)) {
32281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32285 if (!SWIG_IsOK(ecode2
)) {
32286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32288 arg2
= static_cast< int >(val2
);
32290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32291 (arg1
)->RemoveId(arg2
);
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_Py_Void();
32302 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
= 0;
32304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 PyObject
* obj2
= 0 ;
32319 PyObject
* obj3
= 0 ;
32320 char * kwnames
[] = {
32321 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32326 if (!SWIG_IsOK(res1
)) {
32327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32329 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32331 if (!SWIG_IsOK(ecode2
)) {
32332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32334 arg2
= static_cast< int >(val2
);
32335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32336 if (!SWIG_IsOK(ecode3
)) {
32337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32339 arg3
= static_cast< int >(val3
);
32340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32341 if (!SWIG_IsOK(ecode4
)) {
32342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32344 arg4
= static_cast< int >(val4
);
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= SWIG_Py_Void();
32358 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
= 0;
32360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32362 bool arg3
= (bool) true ;
32369 PyObject
* obj0
= 0 ;
32370 PyObject
* obj1
= 0 ;
32371 PyObject
* obj2
= 0 ;
32372 char * kwnames
[] = {
32373 (char *) "self",(char *) "id",(char *) "greyout", NULL
32376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32378 if (!SWIG_IsOK(res1
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32381 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32383 if (!SWIG_IsOK(ecode2
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32386 arg2
= static_cast< int >(val2
);
32388 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32389 if (!SWIG_IsOK(ecode3
)) {
32390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32392 arg3
= static_cast< bool >(val3
);
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= SWIG_Py_Void();
32407 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
= 0;
32409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 PyObject
* obj1
= 0 ;
32418 char * kwnames
[] = {
32419 (char *) "self",(char *) "id", NULL
32422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32424 if (!SWIG_IsOK(res1
)) {
32425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32427 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32429 if (!SWIG_IsOK(ecode2
)) {
32430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32432 arg2
= static_cast< int >(val2
);
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32436 wxPyEndAllowThreads(__tstate
);
32437 if (PyErr_Occurred()) SWIG_fail
;
32440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32448 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
= 0;
32450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32453 int arg4
= (int) 1 ;
32454 wxColor
const &arg5_defvalue
= *wxWHITE
;
32455 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32456 PyObject
*result
= 0 ;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 PyObject
* obj2
= 0 ;
32470 PyObject
* obj3
= 0 ;
32471 PyObject
* obj4
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32483 if (!SWIG_IsOK(ecode2
)) {
32484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32486 arg2
= static_cast< int >(val2
);
32487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32488 if (!SWIG_IsOK(ecode3
)) {
32489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32491 arg3
= static_cast< int >(val3
);
32493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32494 if (!SWIG_IsOK(ecode4
)) {
32495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32497 arg4
= static_cast< int >(val4
);
32500 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32501 if (!SWIG_IsOK(res5
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32507 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32510 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= result
;
32520 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32521 PyObject
*resultobj
= 0;
32522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32525 PyObject
*result
= 0 ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 PyObject
* obj2
= 0 ;
32535 char * kwnames
[] = {
32536 (char *) "self",(char *) "x",(char *) "y", NULL
32539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32541 if (!SWIG_IsOK(res1
)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32544 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32546 if (!SWIG_IsOK(ecode2
)) {
32547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32549 arg2
= static_cast< int >(val2
);
32550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32551 if (!SWIG_IsOK(ecode3
)) {
32552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32554 arg3
= static_cast< int >(val3
);
32556 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= result
;
32566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32570 wxDC
*arg3
= (wxDC
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 PyObject
* obj2
= 0 ;
32580 char * kwnames
[] = {
32581 (char *) "self",(char *) "id",(char *) "dc", NULL
32584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32586 if (!SWIG_IsOK(res1
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32591 if (!SWIG_IsOK(ecode2
)) {
32592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32594 arg2
= static_cast< int >(val2
);
32595 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32596 if (!SWIG_IsOK(res3
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32599 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 (arg1
)->DrawIdToDC(arg2
,arg3
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= SWIG_Py_Void();
32613 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
= 0;
32615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32623 PyObject
* obj0
= 0 ;
32624 PyObject
* obj1
= 0 ;
32625 PyObject
* obj2
= 0 ;
32626 char * kwnames
[] = {
32627 (char *) "self",(char *) "id",(char *) "rect", NULL
32630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32632 if (!SWIG_IsOK(res1
)) {
32633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32635 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32637 if (!SWIG_IsOK(ecode2
)) {
32638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32640 arg2
= static_cast< int >(val2
);
32643 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32647 (arg1
)->SetIdBounds(arg2
,*arg3
);
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 resultobj
= SWIG_Py_Void();
32658 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
= 0;
32660 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32667 PyObject
* obj0
= 0 ;
32668 PyObject
* obj1
= 0 ;
32669 char * kwnames
[] = {
32670 (char *) "self",(char *) "id", NULL
32673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32675 if (!SWIG_IsOK(res1
)) {
32676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32678 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32680 if (!SWIG_IsOK(ecode2
)) {
32681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32683 arg2
= static_cast< int >(val2
);
32685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32686 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32690 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32697 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= 0;
32699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32700 wxDC
*arg2
= (wxDC
*) 0 ;
32707 PyObject
* obj0
= 0 ;
32708 PyObject
* obj1
= 0 ;
32709 PyObject
* obj2
= 0 ;
32710 char * kwnames
[] = {
32711 (char *) "self",(char *) "dc",(char *) "rect", NULL
32714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32716 if (!SWIG_IsOK(res1
)) {
32717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32721 if (!SWIG_IsOK(res2
)) {
32722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32724 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32727 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= SWIG_Py_Void();
32742 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32743 PyObject
*resultobj
= 0;
32744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32745 wxDC
*arg2
= (wxDC
*) 0 ;
32746 wxRegion
*arg3
= 0 ;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 PyObject
* obj2
= 0 ;
32756 char * kwnames
[] = {
32757 (char *) "self",(char *) "dc",(char *) "region", NULL
32760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32762 if (!SWIG_IsOK(res1
)) {
32763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32767 if (!SWIG_IsOK(res2
)) {
32768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32770 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32771 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32772 if (!SWIG_IsOK(res3
)) {
32773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32778 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= SWIG_Py_Void();
32792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32793 PyObject
*resultobj
= 0;
32794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32795 wxDC
*arg2
= (wxDC
*) 0 ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char * kwnames
[] = {
32803 (char *) "self",(char *) "dc", NULL
32806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32808 if (!SWIG_IsOK(res1
)) {
32809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32813 if (!SWIG_IsOK(res2
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32816 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 (arg1
)->DrawToDC(arg2
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_Py_Void();
32830 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
= 0;
32832 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32835 wxColour
*arg4
= 0 ;
32836 int arg5
= (int) wxFLOOD_SURFACE
;
32846 PyObject
* obj0
= 0 ;
32847 PyObject
* obj1
= 0 ;
32848 PyObject
* obj2
= 0 ;
32849 PyObject
* obj3
= 0 ;
32850 PyObject
* obj4
= 0 ;
32851 char * kwnames
[] = {
32852 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32857 if (!SWIG_IsOK(res1
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32862 if (!SWIG_IsOK(ecode2
)) {
32863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32865 arg2
= static_cast< int >(val2
);
32866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32867 if (!SWIG_IsOK(ecode3
)) {
32868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32870 arg3
= static_cast< int >(val3
);
32873 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32877 if (!SWIG_IsOK(ecode5
)) {
32878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32880 arg5
= static_cast< int >(val5
);
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 resultobj
= SWIG_Py_Void();
32895 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
= 0;
32897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32898 wxPoint
*arg2
= 0 ;
32899 wxColour
*arg3
= 0 ;
32900 int arg4
= (int) wxFLOOD_SURFACE
;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 PyObject
* obj2
= 0 ;
32910 PyObject
* obj3
= 0 ;
32911 char * kwnames
[] = {
32912 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32917 if (!SWIG_IsOK(res1
)) {
32918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32927 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32931 if (!SWIG_IsOK(ecode4
)) {
32932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32934 arg4
= static_cast< int >(val4
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
= 0;
32951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32966 PyObject
* obj0
= 0 ;
32967 PyObject
* obj1
= 0 ;
32968 PyObject
* obj2
= 0 ;
32969 PyObject
* obj3
= 0 ;
32970 PyObject
* obj4
= 0 ;
32971 char * kwnames
[] = {
32972 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32980 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32982 if (!SWIG_IsOK(ecode2
)) {
32983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32985 arg2
= static_cast< int >(val2
);
32986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32987 if (!SWIG_IsOK(ecode3
)) {
32988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32990 arg3
= static_cast< int >(val3
);
32991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32992 if (!SWIG_IsOK(ecode4
)) {
32993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32995 arg4
= static_cast< int >(val4
);
32996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32997 if (!SWIG_IsOK(ecode5
)) {
32998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
33000 arg5
= static_cast< int >(val5
);
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_Py_Void();
33014 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
= 0;
33016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33017 wxPoint
*arg2
= 0 ;
33018 wxPoint
*arg3
= 0 ;
33023 PyObject
* obj0
= 0 ;
33024 PyObject
* obj1
= 0 ;
33025 PyObject
* obj2
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= SWIG_Py_Void();
33057 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
= 0;
33059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 PyObject
* obj2
= 0 ;
33071 char * kwnames
[] = {
33072 (char *) "self",(char *) "x",(char *) "y", NULL
33075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33077 if (!SWIG_IsOK(res1
)) {
33078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33082 if (!SWIG_IsOK(ecode2
)) {
33083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
33085 arg2
= static_cast< int >(val2
);
33086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33087 if (!SWIG_IsOK(ecode3
)) {
33088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
33090 arg3
= static_cast< int >(val3
);
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 (arg1
)->CrossHair(arg2
,arg3
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_Py_Void();
33104 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
= 0;
33106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33107 wxPoint
*arg2
= 0 ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "self",(char *) "pt", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33119 if (!SWIG_IsOK(res1
)) {
33120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
= 0;
33142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 PyObject
* obj2
= 0 ;
33166 PyObject
* obj3
= 0 ;
33167 PyObject
* obj4
= 0 ;
33168 PyObject
* obj5
= 0 ;
33169 PyObject
* obj6
= 0 ;
33170 char * kwnames
[] = {
33171 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
33174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33176 if (!SWIG_IsOK(res1
)) {
33177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33179 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33181 if (!SWIG_IsOK(ecode2
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
33184 arg2
= static_cast< int >(val2
);
33185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33186 if (!SWIG_IsOK(ecode3
)) {
33187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
33189 arg3
= static_cast< int >(val3
);
33190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33191 if (!SWIG_IsOK(ecode4
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
33194 arg4
= static_cast< int >(val4
);
33195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33196 if (!SWIG_IsOK(ecode5
)) {
33197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
33199 arg5
= static_cast< int >(val5
);
33200 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33201 if (!SWIG_IsOK(ecode6
)) {
33202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
33204 arg6
= static_cast< int >(val6
);
33205 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
33206 if (!SWIG_IsOK(ecode7
)) {
33207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
33209 arg7
= static_cast< int >(val7
);
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33212 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33216 resultobj
= SWIG_Py_Void();
33223 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
= 0;
33225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33226 wxPoint
*arg2
= 0 ;
33227 wxPoint
*arg3
= 0 ;
33228 wxPoint
*arg4
= 0 ;
33234 PyObject
* obj0
= 0 ;
33235 PyObject
* obj1
= 0 ;
33236 PyObject
* obj2
= 0 ;
33237 PyObject
* obj3
= 0 ;
33238 char * kwnames
[] = {
33239 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
33242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33244 if (!SWIG_IsOK(res1
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33258 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= SWIG_Py_Void();
33273 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
= 0;
33275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33290 PyObject
* obj0
= 0 ;
33291 PyObject
* obj1
= 0 ;
33292 PyObject
* obj2
= 0 ;
33293 PyObject
* obj3
= 0 ;
33294 PyObject
* obj4
= 0 ;
33295 char * kwnames
[] = {
33296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33301 if (!SWIG_IsOK(res1
)) {
33302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33306 if (!SWIG_IsOK(ecode2
)) {
33307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33309 arg2
= static_cast< int >(val2
);
33310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33311 if (!SWIG_IsOK(ecode3
)) {
33312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33314 arg3
= static_cast< int >(val3
);
33315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33316 if (!SWIG_IsOK(ecode4
)) {
33317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33319 arg4
= static_cast< int >(val4
);
33320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33321 if (!SWIG_IsOK(ecode5
)) {
33322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33324 arg5
= static_cast< int >(val5
);
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33331 resultobj
= SWIG_Py_Void();
33338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33339 PyObject
*resultobj
= 0;
33340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33345 PyObject
* obj0
= 0 ;
33346 PyObject
* obj1
= 0 ;
33347 char * kwnames
[] = {
33348 (char *) "self",(char *) "rect", NULL
33351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33353 if (!SWIG_IsOK(res1
)) {
33354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_Py_Void();
33374 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
= 0;
33376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 PyObject
* obj2
= 0 ;
33400 PyObject
* obj3
= 0 ;
33401 PyObject
* obj4
= 0 ;
33402 PyObject
* obj5
= 0 ;
33403 PyObject
* obj6
= 0 ;
33404 char * kwnames
[] = {
33405 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33410 if (!SWIG_IsOK(res1
)) {
33411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33413 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33415 if (!SWIG_IsOK(ecode2
)) {
33416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33418 arg2
= static_cast< int >(val2
);
33419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33420 if (!SWIG_IsOK(ecode3
)) {
33421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33423 arg3
= static_cast< int >(val3
);
33424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33425 if (!SWIG_IsOK(ecode4
)) {
33426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33428 arg4
= static_cast< int >(val4
);
33429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33430 if (!SWIG_IsOK(ecode5
)) {
33431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33433 arg5
= static_cast< int >(val5
);
33434 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33435 if (!SWIG_IsOK(ecode6
)) {
33436 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33438 arg6
= static_cast< double >(val6
);
33439 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33440 if (!SWIG_IsOK(ecode7
)) {
33441 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33443 arg7
= static_cast< double >(val7
);
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= SWIG_Py_Void();
33457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
= 0;
33459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33460 wxPoint
*arg2
= 0 ;
33472 PyObject
* obj0
= 0 ;
33473 PyObject
* obj1
= 0 ;
33474 PyObject
* obj2
= 0 ;
33475 PyObject
* obj3
= 0 ;
33476 PyObject
* obj4
= 0 ;
33477 char * kwnames
[] = {
33478 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33483 if (!SWIG_IsOK(res1
)) {
33484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33493 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33495 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33496 if (!SWIG_IsOK(ecode4
)) {
33497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33499 arg4
= static_cast< double >(val4
);
33500 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33501 if (!SWIG_IsOK(ecode5
)) {
33502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33504 arg5
= static_cast< double >(val5
);
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33507 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= SWIG_Py_Void();
33518 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
= 0;
33520 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 PyObject
* obj2
= 0 ;
33532 char * kwnames
[] = {
33533 (char *) "self",(char *) "x",(char *) "y", NULL
33536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33538 if (!SWIG_IsOK(res1
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33541 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33543 if (!SWIG_IsOK(ecode2
)) {
33544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33546 arg2
= static_cast< int >(val2
);
33547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33548 if (!SWIG_IsOK(ecode3
)) {
33549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33551 arg3
= static_cast< int >(val3
);
33553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33554 (arg1
)->DrawPoint(arg2
,arg3
);
33555 wxPyEndAllowThreads(__tstate
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33558 resultobj
= SWIG_Py_Void();
33565 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33566 PyObject
*resultobj
= 0;
33567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33568 wxPoint
*arg2
= 0 ;
33572 PyObject
* obj0
= 0 ;
33573 PyObject
* obj1
= 0 ;
33574 char * kwnames
[] = {
33575 (char *) "self",(char *) "pt", NULL
33578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33580 if (!SWIG_IsOK(res1
)) {
33581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= SWIG_Py_Void();
33601 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33602 PyObject
*resultobj
= 0;
33603 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33618 PyObject
* obj0
= 0 ;
33619 PyObject
* obj1
= 0 ;
33620 PyObject
* obj2
= 0 ;
33621 PyObject
* obj3
= 0 ;
33622 PyObject
* obj4
= 0 ;
33623 char * kwnames
[] = {
33624 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33629 if (!SWIG_IsOK(res1
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33634 if (!SWIG_IsOK(ecode2
)) {
33635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33637 arg2
= static_cast< int >(val2
);
33638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33639 if (!SWIG_IsOK(ecode3
)) {
33640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33642 arg3
= static_cast< int >(val3
);
33643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33644 if (!SWIG_IsOK(ecode4
)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33647 arg4
= static_cast< int >(val4
);
33648 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33649 if (!SWIG_IsOK(ecode5
)) {
33650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33652 arg5
= static_cast< int >(val5
);
33654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33655 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33656 wxPyEndAllowThreads(__tstate
);
33657 if (PyErr_Occurred()) SWIG_fail
;
33659 resultobj
= SWIG_Py_Void();
33666 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
= 0;
33668 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 PyObject
* obj1
= 0 ;
33675 char * kwnames
[] = {
33676 (char *) "self",(char *) "rect", NULL
33679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33687 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33691 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33695 resultobj
= SWIG_Py_Void();
33702 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33703 PyObject
*resultobj
= 0;
33704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33705 wxPoint
*arg2
= 0 ;
33711 PyObject
* obj0
= 0 ;
33712 PyObject
* obj1
= 0 ;
33713 PyObject
* obj2
= 0 ;
33714 char * kwnames
[] = {
33715 (char *) "self",(char *) "pt",(char *) "sz", NULL
33718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33720 if (!SWIG_IsOK(res1
)) {
33721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33730 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= SWIG_Py_Void();
33745 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
= 0;
33747 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33765 PyObject
* obj0
= 0 ;
33766 PyObject
* obj1
= 0 ;
33767 PyObject
* obj2
= 0 ;
33768 PyObject
* obj3
= 0 ;
33769 PyObject
* obj4
= 0 ;
33770 PyObject
* obj5
= 0 ;
33771 char * kwnames
[] = {
33772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33777 if (!SWIG_IsOK(res1
)) {
33778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33782 if (!SWIG_IsOK(ecode2
)) {
33783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33785 arg2
= static_cast< int >(val2
);
33786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33787 if (!SWIG_IsOK(ecode3
)) {
33788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33790 arg3
= static_cast< int >(val3
);
33791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33792 if (!SWIG_IsOK(ecode4
)) {
33793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33795 arg4
= static_cast< int >(val4
);
33796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33797 if (!SWIG_IsOK(ecode5
)) {
33798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33800 arg5
= static_cast< int >(val5
);
33801 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33802 if (!SWIG_IsOK(ecode6
)) {
33803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33805 arg6
= static_cast< double >(val6
);
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= SWIG_Py_Void();
33819 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
= 0;
33821 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33829 PyObject
* obj0
= 0 ;
33830 PyObject
* obj1
= 0 ;
33831 PyObject
* obj2
= 0 ;
33832 char * kwnames
[] = {
33833 (char *) "self",(char *) "r",(char *) "radius", NULL
33836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33838 if (!SWIG_IsOK(res1
)) {
33839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33846 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33847 if (!SWIG_IsOK(ecode3
)) {
33848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33850 arg3
= static_cast< double >(val3
);
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_Py_Void();
33864 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
= 0;
33866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33867 wxPoint
*arg2
= 0 ;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 PyObject
* obj2
= 0 ;
33879 PyObject
* obj3
= 0 ;
33880 char * kwnames
[] = {
33881 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33896 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33898 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33899 if (!SWIG_IsOK(ecode4
)) {
33900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33902 arg4
= static_cast< double >(val4
);
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 resultobj
= SWIG_Py_Void();
33916 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33917 PyObject
*resultobj
= 0;
33918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33930 PyObject
* obj0
= 0 ;
33931 PyObject
* obj1
= 0 ;
33932 PyObject
* obj2
= 0 ;
33933 PyObject
* obj3
= 0 ;
33934 char * kwnames
[] = {
33935 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33945 if (!SWIG_IsOK(ecode2
)) {
33946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33948 arg2
= static_cast< int >(val2
);
33949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33950 if (!SWIG_IsOK(ecode3
)) {
33951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33953 arg3
= static_cast< int >(val3
);
33954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33955 if (!SWIG_IsOK(ecode4
)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33958 arg4
= static_cast< int >(val4
);
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_Py_Void();
33972 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
= 0;
33974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33975 wxPoint
*arg2
= 0 ;
33982 PyObject
* obj0
= 0 ;
33983 PyObject
* obj1
= 0 ;
33984 PyObject
* obj2
= 0 ;
33985 char * kwnames
[] = {
33986 (char *) "self",(char *) "pt",(char *) "radius", NULL
33989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33991 if (!SWIG_IsOK(res1
)) {
33992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34000 if (!SWIG_IsOK(ecode3
)) {
34001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
34003 arg3
= static_cast< int >(val3
);
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
34007 wxPyEndAllowThreads(__tstate
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= SWIG_Py_Void();
34017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34018 PyObject
*resultobj
= 0;
34019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34034 PyObject
* obj0
= 0 ;
34035 PyObject
* obj1
= 0 ;
34036 PyObject
* obj2
= 0 ;
34037 PyObject
* obj3
= 0 ;
34038 PyObject
* obj4
= 0 ;
34039 char * kwnames
[] = {
34040 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34050 if (!SWIG_IsOK(ecode2
)) {
34051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
34053 arg2
= static_cast< int >(val2
);
34054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34055 if (!SWIG_IsOK(ecode3
)) {
34056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
34058 arg3
= static_cast< int >(val3
);
34059 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34060 if (!SWIG_IsOK(ecode4
)) {
34061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
34063 arg4
= static_cast< int >(val4
);
34064 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34065 if (!SWIG_IsOK(ecode5
)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
34068 arg5
= static_cast< int >(val5
);
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= SWIG_Py_Void();
34082 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
= 0;
34084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34089 PyObject
* obj0
= 0 ;
34090 PyObject
* obj1
= 0 ;
34091 char * kwnames
[] = {
34092 (char *) "self",(char *) "rect", NULL
34095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34097 if (!SWIG_IsOK(res1
)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34103 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34111 resultobj
= SWIG_Py_Void();
34118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34119 PyObject
*resultobj
= 0;
34120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34121 wxPoint
*arg2
= 0 ;
34127 PyObject
* obj0
= 0 ;
34128 PyObject
* obj1
= 0 ;
34129 PyObject
* obj2
= 0 ;
34130 char * kwnames
[] = {
34131 (char *) "self",(char *) "pt",(char *) "sz", NULL
34134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34136 if (!SWIG_IsOK(res1
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34146 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= SWIG_Py_Void();
34161 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
= 0;
34163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 PyObject
* obj1
= 0 ;
34177 PyObject
* obj2
= 0 ;
34178 PyObject
* obj3
= 0 ;
34179 char * kwnames
[] = {
34180 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
34183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34185 if (!SWIG_IsOK(res1
)) {
34186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34188 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34190 if (!SWIG_IsOK(res2
)) {
34191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34196 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34198 if (!SWIG_IsOK(ecode3
)) {
34199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
34201 arg3
= static_cast< int >(val3
);
34202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34203 if (!SWIG_IsOK(ecode4
)) {
34204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
34206 arg4
= static_cast< int >(val4
);
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= SWIG_Py_Void();
34220 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
= 0;
34222 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34224 wxPoint
*arg3
= 0 ;
34230 PyObject
* obj0
= 0 ;
34231 PyObject
* obj1
= 0 ;
34232 PyObject
* obj2
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "icon",(char *) "pt", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34244 if (!SWIG_IsOK(res2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34250 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34253 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_Py_Void();
34268 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= 0;
34270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34271 wxBitmap
*arg2
= 0 ;
34274 bool arg5
= (bool) false ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 PyObject
* obj2
= 0 ;
34288 PyObject
* obj3
= 0 ;
34289 PyObject
* obj4
= 0 ;
34290 char * kwnames
[] = {
34291 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34296 if (!SWIG_IsOK(res1
)) {
34297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34301 if (!SWIG_IsOK(res2
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34307 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34309 if (!SWIG_IsOK(ecode3
)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34312 arg3
= static_cast< int >(val3
);
34313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34314 if (!SWIG_IsOK(ecode4
)) {
34315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34317 arg4
= static_cast< int >(val4
);
34319 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34320 if (!SWIG_IsOK(ecode5
)) {
34321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34323 arg5
= static_cast< bool >(val5
);
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= SWIG_Py_Void();
34338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
= 0;
34340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34341 wxBitmap
*arg2
= 0 ;
34342 wxPoint
*arg3
= 0 ;
34343 bool arg4
= (bool) false ;
34351 PyObject
* obj0
= 0 ;
34352 PyObject
* obj1
= 0 ;
34353 PyObject
* obj2
= 0 ;
34354 PyObject
* obj3
= 0 ;
34355 char * kwnames
[] = {
34356 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34361 if (!SWIG_IsOK(res1
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34366 if (!SWIG_IsOK(res2
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34372 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34375 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34378 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34379 if (!SWIG_IsOK(ecode4
)) {
34380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34382 arg4
= static_cast< bool >(val4
);
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_Py_Void();
34397 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
= 0;
34399 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34400 wxString
*arg2
= 0 ;
34405 bool temp2
= false ;
34410 PyObject
* obj0
= 0 ;
34411 PyObject
* obj1
= 0 ;
34412 PyObject
* obj2
= 0 ;
34413 PyObject
* obj3
= 0 ;
34414 char * kwnames
[] = {
34415 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34420 if (!SWIG_IsOK(res1
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34423 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34425 arg2
= wxString_in_helper(obj1
);
34426 if (arg2
== NULL
) SWIG_fail
;
34429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34430 if (!SWIG_IsOK(ecode3
)) {
34431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34433 arg3
= static_cast< int >(val3
);
34434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34435 if (!SWIG_IsOK(ecode4
)) {
34436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34438 arg4
= static_cast< int >(val4
);
34440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34441 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34442 wxPyEndAllowThreads(__tstate
);
34443 if (PyErr_Occurred()) SWIG_fail
;
34445 resultobj
= SWIG_Py_Void();
34460 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34461 PyObject
*resultobj
= 0;
34462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34463 wxString
*arg2
= 0 ;
34464 wxPoint
*arg3
= 0 ;
34467 bool temp2
= false ;
34469 PyObject
* obj0
= 0 ;
34470 PyObject
* obj1
= 0 ;
34471 PyObject
* obj2
= 0 ;
34472 char * kwnames
[] = {
34473 (char *) "self",(char *) "text",(char *) "pt", NULL
34476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34478 if (!SWIG_IsOK(res1
)) {
34479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34483 arg2
= wxString_in_helper(obj1
);
34484 if (arg2
== NULL
) SWIG_fail
;
34489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= SWIG_Py_Void();
34512 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
= 0;
34514 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34515 wxString
*arg2
= 0 ;
34521 bool temp2
= false ;
34528 PyObject
* obj0
= 0 ;
34529 PyObject
* obj1
= 0 ;
34530 PyObject
* obj2
= 0 ;
34531 PyObject
* obj3
= 0 ;
34532 PyObject
* obj4
= 0 ;
34533 char * kwnames
[] = {
34534 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34539 if (!SWIG_IsOK(res1
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34544 arg2
= wxString_in_helper(obj1
);
34545 if (arg2
== NULL
) SWIG_fail
;
34548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34549 if (!SWIG_IsOK(ecode3
)) {
34550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34552 arg3
= static_cast< int >(val3
);
34553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34554 if (!SWIG_IsOK(ecode4
)) {
34555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34557 arg4
= static_cast< int >(val4
);
34558 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34559 if (!SWIG_IsOK(ecode5
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34562 arg5
= static_cast< double >(val5
);
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 resultobj
= SWIG_Py_Void();
34584 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34585 PyObject
*resultobj
= 0;
34586 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34587 wxString
*arg2
= 0 ;
34588 wxPoint
*arg3
= 0 ;
34592 bool temp2
= false ;
34596 PyObject
* obj0
= 0 ;
34597 PyObject
* obj1
= 0 ;
34598 PyObject
* obj2
= 0 ;
34599 PyObject
* obj3
= 0 ;
34600 char * kwnames
[] = {
34601 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34606 if (!SWIG_IsOK(res1
)) {
34607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34611 arg2
= wxString_in_helper(obj1
);
34612 if (arg2
== NULL
) SWIG_fail
;
34617 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34619 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34620 if (!SWIG_IsOK(ecode4
)) {
34621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34623 arg4
= static_cast< double >(val4
);
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 resultobj
= SWIG_Py_Void();
34645 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= 0;
34647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34649 wxPoint
*arg3
= (wxPoint
*) 0 ;
34650 int arg4
= (int) 0 ;
34651 int arg5
= (int) 0 ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 PyObject
* obj2
= 0 ;
34661 PyObject
* obj3
= 0 ;
34662 char * kwnames
[] = {
34663 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34668 if (!SWIG_IsOK(res1
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34671 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34673 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34674 if (arg3
== NULL
) SWIG_fail
;
34677 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34678 if (!SWIG_IsOK(ecode4
)) {
34679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34681 arg4
= static_cast< int >(val4
);
34684 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34685 if (!SWIG_IsOK(ecode5
)) {
34686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34688 arg5
= static_cast< int >(val5
);
34691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34692 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34693 wxPyEndAllowThreads(__tstate
);
34694 if (PyErr_Occurred()) SWIG_fail
;
34696 resultobj
= SWIG_Py_Void();
34698 if (arg3
) delete [] arg3
;
34703 if (arg3
) delete [] arg3
;
34709 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
= 0;
34711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34713 wxPoint
*arg3
= (wxPoint
*) 0 ;
34714 int arg4
= (int) 0 ;
34715 int arg5
= (int) 0 ;
34716 int arg6
= (int) wxODDEVEN_RULE
;
34725 PyObject
* obj0
= 0 ;
34726 PyObject
* obj1
= 0 ;
34727 PyObject
* obj2
= 0 ;
34728 PyObject
* obj3
= 0 ;
34729 PyObject
* obj4
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34741 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34742 if (arg3
== NULL
) SWIG_fail
;
34745 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34746 if (!SWIG_IsOK(ecode4
)) {
34747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34749 arg4
= static_cast< int >(val4
);
34752 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34753 if (!SWIG_IsOK(ecode5
)) {
34754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34756 arg5
= static_cast< int >(val5
);
34759 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34760 if (!SWIG_IsOK(ecode6
)) {
34761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34763 arg6
= static_cast< int >(val6
);
34766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34767 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34771 resultobj
= SWIG_Py_Void();
34773 if (arg3
) delete [] arg3
;
34778 if (arg3
) delete [] arg3
;
34784 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
= 0;
34786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34787 wxString
*arg2
= 0 ;
34789 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34790 int arg5
= (int) -1 ;
34793 bool temp2
= false ;
34799 PyObject
* obj0
= 0 ;
34800 PyObject
* obj1
= 0 ;
34801 PyObject
* obj2
= 0 ;
34802 PyObject
* obj3
= 0 ;
34803 PyObject
* obj4
= 0 ;
34804 char * kwnames
[] = {
34805 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34810 if (!SWIG_IsOK(res1
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34815 arg2
= wxString_in_helper(obj1
);
34816 if (arg2
== NULL
) SWIG_fail
;
34821 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34825 if (!SWIG_IsOK(ecode4
)) {
34826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34828 arg4
= static_cast< int >(val4
);
34831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34832 if (!SWIG_IsOK(ecode5
)) {
34833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34835 arg5
= static_cast< int >(val5
);
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 resultobj
= SWIG_Py_Void();
34858 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
= 0;
34860 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34861 wxString
*arg2
= 0 ;
34862 wxBitmap
*arg3
= 0 ;
34864 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34865 int arg6
= (int) -1 ;
34868 bool temp2
= false ;
34876 PyObject
* obj0
= 0 ;
34877 PyObject
* obj1
= 0 ;
34878 PyObject
* obj2
= 0 ;
34879 PyObject
* obj3
= 0 ;
34880 PyObject
* obj4
= 0 ;
34881 PyObject
* obj5
= 0 ;
34882 char * kwnames
[] = {
34883 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34888 if (!SWIG_IsOK(res1
)) {
34889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34893 arg2
= wxString_in_helper(obj1
);
34894 if (arg2
== NULL
) SWIG_fail
;
34897 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34898 if (!SWIG_IsOK(res3
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34904 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34907 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34910 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34911 if (!SWIG_IsOK(ecode5
)) {
34912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34914 arg5
= static_cast< int >(val5
);
34917 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34918 if (!SWIG_IsOK(ecode6
)) {
34919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34921 arg6
= static_cast< int >(val6
);
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= SWIG_Py_Void();
34944 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
= 0;
34946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34948 wxPoint
*arg3
= (wxPoint
*) 0 ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 char * kwnames
[] = {
34954 (char *) "self",(char *) "points", NULL
34957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34959 if (!SWIG_IsOK(res1
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34962 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34964 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34965 if (arg3
== NULL
) SWIG_fail
;
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->DrawSpline(arg2
,arg3
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= SWIG_Py_Void();
34975 if (arg3
) delete [] arg3
;
34980 if (arg3
) delete [] arg3
;
34986 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34987 PyObject
*resultobj
= 0;
34988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34991 PyObject
*swig_obj
[1] ;
34993 if (!args
) SWIG_fail
;
34994 swig_obj
[0] = args
;
34995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34996 if (!SWIG_IsOK(res1
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= SWIG_Py_Void();
35013 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
= 0;
35015 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35021 PyObject
* obj0
= 0 ;
35022 PyObject
* obj1
= 0 ;
35023 char * kwnames
[] = {
35024 (char *) "self",(char *) "font", NULL
35027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35029 if (!SWIG_IsOK(res1
)) {
35030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35034 if (!SWIG_IsOK(res2
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35040 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 (arg1
)->SetFont((wxFont
const &)*arg2
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_Py_Void();
35054 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
= 0;
35056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35062 PyObject
* obj0
= 0 ;
35063 PyObject
* obj1
= 0 ;
35064 char * kwnames
[] = {
35065 (char *) "self",(char *) "pen", NULL
35068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35070 if (!SWIG_IsOK(res1
)) {
35071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
35075 if (!SWIG_IsOK(res2
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35081 arg2
= reinterpret_cast< wxPen
* >(argp2
);
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 (arg1
)->SetPen((wxPen
const &)*arg2
);
35085 wxPyEndAllowThreads(__tstate
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35088 resultobj
= SWIG_Py_Void();
35095 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
= 0;
35097 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35098 wxBrush
*arg2
= 0 ;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 char * kwnames
[] = {
35106 (char *) "self",(char *) "brush", NULL
35109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35114 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35116 if (!SWIG_IsOK(res2
)) {
35117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35122 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= SWIG_Py_Void();
35136 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35139 wxBrush
*arg2
= 0 ;
35144 PyObject
* obj0
= 0 ;
35145 PyObject
* obj1
= 0 ;
35146 char * kwnames
[] = {
35147 (char *) "self",(char *) "brush", NULL
35150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35152 if (!SWIG_IsOK(res1
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35155 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35157 if (!SWIG_IsOK(res2
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35163 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35166 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35170 resultobj
= SWIG_Py_Void();
35177 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35178 PyObject
*resultobj
= 0;
35179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 char * kwnames
[] = {
35188 (char *) "self",(char *) "mode", NULL
35191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35193 if (!SWIG_IsOK(res1
)) {
35194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35198 if (!SWIG_IsOK(ecode2
)) {
35199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
35201 arg2
= static_cast< int >(val2
);
35203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35204 (arg1
)->SetBackgroundMode(arg2
);
35205 wxPyEndAllowThreads(__tstate
);
35206 if (PyErr_Occurred()) SWIG_fail
;
35208 resultobj
= SWIG_Py_Void();
35215 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35216 PyObject
*resultobj
= 0;
35217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35218 wxPalette
*arg2
= 0 ;
35223 PyObject
* obj0
= 0 ;
35224 PyObject
* obj1
= 0 ;
35225 char * kwnames
[] = {
35226 (char *) "self",(char *) "palette", NULL
35229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35231 if (!SWIG_IsOK(res1
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35234 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
35236 if (!SWIG_IsOK(res2
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35242 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35245 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
35246 wxPyEndAllowThreads(__tstate
);
35247 if (PyErr_Occurred()) SWIG_fail
;
35249 resultobj
= SWIG_Py_Void();
35256 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
= 0;
35258 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35259 wxColour
*arg2
= 0 ;
35263 PyObject
* obj0
= 0 ;
35264 PyObject
* obj1
= 0 ;
35265 char * kwnames
[] = {
35266 (char *) "self",(char *) "colour", NULL
35269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35271 if (!SWIG_IsOK(res1
)) {
35272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 resultobj
= SWIG_Py_Void();
35292 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
= 0;
35294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35295 wxColour
*arg2
= 0 ;
35299 PyObject
* obj0
= 0 ;
35300 PyObject
* obj1
= 0 ;
35301 char * kwnames
[] = {
35302 (char *) "self",(char *) "colour", NULL
35305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35307 if (!SWIG_IsOK(res1
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= SWIG_Py_Void();
35328 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
= 0;
35330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35336 PyObject
* obj0
= 0 ;
35337 PyObject
* obj1
= 0 ;
35338 char * kwnames
[] = {
35339 (char *) "self",(char *) "function", NULL
35342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35349 if (!SWIG_IsOK(ecode2
)) {
35350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35352 arg2
= static_cast< int >(val2
);
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 (arg1
)->SetLogicalFunction(arg2
);
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35359 resultobj
= SWIG_Py_Void();
35366 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35369 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35370 return SWIG_Py_Void();
35373 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35374 return SWIG_Python_InitShadowInstance(args
);
35377 static PyMethodDef SwigMethods
[] = {
35378 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35379 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35380 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35381 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35382 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35383 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35387 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35388 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35389 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35390 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35391 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35392 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35397 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35398 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35400 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35401 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35402 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35403 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35405 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35408 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35409 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35410 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35411 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35413 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35414 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35415 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35416 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35417 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35418 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35419 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35426 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35428 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35429 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35433 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35434 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35437 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35441 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35442 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35443 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35444 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35445 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35446 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35447 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35449 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35455 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35457 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35458 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35459 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35460 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35461 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35462 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35463 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35469 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35479 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35480 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35484 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35485 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35486 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35487 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35488 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35489 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35490 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35491 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35492 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35493 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35494 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35495 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35496 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35497 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35498 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35500 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35501 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35507 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35508 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35509 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35510 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35511 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35512 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35513 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35514 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35515 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35516 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35517 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35518 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35520 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35521 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35527 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35528 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35529 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35531 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35532 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35533 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35535 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35536 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35541 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35543 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35544 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35545 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35546 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35552 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35553 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35555 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35556 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35558 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35560 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35561 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35562 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35563 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35566 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35570 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35571 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35573 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35576 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35578 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35579 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35580 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35581 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35586 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35587 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35592 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35593 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35599 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35603 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35614 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35617 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35618 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35620 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35621 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35622 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35623 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35624 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35625 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35626 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35627 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35628 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35629 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35630 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35631 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35632 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35633 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35634 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35635 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35636 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35638 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35639 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35640 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35641 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35642 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35643 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35644 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35645 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35655 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35656 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35658 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35659 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35660 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35661 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35662 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35663 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35664 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35665 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35666 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35668 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35669 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35670 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35673 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35674 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35675 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35678 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35684 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35686 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35687 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35689 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35690 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35692 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35695 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35698 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35701 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35702 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35703 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35704 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35705 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35706 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35707 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35708 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35709 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35710 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35711 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35712 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35713 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35724 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35725 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35726 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35727 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35729 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35730 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35732 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35733 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35734 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35735 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35739 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35740 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35742 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35743 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35744 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35745 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35746 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35747 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35748 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35749 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35750 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35752 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35755 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35756 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35757 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35758 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35759 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35760 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35761 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35762 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35772 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35773 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35774 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35776 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35780 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35781 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35782 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35783 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35784 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35785 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35791 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35792 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35793 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35839 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35842 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35844 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35845 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35846 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35853 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35854 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35855 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35856 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35857 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35862 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35863 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35864 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35865 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35874 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35875 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35876 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35877 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35878 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35879 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35880 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35881 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35882 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35883 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35884 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35885 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35888 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35890 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35892 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35894 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35895 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35898 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35899 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35903 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35905 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35908 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35909 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35910 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35911 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35912 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35913 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35914 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35916 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35923 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35927 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35928 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35929 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35932 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35933 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35934 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35936 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35937 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35939 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35940 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35942 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35943 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35944 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35945 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35946 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35947 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35948 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35950 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35951 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35953 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35954 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35957 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35958 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35960 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35963 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35964 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35965 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35967 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35968 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35970 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35971 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35972 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35973 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35974 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35975 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35977 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35978 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35979 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35981 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35982 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35983 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35987 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35988 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35989 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35990 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35991 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35993 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35994 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35995 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35996 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35997 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35998 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35999 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
36000 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36001 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
36003 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
36004 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36007 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36008 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36012 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36014 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36015 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36016 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36017 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36018 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36020 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36021 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36022 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36027 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36028 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36029 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
36030 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36031 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
36032 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
36033 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36034 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
36035 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
36036 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
36037 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
36038 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
36039 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
36040 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
36041 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
36042 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
36043 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
36044 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
36045 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
36046 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36047 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
36048 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36049 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36050 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36051 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36052 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36053 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36054 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36055 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
36056 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36057 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
36058 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
36060 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
36061 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
36062 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
36063 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
36064 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
36065 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36068 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36069 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36070 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
36071 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
36072 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
36073 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
36074 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
36075 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
36076 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36077 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
36080 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36081 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36082 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36083 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
36084 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36085 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36087 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
36088 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
36089 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
36090 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36091 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36092 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36093 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36094 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
36095 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
36096 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
36097 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
36098 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
36099 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
36100 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
36101 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
36102 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
36103 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
36104 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
36105 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
36106 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36107 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36108 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36109 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36110 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36111 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36112 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36113 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36114 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
36115 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
36116 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36117 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
36118 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
36119 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
36120 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
36121 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
36122 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
36123 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
36124 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
36125 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
36126 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
36127 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
36128 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
36129 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
36130 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
36131 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
36132 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
36133 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
36134 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
36135 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
36136 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
36137 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
36138 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
36139 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
36140 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
36141 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36142 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
36143 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36144 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
36145 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
36146 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
36147 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
36148 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36149 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36151 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36152 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36153 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36160 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
36161 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
36162 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
36163 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
36165 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
36166 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
36167 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
36168 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
36169 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
36170 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
36171 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
36172 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36174 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36178 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36188 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36194 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36195 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36198 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36222 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
36225 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36232 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36233 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
36235 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
36236 { NULL
, NULL
, 0, NULL
}
36240 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36242 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
36243 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
36245 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
36246 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
36248 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
36249 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36251 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
36252 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
36254 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
36255 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
36257 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
36258 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
36260 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
36261 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
36263 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
36264 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
36266 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
36267 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
36269 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
36270 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
36272 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
36273 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
36275 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
36276 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
36278 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
36279 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
36281 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
36282 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
36284 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
36285 return (void *)((wxDC
*) ((wxGCDC
*) x
));
36287 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36288 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36290 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
36291 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
36293 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36294 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36296 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36297 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36299 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36300 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36302 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36303 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36305 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36306 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36308 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36309 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36311 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36312 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36314 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
36315 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36317 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36318 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36320 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36321 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36323 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36324 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36326 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36327 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36329 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36330 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36332 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36333 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36335 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36338 static void *_p_wxPenTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36341 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36344 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36350 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36353 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36356 static void *_p_wxIconTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36359 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36362 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36365 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) ((wxSizer
*) x
));
36368 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36371 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36374 static void *_p_wxEventTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) ((wxEvent
*) x
));
36377 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36380 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36383 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36386 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36389 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36392 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36395 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36398 static void *_p_wxDCTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) ((wxDC
*) x
));
36401 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36404 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36407 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36410 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36413 static void *_p_wxControlTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36416 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36419 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36422 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36425 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36428 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36431 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36434 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36437 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36440 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) ((wxEffects
*) x
));
36443 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36446 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36449 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36452 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36455 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36458 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36461 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36464 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36467 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36470 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36473 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36476 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36479 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36482 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36485 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36488 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36491 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36494 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36497 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36500 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36503 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36506 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36509 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36512 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36515 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36518 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36521 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36524 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36527 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36530 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36533 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36536 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36539 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36542 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36545 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36548 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36551 static void *_p_wxImageTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) ((wxImage
*) x
));
36554 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36557 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36560 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
36563 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) ((wxImageList
*) x
));
36566 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36569 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36572 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36575 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36578 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36581 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36584 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36587 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36590 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36593 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36596 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36599 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36600 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36602 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36603 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36605 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36606 return (void *)((wxObject
*) ((wxMask
*) x
));
36608 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36611 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36612 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36614 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36615 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36617 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36618 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36620 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36621 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36623 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36624 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36626 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36627 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36629 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36630 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36632 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36633 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36635 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36636 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36638 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36641 static void *_p_wxFontTo_p_wxObject(void *x
) {
36642 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36644 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36645 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36647 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36648 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36650 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36653 static void *_p_wxColourTo_p_wxObject(void *x
) {
36654 return (void *)((wxObject
*) ((wxColour
*) x
));
36656 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36659 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36662 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36663 return (void *)((wxWindow
*) ((wxControl
*) x
));
36665 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36666 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36668 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36669 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36671 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36672 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36674 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36675 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36677 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36678 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36679 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36680 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};
36681 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36682 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36683 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36684 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36685 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
36686 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36687 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36688 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
36689 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36690 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36691 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36692 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36693 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36694 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36695 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36696 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36697 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36698 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36699 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36700 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36701 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36702 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36703 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36704 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36705 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36706 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36707 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36708 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36709 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36710 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36711 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36712 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36713 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36714 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36715 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36716 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36717 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36718 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36719 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36720 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36721 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36722 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36723 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36724 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36725 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36726 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36727 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36728 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36729 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36730 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36731 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36732 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36733 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36734 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36735 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36736 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36737 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36738 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36739 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36740 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36741 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36742 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36743 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36744 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36745 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36746 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36747 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36748 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36749 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36750 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36751 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36752 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36753 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36754 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36755 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36756 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36757 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36758 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36759 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36760 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36761 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36762 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36763 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36764 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36765 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36766 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36767 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36768 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36769 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36770 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36771 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36772 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36773 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36774 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36775 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36776 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36777 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36778 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36779 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36780 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36781 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36782 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36783 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36784 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36785 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36786 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36787 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36788 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36789 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36790 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36791 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36792 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36793 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36794 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36795 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36796 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36797 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36798 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36799 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36800 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36801 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36802 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36803 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36804 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36805 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36806 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36807 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36808 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36809 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36810 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36811 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36812 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36813 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36814 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36815 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36816 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36817 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36818 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36819 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36820 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36821 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36822 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36823 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36824 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36825 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36826 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36827 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36828 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36829 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36830 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36831 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36832 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36833 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36834 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36836 static swig_type_info
*swig_type_initial
[] = {
36840 &_swigt__p_form_ops_t
,
36842 &_swigt__p_unsigned_char
,
36843 &_swigt__p_unsigned_int
,
36844 &_swigt__p_unsigned_long
,
36846 &_swigt__p_wxANIHandler
,
36847 &_swigt__p_wxAcceleratorTable
,
36848 &_swigt__p_wxActivateEvent
,
36849 &_swigt__p_wxAlphaPixelData
,
36850 &_swigt__p_wxAlphaPixelData_Accessor
,
36851 &_swigt__p_wxAutoBufferedPaintDC
,
36852 &_swigt__p_wxBMPHandler
,
36853 &_swigt__p_wxBitmap
,
36854 &_swigt__p_wxBoxSizer
,
36855 &_swigt__p_wxBrush
,
36856 &_swigt__p_wxBrushList
,
36857 &_swigt__p_wxBufferedDC
,
36858 &_swigt__p_wxBufferedPaintDC
,
36859 &_swigt__p_wxCURHandler
,
36861 &_swigt__p_wxChildFocusEvent
,
36862 &_swigt__p_wxClientDC
,
36863 &_swigt__p_wxClipboardTextEvent
,
36864 &_swigt__p_wxCloseEvent
,
36865 &_swigt__p_wxColor
,
36866 &_swigt__p_wxColour
,
36867 &_swigt__p_wxColourDatabase
,
36868 &_swigt__p_wxCommandEvent
,
36869 &_swigt__p_wxContextMenuEvent
,
36870 &_swigt__p_wxControl
,
36871 &_swigt__p_wxControlWithItems
,
36872 &_swigt__p_wxCursor
,
36874 &_swigt__p_wxDCOverlay
,
36876 &_swigt__p_wxDateEvent
,
36877 &_swigt__p_wxDisplayChangedEvent
,
36878 &_swigt__p_wxDropFilesEvent
,
36879 &_swigt__p_wxDuplexMode
,
36880 &_swigt__p_wxEffects
,
36881 &_swigt__p_wxEncodingConverter
,
36882 &_swigt__p_wxEraseEvent
,
36883 &_swigt__p_wxEvent
,
36884 &_swigt__p_wxEvtHandler
,
36885 &_swigt__p_wxFSFile
,
36886 &_swigt__p_wxFileSystem
,
36887 &_swigt__p_wxFlexGridSizer
,
36888 &_swigt__p_wxFocusEvent
,
36890 &_swigt__p_wxFontList
,
36891 &_swigt__p_wxFontMapper
,
36892 &_swigt__p_wxGBSizerItem
,
36894 &_swigt__p_wxGDIObjListBase
,
36895 &_swigt__p_wxGDIObject
,
36896 &_swigt__p_wxGIFHandler
,
36897 &_swigt__p_wxGraphicsContext
,
36898 &_swigt__p_wxGraphicsPath
,
36899 &_swigt__p_wxGridBagSizer
,
36900 &_swigt__p_wxGridSizer
,
36901 &_swigt__p_wxHeaderButtonParams
,
36902 &_swigt__p_wxICOHandler
,
36904 &_swigt__p_wxIconBundle
,
36905 &_swigt__p_wxIconLocation
,
36906 &_swigt__p_wxIconizeEvent
,
36907 &_swigt__p_wxIdleEvent
,
36908 &_swigt__p_wxImage
,
36909 &_swigt__p_wxImageHandler
,
36910 &_swigt__p_wxImageList
,
36911 &_swigt__p_wxIndividualLayoutConstraint
,
36912 &_swigt__p_wxInitDialogEvent
,
36913 &_swigt__p_wxJPEGHandler
,
36914 &_swigt__p_wxKeyEvent
,
36915 &_swigt__p_wxLanguageInfo
,
36916 &_swigt__p_wxLayoutConstraints
,
36917 &_swigt__p_wxLocale
,
36919 &_swigt__p_wxMaximizeEvent
,
36920 &_swigt__p_wxMemoryDC
,
36922 &_swigt__p_wxMenuBar
,
36923 &_swigt__p_wxMenuEvent
,
36924 &_swigt__p_wxMenuItem
,
36925 &_swigt__p_wxMetaFile
,
36926 &_swigt__p_wxMetaFileDC
,
36927 &_swigt__p_wxMirrorDC
,
36928 &_swigt__p_wxMouseCaptureChangedEvent
,
36929 &_swigt__p_wxMouseCaptureLostEvent
,
36930 &_swigt__p_wxMouseEvent
,
36931 &_swigt__p_wxMoveEvent
,
36932 &_swigt__p_wxNativeEncodingInfo
,
36933 &_swigt__p_wxNativeFontInfo
,
36934 &_swigt__p_wxNativePixelData
,
36935 &_swigt__p_wxNativePixelData_Accessor
,
36936 &_swigt__p_wxNavigationKeyEvent
,
36937 &_swigt__p_wxNcPaintEvent
,
36938 &_swigt__p_wxNotifyEvent
,
36939 &_swigt__p_wxObject
,
36940 &_swigt__p_wxOverlay
,
36941 &_swigt__p_wxPCXHandler
,
36942 &_swigt__p_wxPNGHandler
,
36943 &_swigt__p_wxPNMHandler
,
36944 &_swigt__p_wxPaintDC
,
36945 &_swigt__p_wxPaintEvent
,
36946 &_swigt__p_wxPalette
,
36947 &_swigt__p_wxPaletteChangedEvent
,
36948 &_swigt__p_wxPaperSize
,
36950 &_swigt__p_wxPenList
,
36951 &_swigt__p_wxPixelDataBase
,
36952 &_swigt__p_wxPoint
,
36953 &_swigt__p_wxPoint2D
,
36954 &_swigt__p_wxPostScriptDC
,
36955 &_swigt__p_wxPrintData
,
36956 &_swigt__p_wxPrinterDC
,
36957 &_swigt__p_wxPseudoDC
,
36958 &_swigt__p_wxPyApp
,
36959 &_swigt__p_wxPyCommandEvent
,
36960 &_swigt__p_wxPyEvent
,
36961 &_swigt__p_wxPyFontEnumerator
,
36962 &_swigt__p_wxPyImageHandler
,
36963 &_swigt__p_wxPyLocale
,
36964 &_swigt__p_wxPySizer
,
36965 &_swigt__p_wxPyValidator
,
36966 &_swigt__p_wxQueryNewPaletteEvent
,
36968 &_swigt__p_wxRegion
,
36969 &_swigt__p_wxRegionIterator
,
36970 &_swigt__p_wxRendererNative
,
36971 &_swigt__p_wxRendererVersion
,
36972 &_swigt__p_wxScreenDC
,
36973 &_swigt__p_wxScrollEvent
,
36974 &_swigt__p_wxScrollWinEvent
,
36975 &_swigt__p_wxSetCursorEvent
,
36976 &_swigt__p_wxShowEvent
,
36978 &_swigt__p_wxSizeEvent
,
36979 &_swigt__p_wxSizer
,
36980 &_swigt__p_wxSizerItem
,
36981 &_swigt__p_wxSplitterRenderParams
,
36982 &_swigt__p_wxStaticBoxSizer
,
36983 &_swigt__p_wxStdDialogButtonSizer
,
36984 &_swigt__p_wxStockGDI
,
36985 &_swigt__p_wxString
,
36986 &_swigt__p_wxSysColourChangedEvent
,
36987 &_swigt__p_wxTIFFHandler
,
36988 &_swigt__p_wxUpdateUIEvent
,
36989 &_swigt__p_wxValidator
,
36990 &_swigt__p_wxWindow
,
36991 &_swigt__p_wxWindowCreateEvent
,
36992 &_swigt__p_wxWindowDC
,
36993 &_swigt__p_wxWindowDestroyEvent
,
36994 &_swigt__p_wxXPMHandler
,
36997 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36998 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36999 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
37000 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37001 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37002 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37003 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37004 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37005 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37006 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
37007 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37008 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37009 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37010 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
37011 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
37012 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}};
37013 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37014 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37015 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}};
37016 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
37017 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37018 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
37019 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37020 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}};
37021 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37022 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
37023 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37024 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
37025 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
37026 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37027 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
37028 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
37029 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
37030 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}};
37031 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}};
37032 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
37033 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
37034 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
37035 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37036 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
37037 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
37038 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37039 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
37040 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
37041 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}};
37042 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
37043 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}};
37044 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
37045 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
37046 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
37047 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
37048 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
37049 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
37050 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37051 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37052 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37053 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37054 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37055 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37056 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37057 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37058 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37059 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37060 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37061 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37062 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
37063 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37064 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37065 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37066 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37067 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37068 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37069 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37070 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37071 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37072 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37073 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37074 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37075 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37076 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37077 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37078 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37079 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37080 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37081 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37082 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37083 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37084 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37085 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37086 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37087 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37088 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37089 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37090 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37091 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37092 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37093 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37094 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37095 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37096 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
37097 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37098 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37099 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37100 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37101 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37102 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37103 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37104 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
37105 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37106 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37107 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37108 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37109 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37110 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37111 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37112 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37113 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37114 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37115 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37116 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37117 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37118 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37119 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37120 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37121 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37122 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37123 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37124 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37125 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37126 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37127 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_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_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_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_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_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_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_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_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}};
37128 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37129 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37130 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
37131 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37132 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
37133 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
37134 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}};
37135 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37136 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
37137 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
37138 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
37139 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
37140 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
37141 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
37142 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
37143 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37144 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
37145 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
37146 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
37147 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
37148 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
37149 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37150 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
37151 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
37152 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37153 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}};
37154 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}};
37156 static swig_cast_info
*swig_cast_initial
[] = {
37160 _swigc__p_form_ops_t
,
37162 _swigc__p_unsigned_char
,
37163 _swigc__p_unsigned_int
,
37164 _swigc__p_unsigned_long
,
37166 _swigc__p_wxANIHandler
,
37167 _swigc__p_wxAcceleratorTable
,
37168 _swigc__p_wxActivateEvent
,
37169 _swigc__p_wxAlphaPixelData
,
37170 _swigc__p_wxAlphaPixelData_Accessor
,
37171 _swigc__p_wxAutoBufferedPaintDC
,
37172 _swigc__p_wxBMPHandler
,
37173 _swigc__p_wxBitmap
,
37174 _swigc__p_wxBoxSizer
,
37176 _swigc__p_wxBrushList
,
37177 _swigc__p_wxBufferedDC
,
37178 _swigc__p_wxBufferedPaintDC
,
37179 _swigc__p_wxCURHandler
,
37181 _swigc__p_wxChildFocusEvent
,
37182 _swigc__p_wxClientDC
,
37183 _swigc__p_wxClipboardTextEvent
,
37184 _swigc__p_wxCloseEvent
,
37186 _swigc__p_wxColour
,
37187 _swigc__p_wxColourDatabase
,
37188 _swigc__p_wxCommandEvent
,
37189 _swigc__p_wxContextMenuEvent
,
37190 _swigc__p_wxControl
,
37191 _swigc__p_wxControlWithItems
,
37192 _swigc__p_wxCursor
,
37194 _swigc__p_wxDCOverlay
,
37196 _swigc__p_wxDateEvent
,
37197 _swigc__p_wxDisplayChangedEvent
,
37198 _swigc__p_wxDropFilesEvent
,
37199 _swigc__p_wxDuplexMode
,
37200 _swigc__p_wxEffects
,
37201 _swigc__p_wxEncodingConverter
,
37202 _swigc__p_wxEraseEvent
,
37204 _swigc__p_wxEvtHandler
,
37205 _swigc__p_wxFSFile
,
37206 _swigc__p_wxFileSystem
,
37207 _swigc__p_wxFlexGridSizer
,
37208 _swigc__p_wxFocusEvent
,
37210 _swigc__p_wxFontList
,
37211 _swigc__p_wxFontMapper
,
37212 _swigc__p_wxGBSizerItem
,
37214 _swigc__p_wxGDIObjListBase
,
37215 _swigc__p_wxGDIObject
,
37216 _swigc__p_wxGIFHandler
,
37217 _swigc__p_wxGraphicsContext
,
37218 _swigc__p_wxGraphicsPath
,
37219 _swigc__p_wxGridBagSizer
,
37220 _swigc__p_wxGridSizer
,
37221 _swigc__p_wxHeaderButtonParams
,
37222 _swigc__p_wxICOHandler
,
37224 _swigc__p_wxIconBundle
,
37225 _swigc__p_wxIconLocation
,
37226 _swigc__p_wxIconizeEvent
,
37227 _swigc__p_wxIdleEvent
,
37229 _swigc__p_wxImageHandler
,
37230 _swigc__p_wxImageList
,
37231 _swigc__p_wxIndividualLayoutConstraint
,
37232 _swigc__p_wxInitDialogEvent
,
37233 _swigc__p_wxJPEGHandler
,
37234 _swigc__p_wxKeyEvent
,
37235 _swigc__p_wxLanguageInfo
,
37236 _swigc__p_wxLayoutConstraints
,
37237 _swigc__p_wxLocale
,
37239 _swigc__p_wxMaximizeEvent
,
37240 _swigc__p_wxMemoryDC
,
37242 _swigc__p_wxMenuBar
,
37243 _swigc__p_wxMenuEvent
,
37244 _swigc__p_wxMenuItem
,
37245 _swigc__p_wxMetaFile
,
37246 _swigc__p_wxMetaFileDC
,
37247 _swigc__p_wxMirrorDC
,
37248 _swigc__p_wxMouseCaptureChangedEvent
,
37249 _swigc__p_wxMouseCaptureLostEvent
,
37250 _swigc__p_wxMouseEvent
,
37251 _swigc__p_wxMoveEvent
,
37252 _swigc__p_wxNativeEncodingInfo
,
37253 _swigc__p_wxNativeFontInfo
,
37254 _swigc__p_wxNativePixelData
,
37255 _swigc__p_wxNativePixelData_Accessor
,
37256 _swigc__p_wxNavigationKeyEvent
,
37257 _swigc__p_wxNcPaintEvent
,
37258 _swigc__p_wxNotifyEvent
,
37259 _swigc__p_wxObject
,
37260 _swigc__p_wxOverlay
,
37261 _swigc__p_wxPCXHandler
,
37262 _swigc__p_wxPNGHandler
,
37263 _swigc__p_wxPNMHandler
,
37264 _swigc__p_wxPaintDC
,
37265 _swigc__p_wxPaintEvent
,
37266 _swigc__p_wxPalette
,
37267 _swigc__p_wxPaletteChangedEvent
,
37268 _swigc__p_wxPaperSize
,
37270 _swigc__p_wxPenList
,
37271 _swigc__p_wxPixelDataBase
,
37273 _swigc__p_wxPoint2D
,
37274 _swigc__p_wxPostScriptDC
,
37275 _swigc__p_wxPrintData
,
37276 _swigc__p_wxPrinterDC
,
37277 _swigc__p_wxPseudoDC
,
37279 _swigc__p_wxPyCommandEvent
,
37280 _swigc__p_wxPyEvent
,
37281 _swigc__p_wxPyFontEnumerator
,
37282 _swigc__p_wxPyImageHandler
,
37283 _swigc__p_wxPyLocale
,
37284 _swigc__p_wxPySizer
,
37285 _swigc__p_wxPyValidator
,
37286 _swigc__p_wxQueryNewPaletteEvent
,
37288 _swigc__p_wxRegion
,
37289 _swigc__p_wxRegionIterator
,
37290 _swigc__p_wxRendererNative
,
37291 _swigc__p_wxRendererVersion
,
37292 _swigc__p_wxScreenDC
,
37293 _swigc__p_wxScrollEvent
,
37294 _swigc__p_wxScrollWinEvent
,
37295 _swigc__p_wxSetCursorEvent
,
37296 _swigc__p_wxShowEvent
,
37298 _swigc__p_wxSizeEvent
,
37300 _swigc__p_wxSizerItem
,
37301 _swigc__p_wxSplitterRenderParams
,
37302 _swigc__p_wxStaticBoxSizer
,
37303 _swigc__p_wxStdDialogButtonSizer
,
37304 _swigc__p_wxStockGDI
,
37305 _swigc__p_wxString
,
37306 _swigc__p_wxSysColourChangedEvent
,
37307 _swigc__p_wxTIFFHandler
,
37308 _swigc__p_wxUpdateUIEvent
,
37309 _swigc__p_wxValidator
,
37310 _swigc__p_wxWindow
,
37311 _swigc__p_wxWindowCreateEvent
,
37312 _swigc__p_wxWindowDC
,
37313 _swigc__p_wxWindowDestroyEvent
,
37314 _swigc__p_wxXPMHandler
,
37318 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37320 static swig_const_info swig_const_table
[] = {
37321 {0, 0, 0, 0.0, 0, 0}};
37326 /* -----------------------------------------------------------------------------
37327 * Type initialization:
37328 * This problem is tough by the requirement that no dynamic
37329 * memory is used. Also, since swig_type_info structures store pointers to
37330 * swig_cast_info structures and swig_cast_info structures store pointers back
37331 * to swig_type_info structures, we need some lookup code at initialization.
37332 * The idea is that swig generates all the structures that are needed.
37333 * The runtime then collects these partially filled structures.
37334 * The SWIG_InitializeModule function takes these initial arrays out of
37335 * swig_module, and does all the lookup, filling in the swig_module.types
37336 * array with the correct data and linking the correct swig_cast_info
37337 * structures together.
37339 * The generated swig_type_info structures are assigned staticly to an initial
37340 * array. We just loop though that array, and handle each type individually.
37341 * First we lookup if this type has been already loaded, and if so, use the
37342 * loaded structure instead of the generated one. Then we have to fill in the
37343 * cast linked list. The cast data is initially stored in something like a
37344 * two-dimensional array. Each row corresponds to a type (there are the same
37345 * number of rows as there are in the swig_type_initial array). Each entry in
37346 * a column is one of the swig_cast_info structures for that type.
37347 * The cast_initial array is actually an array of arrays, because each row has
37348 * a variable number of columns. So to actually build the cast linked list,
37349 * we find the array of casts associated with the type, and loop through it
37350 * adding the casts to the list. The one last trick we need to do is making
37351 * sure the type pointer in the swig_cast_info struct is correct.
37353 * First off, we lookup the cast->type name to see if it is already loaded.
37354 * There are three cases to handle:
37355 * 1) If the cast->type has already been loaded AND the type we are adding
37356 * casting info to has not been loaded (it is in this module), THEN we
37357 * replace the cast->type pointer with the type pointer that has already
37359 * 2) If BOTH types (the one we are adding casting info to, and the
37360 * cast->type) are loaded, THEN the cast info has already been loaded by
37361 * the previous module so we just ignore it.
37362 * 3) Finally, if cast->type has not already been loaded, then we add that
37363 * swig_cast_info to the linked list (because the cast->type) pointer will
37365 * ----------------------------------------------------------------------------- */
37375 #define SWIGRUNTIME_DEBUG
37379 SWIG_InitializeModule(void *clientdata
) {
37381 swig_module_info
*module_head
;
37382 static int init_run
= 0;
37384 clientdata
= clientdata
;
37386 if (init_run
) return;
37389 /* Initialize the swig_module */
37390 swig_module
.type_initial
= swig_type_initial
;
37391 swig_module
.cast_initial
= swig_cast_initial
;
37393 /* Try and load any already created modules */
37394 module_head
= SWIG_GetModule(clientdata
);
37396 swig_module
.next
= module_head
->next
;
37397 module_head
->next
= &swig_module
;
37399 /* This is the first module loaded */
37400 swig_module
.next
= &swig_module
;
37401 SWIG_SetModule(clientdata
, &swig_module
);
37404 /* Now work on filling in swig_module.types */
37405 #ifdef SWIGRUNTIME_DEBUG
37406 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37408 for (i
= 0; i
< swig_module
.size
; ++i
) {
37409 swig_type_info
*type
= 0;
37410 swig_type_info
*ret
;
37411 swig_cast_info
*cast
;
37413 #ifdef SWIGRUNTIME_DEBUG
37414 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37417 /* if there is another module already loaded */
37418 if (swig_module
.next
!= &swig_module
) {
37419 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37422 /* Overwrite clientdata field */
37423 #ifdef SWIGRUNTIME_DEBUG
37424 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37426 if (swig_module
.type_initial
[i
]->clientdata
) {
37427 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37428 #ifdef SWIGRUNTIME_DEBUG
37429 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37433 type
= swig_module
.type_initial
[i
];
37436 /* Insert casting types */
37437 cast
= swig_module
.cast_initial
[i
];
37438 while (cast
->type
) {
37439 /* Don't need to add information already in the list */
37441 #ifdef SWIGRUNTIME_DEBUG
37442 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37444 if (swig_module
.next
!= &swig_module
) {
37445 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37446 #ifdef SWIGRUNTIME_DEBUG
37447 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37451 if (type
== swig_module
.type_initial
[i
]) {
37452 #ifdef SWIGRUNTIME_DEBUG
37453 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37458 /* Check for casting already in the list */
37459 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37460 #ifdef SWIGRUNTIME_DEBUG
37461 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37463 if (!ocast
) ret
= 0;
37468 #ifdef SWIGRUNTIME_DEBUG
37469 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37472 type
->cast
->prev
= cast
;
37473 cast
->next
= type
->cast
;
37479 /* Set entry in modules->types array equal to the type */
37480 swig_module
.types
[i
] = type
;
37482 swig_module
.types
[i
] = 0;
37484 #ifdef SWIGRUNTIME_DEBUG
37485 printf("**** SWIG_InitializeModule: Cast List ******\n");
37486 for (i
= 0; i
< swig_module
.size
; ++i
) {
37488 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37489 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37490 while (cast
->type
) {
37491 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37495 printf("---- Total casts: %d\n",j
);
37497 printf("**** SWIG_InitializeModule: Cast List ******\n");
37501 /* This function will propagate the clientdata field of type to
37502 * any new swig_type_info structures that have been added into the list
37503 * of equivalent types. It is like calling
37504 * SWIG_TypeClientData(type, clientdata) a second time.
37507 SWIG_PropagateClientData(void) {
37509 swig_cast_info
*equiv
;
37510 static int init_run
= 0;
37512 if (init_run
) return;
37515 for (i
= 0; i
< swig_module
.size
; i
++) {
37516 if (swig_module
.types
[i
]->clientdata
) {
37517 equiv
= swig_module
.types
[i
]->cast
;
37519 if (!equiv
->converter
) {
37520 if (equiv
->type
&& !equiv
->type
->clientdata
)
37521 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37523 equiv
= equiv
->next
;
37543 /* Python-specific SWIG API */
37544 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37545 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37546 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37548 /* -----------------------------------------------------------------------------
37549 * global variable support code.
37550 * ----------------------------------------------------------------------------- */
37552 typedef struct swig_globalvar
{
37553 char *name
; /* Name of global variable */
37554 PyObject
*(*get_attr
)(void); /* Return the current value */
37555 int (*set_attr
)(PyObject
*); /* Set the value */
37556 struct swig_globalvar
*next
;
37559 typedef struct swig_varlinkobject
{
37561 swig_globalvar
*vars
;
37562 } swig_varlinkobject
;
37564 SWIGINTERN PyObject
*
37565 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37566 return PyString_FromString("<Swig global variables>");
37569 SWIGINTERN PyObject
*
37570 swig_varlink_str(swig_varlinkobject
*v
) {
37571 PyObject
*str
= PyString_FromString("(");
37572 swig_globalvar
*var
;
37573 for (var
= v
->vars
; var
; var
=var
->next
) {
37574 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37575 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37577 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37582 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37583 PyObject
*str
= swig_varlink_str(v
);
37584 fprintf(fp
,"Swig global variables ");
37585 fprintf(fp
,"%s\n", PyString_AsString(str
));
37591 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37592 swig_globalvar
*var
= v
->vars
;
37594 swig_globalvar
*n
= var
->next
;
37601 SWIGINTERN PyObject
*
37602 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37603 PyObject
*res
= NULL
;
37604 swig_globalvar
*var
= v
->vars
;
37606 if (strcmp(var
->name
,n
) == 0) {
37607 res
= (*var
->get_attr
)();
37612 if (res
== NULL
&& !PyErr_Occurred()) {
37613 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37619 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37621 swig_globalvar
*var
= v
->vars
;
37623 if (strcmp(var
->name
,n
) == 0) {
37624 res
= (*var
->set_attr
)(p
);
37629 if (res
== 1 && !PyErr_Occurred()) {
37630 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37635 SWIGINTERN PyTypeObject
*
37636 swig_varlink_type(void) {
37637 static char varlink__doc__
[] = "Swig var link object";
37638 static PyTypeObject varlink_type
;
37639 static int type_init
= 0;
37641 const PyTypeObject tmp
37643 PyObject_HEAD_INIT(NULL
)
37644 0, /* Number of items in variable part (ob_size) */
37645 (char *)"swigvarlink", /* Type name (tp_name) */
37646 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37647 0, /* Itemsize (tp_itemsize) */
37648 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37649 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37650 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37651 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37652 0, /* tp_compare */
37653 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37654 0, /* tp_as_number */
37655 0, /* tp_as_sequence */
37656 0, /* tp_as_mapping */
37659 (reprfunc
)swig_varlink_str
, /* tp_str */
37660 0, /* tp_getattro */
37661 0, /* tp_setattro */
37662 0, /* tp_as_buffer */
37664 varlink__doc__
, /* tp_doc */
37665 0, /* tp_traverse */
37667 0, /* tp_richcompare */
37668 0, /* tp_weaklistoffset */
37669 #if PY_VERSION_HEX >= 0x02020000
37670 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37672 #if PY_VERSION_HEX >= 0x02030000
37675 #ifdef COUNT_ALLOCS
37676 0,0,0,0 /* tp_alloc -> tp_next */
37679 varlink_type
= tmp
;
37680 varlink_type
.ob_type
= &PyType_Type
;
37683 return &varlink_type
;
37686 /* Create a variable linking object for use later */
37687 SWIGINTERN PyObject
*
37688 SWIG_Python_newvarlink(void) {
37689 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37693 return ((PyObject
*) result
);
37697 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37698 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37699 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37701 size_t size
= strlen(name
)+1;
37702 gv
->name
= (char *)malloc(size
);
37704 strncpy(gv
->name
,name
,size
);
37705 gv
->get_attr
= get_attr
;
37706 gv
->set_attr
= set_attr
;
37707 gv
->next
= v
->vars
;
37713 SWIGINTERN PyObject
*
37715 static PyObject
*_SWIG_globals
= 0;
37716 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37717 return _SWIG_globals
;
37720 /* -----------------------------------------------------------------------------
37721 * constants/methods manipulation
37722 * ----------------------------------------------------------------------------- */
37724 /* Install Constants */
37726 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37729 for (i
= 0; constants
[i
].type
; ++i
) {
37730 switch(constants
[i
].type
) {
37731 case SWIG_PY_POINTER
:
37732 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37734 case SWIG_PY_BINARY
:
37735 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37742 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37748 /* -----------------------------------------------------------------------------*/
37749 /* Fix SwigMethods to carry the callback ptrs when needed */
37750 /* -----------------------------------------------------------------------------*/
37753 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37754 swig_const_info
*const_table
,
37755 swig_type_info
**types
,
37756 swig_type_info
**types_initial
) {
37758 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37759 const char *c
= methods
[i
].ml_doc
;
37760 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37762 swig_const_info
*ci
= 0;
37763 const char *name
= c
+ 10;
37764 for (j
= 0; const_table
[j
].type
; ++j
) {
37765 if (strncmp(const_table
[j
].name
, name
,
37766 strlen(const_table
[j
].name
)) == 0) {
37767 ci
= &(const_table
[j
]);
37772 size_t shift
= (ci
->ptype
) - types
;
37773 swig_type_info
*ty
= types_initial
[shift
];
37774 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37775 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37776 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37779 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37781 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37783 strncpy(buff
, "swig_ptr: ", 10);
37785 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37786 methods
[i
].ml_doc
= ndoc
;
37798 /* -----------------------------------------------------------------------------*
37799 * Partial Init method
37800 * -----------------------------------------------------------------------------*/
37805 SWIGEXPORT
void SWIG_init(void) {
37808 /* Fix SwigMethods to carry the callback ptrs when needed */
37809 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37811 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37812 d
= PyModule_GetDict(m
);
37814 SWIG_InitializeModule(0);
37815 SWIG_InstallConstants(d
,swig_const_table
);
37818 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37819 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37820 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37821 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37822 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37823 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37824 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37825 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37826 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37827 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37828 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37829 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37830 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37831 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37832 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37833 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37834 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37835 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37836 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37837 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37838 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37839 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37840 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37841 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37842 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37843 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37844 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37845 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37846 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37847 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37848 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37849 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37850 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37851 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37852 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37853 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37854 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37855 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37856 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37857 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37858 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37859 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37860 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37861 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37862 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37863 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37864 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37865 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37866 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37867 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37868 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37869 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37870 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37871 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37872 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37873 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37874 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37875 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37876 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37877 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37878 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37879 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37880 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37881 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37882 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37883 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37884 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37885 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37886 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37887 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37888 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37889 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37890 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37891 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37892 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37893 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37894 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37895 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37896 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37897 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37898 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37899 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37900 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37907 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37932 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37933 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37934 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37935 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37936 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37937 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37938 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37939 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37940 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37941 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37942 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37943 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37944 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37945 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37946 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37947 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37948 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37949 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37951 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37953 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37954 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37955 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37956 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37957 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37958 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37959 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37960 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37961 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37962 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37963 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37964 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37965 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37966 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37967 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37968 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37969 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37970 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37971 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37972 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37973 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37974 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37975 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37976 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37977 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37978 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37979 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37980 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37981 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37982 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37983 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37984 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37985 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37986 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37987 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37988 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37989 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37990 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37991 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37992 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37993 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37994 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37995 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37996 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37997 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37998 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37999 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
38000 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
38001 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
38002 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
38003 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
38004 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
38005 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
38006 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
38007 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
38008 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
38009 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
38010 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
38011 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
38012 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
38013 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
38014 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
38015 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
38016 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
38017 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
38018 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
38019 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
38020 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
38021 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
38022 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
38023 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
38024 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
38025 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
38026 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
38027 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
38028 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
38029 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
38030 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
38031 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
38032 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
38033 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
38034 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
38035 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
38036 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
38037 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
38038 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
38039 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
38040 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
38041 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
38042 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
38043 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
38044 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
38045 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
38046 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
38047 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
38048 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
38049 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
38050 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
38051 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
38052 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
38053 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
38054 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
38055 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
38056 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
38057 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
38058 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
38059 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
38060 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
38061 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
38062 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
38063 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
38064 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
38065 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
38066 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
38067 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
38068 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
38069 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
38070 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
38071 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
38072 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
38073 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
38074 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
38075 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
38076 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
38077 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
38078 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
38079 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
38080 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
38081 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
38082 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
38083 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
38084 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
38085 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
38086 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
38087 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
38088 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
38089 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
38090 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
38091 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
38092 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
38093 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
38094 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
38095 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
38096 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
38097 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
38098 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
38099 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
38100 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
38101 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
38102 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
38103 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
38104 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
38105 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
38106 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
38107 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
38108 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
38109 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
38110 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
38111 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
38112 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
38113 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
38114 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
38115 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
38116 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
38117 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
38118 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
38119 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
38120 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
38121 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
38122 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
38123 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
38124 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
38125 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
38126 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
38127 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
38128 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
38129 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
38130 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
38131 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
38132 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
38133 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
38134 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
38135 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
38136 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
38137 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
38138 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
38139 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
38140 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
38141 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
38142 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
38143 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
38144 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
38145 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
38146 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
38147 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
38148 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
38149 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
38150 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
38151 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
38152 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
38153 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
38154 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
38155 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
38156 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
38157 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
38158 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
38159 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
38160 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
38161 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
38162 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
38163 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
38164 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
38165 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
38166 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
38167 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
38168 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
38169 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
38170 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
38171 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
38172 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
38173 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
38174 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
38175 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
38176 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
38177 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
38178 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
38179 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
38180 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
38181 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
38182 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
38183 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
38184 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
38185 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
38186 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
38187 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
38188 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
38189 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
38190 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
38191 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
38192 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
38193 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
38194 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
38195 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
38196 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
38197 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
38198 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
38199 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
38200 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
38201 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
38202 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
38203 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
38204 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
38205 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
38206 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
38207 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
38208 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
38209 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
38210 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
38211 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
38212 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
38213 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
38214 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
38215 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
38216 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
38217 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
38218 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
38219 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
38220 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
38221 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
38222 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
38223 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
38224 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
38225 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
38226 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
38227 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
38228 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
38229 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
38230 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
38231 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
38232 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
38233 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
38234 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
38235 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
38236 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
38237 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
38238 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
38239 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
38240 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
38241 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
38242 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
38243 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38244 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
38245 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
38246 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
38247 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
38248 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
38249 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
38250 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
38251 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
38252 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
38253 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
38254 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
38255 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
38256 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
38257 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
38258 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
38259 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
38260 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
38261 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
38262 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
38263 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
38264 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
38265 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
38266 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
38267 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
38268 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
38269 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
38270 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
38271 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
38273 // Work around a chicken/egg problem in drawlist.cpp
38274 wxPyDrawList_SetAPIPtr();