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"
3690 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3691 self
->AddColour(name
, wxColour(red
, green
, blue
));
3694 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3695 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3696 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3697 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3700 #include <wx/effects.h>
3703 #include "wx/renderer.h"
3706 SWIGINTERNINLINE PyObject
*
3707 SWIG_From_bool (bool value
)
3709 return PyBool_FromLong(value
? 1 : 0);
3713 #include "wx/wxPython/pseudodc.h"
3715 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3717 self
->GetIdBounds(id
, rect
);
3723 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3724 PyObject
*resultobj
= 0;
3725 wxGDIObject
*result
= 0 ;
3727 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3729 if (!wxPyCheckForApp()) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 result
= (wxGDIObject
*)new wxGDIObject();
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3742 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3743 PyObject
*resultobj
= 0;
3744 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3747 PyObject
*swig_obj
[1] ;
3749 if (!args
) SWIG_fail
;
3751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3752 if (!SWIG_IsOK(res1
)) {
3753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3755 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= SWIG_Py_Void();
3770 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3771 PyObject
*resultobj
= 0;
3772 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3776 PyObject
*swig_obj
[1] ;
3778 if (!args
) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3784 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (bool)(arg1
)->IsNull();
3788 wxPyEndAllowThreads(__tstate
);
3789 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3800 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3803 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3804 return SWIG_Py_Void();
3807 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3808 return SWIG_Python_InitShadowInstance(args
);
3811 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
= 0;
3813 byte arg1
= (byte
) 0 ;
3814 byte arg2
= (byte
) 0 ;
3815 byte arg3
= (byte
) 0 ;
3816 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3817 wxColour
*result
= 0 ;
3818 unsigned char val1
;
3820 unsigned char val2
;
3822 unsigned char val3
;
3824 unsigned char val4
;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3828 PyObject
* obj2
= 0 ;
3829 PyObject
* obj3
= 0 ;
3830 char * kwnames
[] = {
3831 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3836 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3837 if (!SWIG_IsOK(ecode1
)) {
3838 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3840 arg1
= static_cast< byte
>(val1
);
3843 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3844 if (!SWIG_IsOK(ecode2
)) {
3845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3847 arg2
= static_cast< byte
>(val2
);
3850 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3851 if (!SWIG_IsOK(ecode3
)) {
3852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3854 arg3
= static_cast< byte
>(val3
);
3857 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3858 if (!SWIG_IsOK(ecode4
)) {
3859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3861 arg4
= static_cast< byte
>(val4
);
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3876 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
= 0;
3878 wxString
*arg1
= 0 ;
3879 wxColour
*result
= 0 ;
3880 bool temp1
= false ;
3881 PyObject
* obj0
= 0 ;
3882 char * kwnames
[] = {
3883 (char *) "colorName", NULL
3886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3888 arg1
= wxString_in_helper(obj0
);
3889 if (arg1
== NULL
) SWIG_fail
;
3893 if (!wxPyCheckForApp()) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3914 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
= 0;
3916 unsigned long arg1
;
3917 wxColour
*result
= 0 ;
3918 unsigned long val1
;
3920 PyObject
* obj0
= 0 ;
3921 char * kwnames
[] = {
3922 (char *) "colRGB", NULL
3925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3926 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3927 if (!SWIG_IsOK(ecode1
)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3930 arg1
= static_cast< unsigned long >(val1
);
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (wxColour
*)new wxColour(arg1
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3944 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxColour
*arg1
= (wxColour
*) 0 ;
3949 PyObject
*swig_obj
[1] ;
3951 if (!args
) SWIG_fail
;
3953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3954 if (!SWIG_IsOK(res1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3957 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= SWIG_Py_Void();
3972 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3973 PyObject
*resultobj
= 0;
3974 wxColour
*arg1
= (wxColour
*) 0 ;
3978 PyObject
*swig_obj
[1] ;
3980 if (!args
) SWIG_fail
;
3982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3983 if (!SWIG_IsOK(res1
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3986 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 result
= (byte
)(arg1
)->Red();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4000 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4001 PyObject
*resultobj
= 0;
4002 wxColour
*arg1
= (wxColour
*) 0 ;
4006 PyObject
*swig_obj
[1] ;
4008 if (!args
) SWIG_fail
;
4010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4011 if (!SWIG_IsOK(res1
)) {
4012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4014 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (byte
)(arg1
)->Green();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4028 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4029 PyObject
*resultobj
= 0;
4030 wxColour
*arg1
= (wxColour
*) 0 ;
4034 PyObject
*swig_obj
[1] ;
4036 if (!args
) SWIG_fail
;
4038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4039 if (!SWIG_IsOK(res1
)) {
4040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4042 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (byte
)(arg1
)->Blue();
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4056 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4057 PyObject
*resultobj
= 0;
4058 wxColour
*arg1
= (wxColour
*) 0 ;
4062 PyObject
*swig_obj
[1] ;
4064 if (!args
) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4070 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (byte
)(arg1
)->Alpha();
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4084 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4085 PyObject
*resultobj
= 0;
4086 wxColour
*arg1
= (wxColour
*) 0 ;
4090 PyObject
*swig_obj
[1] ;
4092 if (!args
) SWIG_fail
;
4094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4095 if (!SWIG_IsOK(res1
)) {
4096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4098 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (bool)(arg1
)->IsOk();
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4114 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
= 0;
4116 wxColour
*arg1
= (wxColour
*) 0 ;
4120 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4123 unsigned char val2
;
4125 unsigned char val3
;
4127 unsigned char val4
;
4129 unsigned char val5
;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4133 PyObject
* obj2
= 0 ;
4134 PyObject
* obj3
= 0 ;
4135 PyObject
* obj4
= 0 ;
4136 char * kwnames
[] = {
4137 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4142 if (!SWIG_IsOK(res1
)) {
4143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4145 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4146 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4147 if (!SWIG_IsOK(ecode2
)) {
4148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4150 arg2
= static_cast< byte
>(val2
);
4151 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4152 if (!SWIG_IsOK(ecode3
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4155 arg3
= static_cast< byte
>(val3
);
4156 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4157 if (!SWIG_IsOK(ecode4
)) {
4158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4160 arg4
= static_cast< byte
>(val4
);
4162 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4163 if (!SWIG_IsOK(ecode5
)) {
4164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4166 arg5
= static_cast< byte
>(val5
);
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_Py_Void();
4181 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
= 0;
4183 wxColour
*arg1
= (wxColour
*) 0 ;
4184 unsigned long arg2
;
4187 unsigned long val2
;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "colRGB", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4200 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4201 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4202 if (!SWIG_IsOK(ecode2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4205 arg2
= static_cast< unsigned long >(val2
);
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_Py_Void();
4219 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
= 0;
4221 wxColour
*arg1
= (wxColour
*) 0 ;
4222 wxString
*arg2
= 0 ;
4225 bool temp2
= false ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 char * kwnames
[] = {
4229 (char *) "self",(char *) "colourName", NULL
4232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4237 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4239 arg2
= wxString_in_helper(obj1
);
4240 if (arg2
== NULL
) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 (arg1
)->Set((wxString
const &)*arg2
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_Py_Void();
4264 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxColour
*arg1
= (wxColour
*) 0 ;
4267 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 char * kwnames
[] = {
4276 (char *) "self",(char *) "flags", NULL
4279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4284 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4287 if (!SWIG_IsOK(ecode2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4290 arg2
= static_cast< long >(val2
);
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4311 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4312 PyObject
*resultobj
= 0;
4313 wxColour
*arg1
= (wxColour
*) 0 ;
4317 PyObject
*swig_obj
[1] ;
4319 if (!args
) SWIG_fail
;
4321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4322 if (!SWIG_IsOK(res1
)) {
4323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4325 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_From_long(static_cast< long >(result
));
4339 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
= 0;
4341 wxColour
*arg1
= (wxColour
*) 0 ;
4342 PyObject
*arg2
= (PyObject
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4348 char * kwnames
[] = {
4349 (char *) "self",(char *) "other", NULL
4352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4354 if (!SWIG_IsOK(res1
)) {
4355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4357 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4360 result
= (bool)wxColour___eq__(arg1
,arg2
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4372 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
= 0;
4374 wxColour
*arg1
= (wxColour
*) 0 ;
4375 PyObject
*arg2
= (PyObject
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4381 char * kwnames
[] = {
4382 (char *) "self",(char *) "other", NULL
4385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4387 if (!SWIG_IsOK(res1
)) {
4388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4390 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4393 result
= (bool)wxColour___ne__(arg1
,arg2
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4405 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
= 0;
4407 wxColour
*arg1
= (wxColour
*) 0 ;
4408 bool arg2
= (bool) false ;
4409 PyObject
*result
= 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4416 char * kwnames
[] = {
4417 (char *) "self",(char *) "includeAlpha", NULL
4420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4422 if (!SWIG_IsOK(res1
)) {
4423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4425 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4428 if (!SWIG_IsOK(ecode2
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4431 arg2
= static_cast< bool >(val2
);
4434 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4444 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4445 PyObject
*resultobj
= 0;
4446 wxColour
*arg1
= (wxColour
*) 0 ;
4447 unsigned long result
;
4450 PyObject
*swig_obj
[1] ;
4452 if (!args
) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4458 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4460 result
= (unsigned long)wxColour_GetRGB(arg1
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4470 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4473 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4474 return SWIG_Py_Void();
4477 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4478 return SWIG_Python_InitShadowInstance(args
);
4481 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
= 0;
4484 unsigned char *arg2
= (unsigned char *) 0 ;
4485 unsigned char *arg3
= (unsigned char *) 0 ;
4486 unsigned char *arg4
= (unsigned char *) 0 ;
4487 wxPalette
*result
= 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4498 PyObject
* obj2
= 0 ;
4499 PyObject
* obj3
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4506 if (!SWIG_IsOK(ecode1
)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4509 arg1
= static_cast< int >(val1
);
4510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4511 if (!SWIG_IsOK(res2
)) {
4512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4514 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4515 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4516 if (!SWIG_IsOK(res3
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4519 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4520 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4521 if (!SWIG_IsOK(res4
)) {
4522 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4524 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4526 if (!wxPyCheckForApp()) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4539 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4540 PyObject
*resultobj
= 0;
4541 wxPalette
*arg1
= (wxPalette
*) 0 ;
4544 PyObject
*swig_obj
[1] ;
4546 if (!args
) SWIG_fail
;
4548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4549 if (!SWIG_IsOK(res1
)) {
4550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4552 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4560 resultobj
= SWIG_Py_Void();
4567 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
= 0;
4569 wxPalette
*arg1
= (wxPalette
*) 0 ;
4576 unsigned char val2
;
4578 unsigned char val3
;
4580 unsigned char val4
;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 PyObject
* obj2
= 0 ;
4585 PyObject
* obj3
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4595 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4596 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4600 arg2
= static_cast< byte
>(val2
);
4601 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4602 if (!SWIG_IsOK(ecode3
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4605 arg3
= static_cast< byte
>(val3
);
4606 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4607 if (!SWIG_IsOK(ecode4
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4610 arg4
= static_cast< byte
>(val4
);
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_From_int(static_cast< int >(result
));
4624 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= 0;
4626 wxPalette
*arg1
= (wxPalette
*) 0 ;
4628 byte
*arg3
= (byte
*) 0 ;
4629 byte
*arg4
= (byte
*) 0 ;
4630 byte
*arg5
= (byte
*) 0 ;
4637 int res3
= SWIG_TMPOBJ
;
4639 int res4
= SWIG_TMPOBJ
;
4641 int res5
= SWIG_TMPOBJ
;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4644 char * kwnames
[] = {
4645 (char *) "self",(char *) "pixel", NULL
4651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4653 if (!SWIG_IsOK(res1
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4656 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4658 if (!SWIG_IsOK(ecode2
)) {
4659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4661 arg2
= static_cast< int >(val2
);
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4671 if (SWIG_IsTmpObj(res3
)) {
4672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4677 if (SWIG_IsTmpObj(res4
)) {
4678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4680 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4683 if (SWIG_IsTmpObj(res5
)) {
4684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4686 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4695 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4696 PyObject
*resultobj
= 0;
4697 wxPalette
*arg1
= (wxPalette
*) 0 ;
4701 PyObject
*swig_obj
[1] ;
4703 if (!args
) SWIG_fail
;
4705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4706 if (!SWIG_IsOK(res1
)) {
4707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4709 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_From_int(static_cast< int >(result
));
4723 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4724 PyObject
*resultobj
= 0;
4725 wxPalette
*arg1
= (wxPalette
*) 0 ;
4729 PyObject
*swig_obj
[1] ;
4731 if (!args
) SWIG_fail
;
4733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4734 if (!SWIG_IsOK(res1
)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4737 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (bool)(arg1
)->IsOk();
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4753 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4756 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4757 return SWIG_Py_Void();
4760 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4761 return SWIG_Python_InitShadowInstance(args
);
4764 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
= 0;
4766 wxColour
*arg1
= 0 ;
4767 int arg2
= (int) 1 ;
4768 int arg3
= (int) wxSOLID
;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4778 char * kwnames
[] = {
4779 (char *) "colour",(char *) "width",(char *) "style", NULL
4782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4785 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4789 if (!SWIG_IsOK(ecode2
)) {
4790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4792 arg2
= static_cast< int >(val2
);
4795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4796 if (!SWIG_IsOK(ecode3
)) {
4797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4799 arg3
= static_cast< int >(val3
);
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4815 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4816 PyObject
*resultobj
= 0;
4817 wxPen
*arg1
= (wxPen
*) 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4828 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_Py_Void();
4843 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4844 PyObject
*resultobj
= 0;
4845 wxPen
*arg1
= (wxPen
*) 0 ;
4849 PyObject
*swig_obj
[1] ;
4851 if (!args
) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4857 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 result
= (int)(arg1
)->GetCap();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_From_int(static_cast< int >(result
));
4871 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4872 PyObject
*resultobj
= 0;
4873 wxPen
*arg1
= (wxPen
*) 0 ;
4877 PyObject
*swig_obj
[1] ;
4879 if (!args
) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4885 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (arg1
)->GetColour();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4899 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4900 PyObject
*resultobj
= 0;
4901 wxPen
*arg1
= (wxPen
*) 0 ;
4905 PyObject
*swig_obj
[1] ;
4907 if (!args
) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4913 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (int)(arg1
)->GetJoin();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_From_int(static_cast< int >(result
));
4927 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4928 PyObject
*resultobj
= 0;
4929 wxPen
*arg1
= (wxPen
*) 0 ;
4933 PyObject
*swig_obj
[1] ;
4935 if (!args
) SWIG_fail
;
4937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4938 if (!SWIG_IsOK(res1
)) {
4939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4941 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (int)(arg1
)->GetStyle();
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= SWIG_From_int(static_cast< int >(result
));
4955 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4956 PyObject
*resultobj
= 0;
4957 wxPen
*arg1
= (wxPen
*) 0 ;
4961 PyObject
*swig_obj
[1] ;
4963 if (!args
) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4969 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 result
= (int)(arg1
)->GetWidth();
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= SWIG_From_int(static_cast< int >(result
));
4983 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4984 PyObject
*resultobj
= 0;
4985 wxPen
*arg1
= (wxPen
*) 0 ;
4989 PyObject
*swig_obj
[1] ;
4991 if (!args
) SWIG_fail
;
4993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4994 if (!SWIG_IsOK(res1
)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
4997 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (bool)(arg1
)->IsOk();
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5013 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
= 0;
5015 wxPen
*arg1
= (wxPen
*) 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5023 char * kwnames
[] = {
5024 (char *) "self",(char *) "cap_style", NULL
5027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5032 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5034 if (!SWIG_IsOK(ecode2
)) {
5035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5037 arg2
= static_cast< int >(val2
);
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->SetCap(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_Py_Void();
5051 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
= 0;
5053 wxPen
*arg1
= (wxPen
*) 0 ;
5054 wxColour
*arg2
= 0 ;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5060 char * kwnames
[] = {
5061 (char *) "self",(char *) "colour", NULL
5064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5066 if (!SWIG_IsOK(res1
)) {
5067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5069 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5072 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetColour(*arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_Py_Void();
5087 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
= 0;
5089 wxPen
*arg1
= (wxPen
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5097 char * kwnames
[] = {
5098 (char *) "self",(char *) "join_style", NULL
5101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5103 if (!SWIG_IsOK(res1
)) {
5104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5106 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5108 if (!SWIG_IsOK(ecode2
)) {
5109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5111 arg2
= static_cast< int >(val2
);
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 (arg1
)->SetJoin(arg2
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_Py_Void();
5125 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
= 0;
5127 wxPen
*arg1
= (wxPen
*) 0 ;
5133 PyObject
* obj0
= 0 ;
5134 PyObject
* obj1
= 0 ;
5135 char * kwnames
[] = {
5136 (char *) "self",(char *) "style", NULL
5139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5141 if (!SWIG_IsOK(res1
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5144 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5146 if (!SWIG_IsOK(ecode2
)) {
5147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5149 arg2
= static_cast< int >(val2
);
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 (arg1
)->SetStyle(arg2
);
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_Py_Void();
5163 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
= 0;
5165 wxPen
*arg1
= (wxPen
*) 0 ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5173 char * kwnames
[] = {
5174 (char *) "self",(char *) "width", NULL
5177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5182 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5184 if (!SWIG_IsOK(ecode2
)) {
5185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5187 arg2
= static_cast< int >(val2
);
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 (arg1
)->SetWidth(arg2
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_Py_Void();
5201 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
= 0;
5203 wxPen
*arg1
= (wxPen
*) 0 ;
5205 wxDash
*arg3
= (wxDash
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 char * kwnames
[] = {
5211 (char *) "self",(char *) "dashes", NULL
5214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5216 if (!SWIG_IsOK(res1
)) {
5217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5219 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5221 arg2
= PyList_Size(obj1
);
5222 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5223 if (arg3
== NULL
) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 (arg1
)->SetDashes(arg2
,arg3
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_Py_Void();
5233 if (arg3
) delete [] arg3
;
5238 if (arg3
) delete [] arg3
;
5244 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5245 PyObject
*resultobj
= 0;
5246 wxPen
*arg1
= (wxPen
*) 0 ;
5247 PyObject
*result
= 0 ;
5250 PyObject
*swig_obj
[1] ;
5252 if (!args
) SWIG_fail
;
5254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5255 if (!SWIG_IsOK(res1
)) {
5256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5258 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5272 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
= 0;
5274 wxPen
*arg1
= (wxPen
*) 0 ;
5275 PyObject
*arg2
= (PyObject
*) 0 ;
5276 PyObject
*arg3
= (PyObject
*) 0 ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5281 PyObject
* obj2
= 0 ;
5282 char * kwnames
[] = {
5283 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5288 if (!SWIG_IsOK(res1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5291 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 wxPen__SetDashes(arg1
,arg2
,arg3
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_Py_Void();
5307 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5308 PyObject
*resultobj
= 0;
5309 wxPen
*arg1
= (wxPen
*) 0 ;
5313 PyObject
*swig_obj
[1] ;
5315 if (!args
) SWIG_fail
;
5317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5318 if (!SWIG_IsOK(res1
)) {
5319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5321 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_From_int(static_cast< int >(result
));
5335 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5336 PyObject
*resultobj
= 0;
5337 wxPen
*arg1
= (wxPen
*) 0 ;
5338 wxBitmap
*result
= 0 ;
5341 PyObject
*swig_obj
[1] ;
5343 if (!args
) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5349 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (wxBitmap
*)(arg1
)->GetStipple();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5363 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxPen
*arg1
= (wxPen
*) 0 ;
5366 wxBitmap
*arg2
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "stipple", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5382 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5384 if (!SWIG_IsOK(res2
)) {
5385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5390 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 (arg1
)->SetStipple(*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_Py_Void();
5404 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
= 0;
5406 wxPen
*arg1
= (wxPen
*) 0 ;
5407 wxPen
*arg2
= (wxPen
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 char * kwnames
[] = {
5416 (char *) "self",(char *) "other", NULL
5419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5421 if (!SWIG_IsOK(res1
)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5424 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5426 if (!SWIG_IsOK(res2
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5429 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5445 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxPen
*arg1
= (wxPen
*) 0 ;
5448 wxPen
*arg2
= (wxPen
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "self",(char *) "other", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5465 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5467 if (!SWIG_IsOK(res2
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5470 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5486 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5489 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5490 return SWIG_Py_Void();
5493 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5494 return SWIG_Python_InitShadowInstance(args
);
5497 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
= 0;
5499 wxColour
*arg1
= 0 ;
5500 int arg2
= (int) wxSOLID
;
5501 wxBrush
*result
= 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "colour",(char *) "style", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5514 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5518 if (!SWIG_IsOK(ecode2
)) {
5519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5521 arg2
= static_cast< int >(val2
);
5524 if (!wxPyCheckForApp()) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5537 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
= 0;
5539 wxBitmap
*arg1
= 0 ;
5540 wxBrush
*result
= 0 ;
5543 PyObject
* obj0
= 0 ;
5544 char * kwnames
[] = {
5545 (char *) "stippleBitmap", NULL
5548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5549 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5550 if (!SWIG_IsOK(res1
)) {
5551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5556 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5558 if (!wxPyCheckForApp()) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5571 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5572 PyObject
*resultobj
= 0;
5573 wxBrush
*arg1
= (wxBrush
*) 0 ;
5576 PyObject
*swig_obj
[1] ;
5578 if (!args
) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5584 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_Py_Void();
5599 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
= 0;
5601 wxBrush
*arg1
= (wxBrush
*) 0 ;
5602 wxColour
*arg2
= 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "col", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5617 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->SetColour((wxColour
const &)*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_Py_Void();
5635 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
= 0;
5637 wxBrush
*arg1
= (wxBrush
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 char * kwnames
[] = {
5646 (char *) "self",(char *) "style", NULL
5649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5651 if (!SWIG_IsOK(res1
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5654 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5656 if (!SWIG_IsOK(ecode2
)) {
5657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5659 arg2
= static_cast< int >(val2
);
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 (arg1
)->SetStyle(arg2
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= SWIG_Py_Void();
5673 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
= 0;
5675 wxBrush
*arg1
= (wxBrush
*) 0 ;
5676 wxBitmap
*arg2
= 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "stipple", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5692 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5694 if (!SWIG_IsOK(res2
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5700 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= SWIG_Py_Void();
5714 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 PyObject
*resultobj
= 0;
5716 wxBrush
*arg1
= (wxBrush
*) 0 ;
5720 PyObject
*swig_obj
[1] ;
5722 if (!args
) SWIG_fail
;
5724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5725 if (!SWIG_IsOK(res1
)) {
5726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5728 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= ((wxBrush
const *)arg1
)->GetColour();
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5742 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5743 PyObject
*resultobj
= 0;
5744 wxBrush
*arg1
= (wxBrush
*) 0 ;
5748 PyObject
*swig_obj
[1] ;
5750 if (!args
) SWIG_fail
;
5752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5753 if (!SWIG_IsOK(res1
)) {
5754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5756 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= SWIG_From_int(static_cast< int >(result
));
5770 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5771 PyObject
*resultobj
= 0;
5772 wxBrush
*arg1
= (wxBrush
*) 0 ;
5773 wxBitmap
*result
= 0 ;
5776 PyObject
*swig_obj
[1] ;
5778 if (!args
) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5784 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5798 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5799 PyObject
*resultobj
= 0;
5800 wxBrush
*arg1
= (wxBrush
*) 0 ;
5804 PyObject
*swig_obj
[1] ;
5806 if (!args
) SWIG_fail
;
5808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5809 if (!SWIG_IsOK(res1
)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5812 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5828 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5829 PyObject
*resultobj
= 0;
5830 wxBrush
*arg1
= (wxBrush
*) 0 ;
5834 PyObject
*swig_obj
[1] ;
5836 if (!args
) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5842 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 result
= (bool)(arg1
)->IsOk();
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5858 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5861 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5862 return SWIG_Py_Void();
5865 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5866 return SWIG_Python_InitShadowInstance(args
);
5869 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
= 0;
5871 wxString
*arg1
= 0 ;
5872 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5873 wxBitmap
*result
= 0 ;
5874 bool temp1
= false ;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "name",(char *) "type", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5885 arg1
= wxString_in_helper(obj0
);
5886 if (arg1
== NULL
) SWIG_fail
;
5890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5891 if (!SWIG_IsOK(ecode2
)) {
5892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5894 arg2
= static_cast< wxBitmapType
>(val2
);
5897 if (!wxPyCheckForApp()) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5918 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5919 PyObject
*resultobj
= 0;
5920 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5923 PyObject
*swig_obj
[1] ;
5925 if (!args
) SWIG_fail
;
5927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5928 if (!SWIG_IsOK(res1
)) {
5929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5931 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_Py_Void();
5944 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5948 int arg3
= (int) -1 ;
5949 wxBitmap
*result
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5958 PyObject
* obj2
= 0 ;
5959 char * kwnames
[] = {
5960 (char *) "width",(char *) "height",(char *) "depth", NULL
5963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5965 if (!SWIG_IsOK(ecode1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5968 arg1
= static_cast< int >(val1
);
5969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5970 if (!SWIG_IsOK(ecode2
)) {
5971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5973 arg2
= static_cast< int >(val2
);
5975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5976 if (!SWIG_IsOK(ecode3
)) {
5977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5979 arg3
= static_cast< int >(val3
);
5982 if (!wxPyCheckForApp()) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5995 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= 0;
5998 wxBitmap
*result
= 0 ;
6001 PyObject
* obj0
= 0 ;
6002 char * kwnames
[] = {
6003 (char *) "icon", NULL
6006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6014 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6016 if (!wxPyCheckForApp()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6029 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
= 0;
6032 int arg2
= (int) -1 ;
6033 wxBitmap
*result
= 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 char * kwnames
[] = {
6041 (char *) "image",(char *) "depth", NULL
6044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6045 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6046 if (!SWIG_IsOK(res1
)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6052 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6055 if (!SWIG_IsOK(ecode2
)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6058 arg2
= static_cast< int >(val2
);
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6074 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 PyObject
*arg1
= (PyObject
*) 0 ;
6077 wxBitmap
*result
= 0 ;
6078 PyObject
* obj0
= 0 ;
6079 char * kwnames
[] = {
6080 (char *) "listOfStrings", NULL
6083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6086 if (!wxPyCheckForApp()) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6099 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6100 PyObject
*resultobj
= 0;
6101 PyObject
*arg1
= (PyObject
*) 0 ;
6104 int arg4
= (int) 1 ;
6105 wxBitmap
*result
= 0 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 PyObject
* obj2
= 0 ;
6115 PyObject
* obj3
= 0 ;
6116 char * kwnames
[] = {
6117 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6123 if (!SWIG_IsOK(ecode2
)) {
6124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6126 arg2
= static_cast< int >(val2
);
6127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6128 if (!SWIG_IsOK(ecode3
)) {
6129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6131 arg3
= static_cast< int >(val3
);
6133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6134 if (!SWIG_IsOK(ecode4
)) {
6135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6137 arg4
= static_cast< int >(val4
);
6140 if (!wxPyCheckForApp()) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6153 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6154 PyObject
*resultobj
= 0;
6155 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6159 PyObject
*swig_obj
[1] ;
6161 if (!args
) SWIG_fail
;
6163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6164 if (!SWIG_IsOK(res1
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6169 result
= (long)(arg1
)->GetHandle();
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_From_long(static_cast< long >(result
));
6179 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
= 0;
6181 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6188 PyObject
* obj1
= 0 ;
6189 char * kwnames
[] = {
6190 (char *) "self",(char *) "handle", NULL
6193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6195 if (!SWIG_IsOK(res1
)) {
6196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6198 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6199 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6200 if (!SWIG_IsOK(ecode2
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6203 arg2
= static_cast< long >(val2
);
6205 wxBitmap_SetHandle(arg1
,arg2
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= SWIG_Py_Void();
6215 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6216 PyObject
*resultobj
= 0;
6217 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6221 PyObject
*swig_obj
[1] ;
6223 if (!args
) SWIG_fail
;
6225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6226 if (!SWIG_IsOK(res1
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6229 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6231 result
= (bool)(arg1
)->IsOk();
6232 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6243 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6244 PyObject
*resultobj
= 0;
6245 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6249 PyObject
*swig_obj
[1] ;
6251 if (!args
) SWIG_fail
;
6253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6254 if (!SWIG_IsOK(res1
)) {
6255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 result
= (int)(arg1
)->GetWidth();
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_From_int(static_cast< int >(result
));
6269 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6270 PyObject
*resultobj
= 0;
6271 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6275 PyObject
*swig_obj
[1] ;
6277 if (!args
) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6283 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6285 result
= (int)(arg1
)->GetHeight();
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_From_int(static_cast< int >(result
));
6295 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6296 PyObject
*resultobj
= 0;
6297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6301 PyObject
*swig_obj
[1] ;
6303 if (!args
) SWIG_fail
;
6305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6306 if (!SWIG_IsOK(res1
)) {
6307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6309 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6311 result
= (int)(arg1
)->GetDepth();
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_From_int(static_cast< int >(result
));
6321 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6322 PyObject
*resultobj
= 0;
6323 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6327 PyObject
*swig_obj
[1] ;
6329 if (!args
) SWIG_fail
;
6331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6332 if (!SWIG_IsOK(res1
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6335 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6337 result
= wxBitmap_GetSize(arg1
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6347 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6348 PyObject
*resultobj
= 0;
6349 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6350 SwigValueWrapper
<wxImage
> result
;
6353 PyObject
*swig_obj
[1] ;
6355 if (!args
) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6363 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6373 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6376 wxMask
*result
= 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6387 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6389 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6399 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
= 0;
6401 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6402 wxMask
*arg2
= (wxMask
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6408 char * kwnames
[] = {
6409 (char *) "self",(char *) "mask", NULL
6412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6417 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6418 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6419 if (!SWIG_IsOK(res2
)) {
6420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6423 (arg1
)->SetMask(arg2
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_Py_Void();
6433 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
= 0;
6435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6436 wxColour
*arg2
= 0 ;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6442 char * kwnames
[] = {
6443 (char *) "self",(char *) "colour", NULL
6446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6448 if (!SWIG_IsOK(res1
)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6451 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6457 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 resultobj
= SWIG_Py_Void();
6467 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
= 0;
6469 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6471 SwigValueWrapper
<wxBitmap
> result
;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6477 char * kwnames
[] = {
6478 (char *) "self",(char *) "rect", NULL
6481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6483 if (!SWIG_IsOK(res1
)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6486 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6489 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6492 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6502 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
= 0;
6504 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6505 wxString
*arg2
= 0 ;
6507 wxPalette
*arg4
= (wxPalette
*) NULL
;
6511 bool temp2
= false ;
6516 PyObject
* obj0
= 0 ;
6517 PyObject
* obj1
= 0 ;
6518 PyObject
* obj2
= 0 ;
6519 PyObject
* obj3
= 0 ;
6520 char * kwnames
[] = {
6521 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6526 if (!SWIG_IsOK(res1
)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6529 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6531 arg2
= wxString_in_helper(obj1
);
6532 if (arg2
== NULL
) SWIG_fail
;
6535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6536 if (!SWIG_IsOK(ecode3
)) {
6537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6539 arg3
= static_cast< wxBitmapType
>(val3
);
6541 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6542 if (!SWIG_IsOK(res4
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6545 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6548 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6568 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
= 0;
6570 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6571 wxString
*arg2
= 0 ;
6576 bool temp2
= false ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 PyObject
* obj2
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "self",(char *) "name",(char *) "type", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6593 arg2
= wxString_in_helper(obj1
);
6594 if (arg2
== NULL
) SWIG_fail
;
6597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6598 if (!SWIG_IsOK(ecode3
)) {
6599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6601 arg3
= static_cast< wxBitmapType
>(val3
);
6603 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6623 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6624 PyObject
*resultobj
= 0;
6625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6626 wxPalette
*result
= 0 ;
6629 PyObject
*swig_obj
[1] ;
6631 if (!args
) SWIG_fail
;
6633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6634 if (!SWIG_IsOK(res1
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6637 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6639 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6649 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
= 0;
6651 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6652 wxPalette
*arg2
= 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 char * kwnames
[] = {
6660 (char *) "self",(char *) "palette", NULL
6663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6670 if (!SWIG_IsOK(res2
)) {
6671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6676 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6678 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= SWIG_Py_Void();
6688 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6699 char * kwnames
[] = {
6700 (char *) "self",(char *) "icon", NULL
6703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6705 if (!SWIG_IsOK(res1
)) {
6706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6708 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6710 if (!SWIG_IsOK(res2
)) {
6711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6716 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6718 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6730 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
= 0;
6732 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6740 char * kwnames
[] = {
6741 (char *) "self",(char *) "height", NULL
6744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6746 if (!SWIG_IsOK(res1
)) {
6747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6751 if (!SWIG_IsOK(ecode2
)) {
6752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6754 arg2
= static_cast< int >(val2
);
6756 (arg1
)->SetHeight(arg2
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_Py_Void();
6766 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
= 0;
6768 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6776 char * kwnames
[] = {
6777 (char *) "self",(char *) "width", NULL
6780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6782 if (!SWIG_IsOK(res1
)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6787 if (!SWIG_IsOK(ecode2
)) {
6788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6790 arg2
= static_cast< int >(val2
);
6792 (arg1
)->SetWidth(arg2
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= SWIG_Py_Void();
6802 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6812 char * kwnames
[] = {
6813 (char *) "self",(char *) "depth", NULL
6816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6818 if (!SWIG_IsOK(res1
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6821 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6823 if (!SWIG_IsOK(ecode2
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6826 arg2
= static_cast< int >(val2
);
6828 (arg1
)->SetDepth(arg2
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_Py_Void();
6838 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
= 0;
6840 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 char * kwnames
[] = {
6848 (char *) "self",(char *) "size", NULL
6851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6853 if (!SWIG_IsOK(res1
)) {
6854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6856 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6859 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6862 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_Py_Void();
6872 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
= 0;
6874 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6875 wxCursor
*arg2
= 0 ;
6881 PyObject
* obj0
= 0 ;
6882 PyObject
* obj1
= 0 ;
6883 char * kwnames
[] = {
6884 (char *) "self",(char *) "cursor", NULL
6887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6889 if (!SWIG_IsOK(res1
)) {
6890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6892 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6894 if (!SWIG_IsOK(res2
)) {
6895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6900 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6902 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= 0;
6916 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6917 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6925 char * kwnames
[] = {
6926 (char *) "self",(char *) "other", NULL
6929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6934 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6936 if (!SWIG_IsOK(res2
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6939 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6941 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6953 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
= 0;
6955 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6956 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6964 char * kwnames
[] = {
6965 (char *) "self",(char *) "other", NULL
6968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6973 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6975 if (!SWIG_IsOK(res2
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6978 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6980 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6992 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6995 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6996 return SWIG_Py_Void();
6999 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7000 return SWIG_Python_InitShadowInstance(args
);
7003 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
= 0;
7011 wxBitmap
*result
= 0 ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 PyObject
* obj2
= 0 ;
7021 PyObject
* obj3
= 0 ;
7022 char * kwnames
[] = {
7023 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7028 if (!SWIG_IsOK(ecode1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7031 arg1
= static_cast< int >(val1
);
7032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7033 if (!SWIG_IsOK(ecode2
)) {
7034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7036 arg2
= static_cast< int >(val2
);
7038 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7042 if (obj3
!= Py_None
) {
7043 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7048 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7058 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
= 0;
7064 wxBitmap
*result
= 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7072 PyObject
* obj2
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "width",(char *) "height",(char *) "data", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7079 if (!SWIG_IsOK(ecode1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7082 arg1
= static_cast< int >(val1
);
7083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7084 if (!SWIG_IsOK(ecode2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7087 arg2
= static_cast< int >(val2
);
7089 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7093 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7103 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7109 wxBitmap
*result
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7117 PyObject
* obj2
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "width",(char *) "height",(char *) "data", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7123 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7124 if (!SWIG_IsOK(ecode1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7127 arg1
= static_cast< int >(val1
);
7128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7129 if (!SWIG_IsOK(ecode2
)) {
7130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7132 arg2
= static_cast< int >(val2
);
7134 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7138 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7148 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7154 PyObject
*swig_obj
[1] ;
7156 if (!args
) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7162 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7164 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7174 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7175 PyObject
*resultobj
= 0;
7176 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7180 PyObject
*swig_obj
[1] ;
7182 if (!args
) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7188 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7190 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_From_int(static_cast< int >(result
));
7200 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7201 PyObject
*resultobj
= 0;
7202 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7206 PyObject
*swig_obj
[1] ;
7208 if (!args
) SWIG_fail
;
7210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7211 if (!SWIG_IsOK(res1
)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7214 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7216 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_From_int(static_cast< int >(result
));
7226 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7240 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7242 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7252 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7253 PyObject
*resultobj
= 0;
7254 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7258 PyObject
*swig_obj
[1] ;
7260 if (!args
) SWIG_fail
;
7262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7263 if (!SWIG_IsOK(res1
)) {
7264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7266 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7268 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 resultobj
= SWIG_From_int(static_cast< int >(result
));
7278 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7282 return SWIG_Py_Void();
7285 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7286 PyObject
*resultobj
= 0;
7287 wxBitmap
*arg1
= 0 ;
7288 wxNativePixelData
*result
= 0 ;
7292 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7294 if (!SWIG_IsOK(res1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7300 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7302 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7312 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7313 PyObject
*resultobj
= 0;
7314 wxBitmap
*arg1
= 0 ;
7316 wxNativePixelData
*result
= 0 ;
7321 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7329 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7332 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7335 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7345 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7346 PyObject
*resultobj
= 0;
7347 wxBitmap
*arg1
= 0 ;
7350 wxNativePixelData
*result
= 0 ;
7356 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7358 if (!SWIG_IsOK(res1
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7367 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7371 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7374 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7384 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7388 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7391 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7394 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7397 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7401 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7406 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7407 PyObject
*resultobj
= 0;
7408 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7411 PyObject
*swig_obj
[1] ;
7413 if (!args
) SWIG_fail
;
7415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7416 if (!SWIG_IsOK(res1
)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7419 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_Py_Void();
7432 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7433 PyObject
*resultobj
= 0;
7434 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7435 wxNativePixelData_Accessor result
;
7438 PyObject
*swig_obj
[1] ;
7440 if (!args
) SWIG_fail
;
7442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7443 if (!SWIG_IsOK(res1
)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7446 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7448 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7449 if (PyErr_Occurred()) SWIG_fail
;
7451 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7458 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7459 PyObject
*resultobj
= 0;
7460 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7463 PyObject
*swig_obj
[1] ;
7465 if (!args
) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7471 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= SWIG_Py_Void();
7483 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7484 PyObject
*resultobj
= 0;
7485 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7489 PyObject
*swig_obj
[1] ;
7491 if (!args
) SWIG_fail
;
7493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7494 if (!SWIG_IsOK(res1
)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7497 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7499 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7511 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7514 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7515 return SWIG_Py_Void();
7518 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7519 return SWIG_Python_InitShadowInstance(args
);
7522 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7523 PyObject
*resultobj
= 0;
7524 wxNativePixelData
*arg1
= 0 ;
7525 wxNativePixelData_Accessor
*result
= 0 ;
7529 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7537 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7539 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7549 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7550 PyObject
*resultobj
= 0;
7551 wxBitmap
*arg1
= 0 ;
7552 wxNativePixelData
*arg2
= 0 ;
7553 wxNativePixelData_Accessor
*result
= 0 ;
7559 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7567 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7568 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7569 if (!SWIG_IsOK(res2
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7575 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7577 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7587 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7588 PyObject
*resultobj
= 0;
7589 wxNativePixelData_Accessor
*result
= 0 ;
7591 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7593 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7603 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7607 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7610 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7613 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7616 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7620 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7625 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 PyObject
*resultobj
= 0;
7627 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7630 PyObject
*swig_obj
[1] ;
7632 if (!args
) SWIG_fail
;
7634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7635 if (!SWIG_IsOK(res1
)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7638 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_Py_Void();
7651 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
= 0;
7653 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7654 wxNativePixelData
*arg2
= 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7661 char * kwnames
[] = {
7662 (char *) "self",(char *) "data", NULL
7665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7667 if (!SWIG_IsOK(res1
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7670 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7672 if (!SWIG_IsOK(res2
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7678 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7680 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_Py_Void();
7690 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7691 PyObject
*resultobj
= 0;
7692 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7696 PyObject
*swig_obj
[1] ;
7698 if (!args
) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7704 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7706 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7719 PyObject
*resultobj
= 0;
7720 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7723 PyObject
*swig_obj
[1] ;
7725 if (!args
) SWIG_fail
;
7727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7728 if (!SWIG_IsOK(res1
)) {
7729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7731 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7733 wxNativePixelData_Accessor_nextPixel(arg1
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_Py_Void();
7743 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7746 wxNativePixelData
*arg2
= 0 ;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 PyObject
* obj2
= 0 ;
7760 PyObject
* obj3
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7770 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7772 if (!SWIG_IsOK(res2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7778 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7780 if (!SWIG_IsOK(ecode3
)) {
7781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7783 arg3
= static_cast< int >(val3
);
7784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7785 if (!SWIG_IsOK(ecode4
)) {
7786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7788 arg4
= static_cast< int >(val4
);
7790 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= SWIG_Py_Void();
7800 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7803 wxNativePixelData
*arg2
= 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "self",(char *) "data",(char *) "x", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7823 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7825 if (!SWIG_IsOK(res2
)) {
7826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7831 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7833 if (!SWIG_IsOK(ecode3
)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7836 arg3
= static_cast< int >(val3
);
7838 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_Py_Void();
7848 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
= 0;
7850 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7851 wxNativePixelData
*arg2
= 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 PyObject
* obj2
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "data",(char *) "y", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7871 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7873 if (!SWIG_IsOK(res2
)) {
7874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7879 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7881 if (!SWIG_IsOK(ecode3
)) {
7882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7884 arg3
= static_cast< int >(val3
);
7886 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7899 wxNativePixelData
*arg2
= 0 ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7913 PyObject
* obj3
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7923 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7925 if (!SWIG_IsOK(res2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7931 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7933 if (!SWIG_IsOK(ecode3
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7936 arg3
= static_cast< int >(val3
);
7937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7938 if (!SWIG_IsOK(ecode4
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7941 arg4
= static_cast< int >(val4
);
7943 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_Py_Void();
7953 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= 0;
7955 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7961 unsigned char val2
;
7963 unsigned char val3
;
7965 unsigned char val4
;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7970 PyObject
* obj3
= 0 ;
7971 char * kwnames
[] = {
7972 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7980 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7981 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7982 if (!SWIG_IsOK(ecode2
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7985 arg2
= static_cast< byte
>(val2
);
7986 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7987 if (!SWIG_IsOK(ecode3
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7990 arg3
= static_cast< byte
>(val3
);
7991 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7992 if (!SWIG_IsOK(ecode4
)) {
7993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7995 arg4
= static_cast< byte
>(val4
);
7997 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_Py_Void();
8007 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 PyObject
*resultobj
= 0;
8009 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8010 PyObject
*result
= 0 ;
8013 PyObject
*swig_obj
[1] ;
8015 if (!args
) SWIG_fail
;
8017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8018 if (!SWIG_IsOK(res1
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8021 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8023 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8033 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8036 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8037 return SWIG_Py_Void();
8040 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8041 return SWIG_Python_InitShadowInstance(args
);
8044 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8045 PyObject
*resultobj
= 0;
8046 wxBitmap
*arg1
= 0 ;
8047 wxAlphaPixelData
*result
= 0 ;
8051 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8053 if (!SWIG_IsOK(res1
)) {
8054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8059 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8061 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8071 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8072 PyObject
*resultobj
= 0;
8073 wxBitmap
*arg1
= 0 ;
8075 wxAlphaPixelData
*result
= 0 ;
8080 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8082 if (!SWIG_IsOK(res1
)) {
8083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8088 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8091 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8094 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8104 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8105 PyObject
*resultobj
= 0;
8106 wxBitmap
*arg1
= 0 ;
8109 wxAlphaPixelData
*result
= 0 ;
8115 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8117 if (!SWIG_IsOK(res1
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8123 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8126 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8130 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8133 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8143 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8147 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8150 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8153 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8156 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8160 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8165 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8166 PyObject
*resultobj
= 0;
8167 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8170 PyObject
*swig_obj
[1] ;
8172 if (!args
) SWIG_fail
;
8174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8175 if (!SWIG_IsOK(res1
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8178 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_Py_Void();
8191 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8192 PyObject
*resultobj
= 0;
8193 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8194 wxAlphaPixelData_Accessor result
;
8197 PyObject
*swig_obj
[1] ;
8199 if (!args
) SWIG_fail
;
8201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8202 if (!SWIG_IsOK(res1
)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8205 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8207 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8217 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 PyObject
*resultobj
= 0;
8219 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8222 PyObject
*swig_obj
[1] ;
8224 if (!args
) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8230 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_Py_Void();
8242 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8243 PyObject
*resultobj
= 0;
8244 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8248 PyObject
*swig_obj
[1] ;
8250 if (!args
) SWIG_fail
;
8252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8253 if (!SWIG_IsOK(res1
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8256 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8258 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8270 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8273 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8274 return SWIG_Py_Void();
8277 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8278 return SWIG_Python_InitShadowInstance(args
);
8281 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8282 PyObject
*resultobj
= 0;
8283 wxAlphaPixelData
*arg1
= 0 ;
8284 wxAlphaPixelData_Accessor
*result
= 0 ;
8288 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8290 if (!SWIG_IsOK(res1
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8296 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8298 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8308 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8309 PyObject
*resultobj
= 0;
8310 wxBitmap
*arg1
= 0 ;
8311 wxAlphaPixelData
*arg2
= 0 ;
8312 wxAlphaPixelData_Accessor
*result
= 0 ;
8318 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8326 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8327 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8328 if (!SWIG_IsOK(res2
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8334 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8336 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8346 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8347 PyObject
*resultobj
= 0;
8348 wxAlphaPixelData_Accessor
*result
= 0 ;
8350 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8352 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8362 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8366 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8369 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8372 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8375 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8379 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8384 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 PyObject
*resultobj
= 0;
8386 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8389 PyObject
*swig_obj
[1] ;
8391 if (!args
) SWIG_fail
;
8393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8394 if (!SWIG_IsOK(res1
)) {
8395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8397 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_Py_Void();
8410 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
= 0;
8412 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8413 wxAlphaPixelData
*arg2
= 0 ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 char * kwnames
[] = {
8421 (char *) "self",(char *) "data", NULL
8424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8426 if (!SWIG_IsOK(res1
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8429 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8431 if (!SWIG_IsOK(res2
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8437 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8439 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_Py_Void();
8449 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8450 PyObject
*resultobj
= 0;
8451 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8455 PyObject
*swig_obj
[1] ;
8457 if (!args
) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8463 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8465 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8477 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8478 PyObject
*resultobj
= 0;
8479 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8482 PyObject
*swig_obj
[1] ;
8484 if (!args
) SWIG_fail
;
8486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8487 if (!SWIG_IsOK(res1
)) {
8488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8490 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8492 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_Py_Void();
8502 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8505 wxAlphaPixelData
*arg2
= 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8519 PyObject
* obj3
= 0 ;
8520 char * kwnames
[] = {
8521 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8526 if (!SWIG_IsOK(res1
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8529 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8531 if (!SWIG_IsOK(res2
)) {
8532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8537 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8539 if (!SWIG_IsOK(ecode3
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8542 arg3
= static_cast< int >(val3
);
8543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8544 if (!SWIG_IsOK(ecode4
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8547 arg4
= static_cast< int >(val4
);
8549 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_Py_Void();
8559 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
= 0;
8561 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8562 wxAlphaPixelData
*arg2
= 0 ;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 PyObject
* obj2
= 0 ;
8573 char * kwnames
[] = {
8574 (char *) "self",(char *) "data",(char *) "x", NULL
8577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8582 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8584 if (!SWIG_IsOK(res2
)) {
8585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8590 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8592 if (!SWIG_IsOK(ecode3
)) {
8593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8595 arg3
= static_cast< int >(val3
);
8597 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_Py_Void();
8607 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
= 0;
8609 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8610 wxAlphaPixelData
*arg2
= 0 ;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 PyObject
* obj2
= 0 ;
8621 char * kwnames
[] = {
8622 (char *) "self",(char *) "data",(char *) "y", NULL
8625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8630 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8632 if (!SWIG_IsOK(res2
)) {
8633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8638 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8640 if (!SWIG_IsOK(ecode3
)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8643 arg3
= static_cast< int >(val3
);
8645 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_Py_Void();
8655 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
= 0;
8657 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8658 wxAlphaPixelData
*arg2
= 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 PyObject
* obj2
= 0 ;
8672 PyObject
* obj3
= 0 ;
8673 char * kwnames
[] = {
8674 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8682 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8684 if (!SWIG_IsOK(res2
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8690 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8692 if (!SWIG_IsOK(ecode3
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8695 arg3
= static_cast< int >(val3
);
8696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8697 if (!SWIG_IsOK(ecode4
)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8700 arg4
= static_cast< int >(val4
);
8702 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_Py_Void();
8712 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8721 unsigned char val2
;
8723 unsigned char val3
;
8725 unsigned char val4
;
8727 unsigned char val5
;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 PyObject
* obj2
= 0 ;
8732 PyObject
* obj3
= 0 ;
8733 PyObject
* obj4
= 0 ;
8734 char * kwnames
[] = {
8735 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8740 if (!SWIG_IsOK(res1
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8743 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8744 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8745 if (!SWIG_IsOK(ecode2
)) {
8746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8748 arg2
= static_cast< byte
>(val2
);
8749 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8750 if (!SWIG_IsOK(ecode3
)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8753 arg3
= static_cast< byte
>(val3
);
8754 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8755 if (!SWIG_IsOK(ecode4
)) {
8756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8758 arg4
= static_cast< byte
>(val4
);
8759 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8760 if (!SWIG_IsOK(ecode5
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8763 arg5
= static_cast< byte
>(val5
);
8765 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_Py_Void();
8775 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8776 PyObject
*resultobj
= 0;
8777 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8778 PyObject
*result
= 0 ;
8781 PyObject
*swig_obj
[1] ;
8783 if (!args
) SWIG_fail
;
8785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8786 if (!SWIG_IsOK(res1
)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8789 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8791 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8801 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8804 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8805 return SWIG_Py_Void();
8808 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8809 return SWIG_Python_InitShadowInstance(args
);
8812 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
= 0;
8814 wxBitmap
*arg1
= 0 ;
8815 wxColour
const &arg2_defvalue
= wxNullColour
;
8816 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8817 wxMask
*result
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 char * kwnames
[] = {
8824 (char *) "bitmap",(char *) "colour", NULL
8827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8828 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8829 if (!SWIG_IsOK(res1
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8835 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8839 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8843 if (!wxPyCheckForApp()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8856 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8857 PyObject
*resultobj
= 0;
8858 wxMask
*arg1
= (wxMask
*) 0 ;
8861 PyObject
*swig_obj
[1] ;
8863 if (!args
) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8869 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_Py_Void();
8882 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8885 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8886 return SWIG_Py_Void();
8889 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8890 return SWIG_Python_InitShadowInstance(args
);
8893 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
= 0;
8895 wxString
*arg1
= 0 ;
8897 int arg3
= (int) -1 ;
8898 int arg4
= (int) -1 ;
8899 wxIcon
*result
= 0 ;
8900 bool temp1
= false ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8909 PyObject
* obj2
= 0 ;
8910 PyObject
* obj3
= 0 ;
8911 char * kwnames
[] = {
8912 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8917 arg1
= wxString_in_helper(obj0
);
8918 if (arg1
== NULL
) SWIG_fail
;
8921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8922 if (!SWIG_IsOK(ecode2
)) {
8923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8925 arg2
= static_cast< wxBitmapType
>(val2
);
8927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8928 if (!SWIG_IsOK(ecode3
)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8931 arg3
= static_cast< int >(val3
);
8934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8935 if (!SWIG_IsOK(ecode4
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8938 arg4
= static_cast< int >(val4
);
8941 if (!wxPyCheckForApp()) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8962 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8963 PyObject
*resultobj
= 0;
8964 wxIcon
*arg1
= (wxIcon
*) 0 ;
8967 PyObject
*swig_obj
[1] ;
8969 if (!args
) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8975 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_Py_Void();
8990 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8991 PyObject
*resultobj
= 0;
8992 wxIcon
*result
= 0 ;
8994 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8996 if (!wxPyCheckForApp()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (wxIcon
*)new wxIcon();
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9009 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
= 0;
9011 wxIconLocation
*arg1
= 0 ;
9012 wxIcon
*result
= 0 ;
9015 PyObject
* obj0
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "loc", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9028 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9030 if (!wxPyCheckForApp()) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9043 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxBitmap
*arg1
= 0 ;
9046 wxIcon
*result
= 0 ;
9049 PyObject
* obj0
= 0 ;
9050 char * kwnames
[] = {
9051 (char *) "bmp", NULL
9054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9055 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9056 if (!SWIG_IsOK(res1
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9062 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9064 if (!wxPyCheckForApp()) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9077 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
= 0;
9079 PyObject
*arg1
= (PyObject
*) 0 ;
9080 wxIcon
*result
= 0 ;
9081 PyObject
* obj0
= 0 ;
9082 char * kwnames
[] = {
9083 (char *) "listOfStrings", NULL
9086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9089 if (!wxPyCheckForApp()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (wxIcon
*)new_wxIcon(arg1
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9102 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxIcon
*arg1
= (wxIcon
*) 0 ;
9105 wxString
*arg2
= 0 ;
9110 bool temp2
= false ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9116 char * kwnames
[] = {
9117 (char *) "self",(char *) "name",(char *) "type", NULL
9120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9122 if (!SWIG_IsOK(res1
)) {
9123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9125 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9127 arg2
= wxString_in_helper(obj1
);
9128 if (arg2
== NULL
) SWIG_fail
;
9131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9132 if (!SWIG_IsOK(ecode3
)) {
9133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9135 arg3
= static_cast< wxBitmapType
>(val3
);
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9159 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9160 PyObject
*resultobj
= 0;
9161 wxIcon
*arg1
= (wxIcon
*) 0 ;
9165 PyObject
*swig_obj
[1] ;
9167 if (!args
) SWIG_fail
;
9169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9170 if (!SWIG_IsOK(res1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9173 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (long)(arg1
)->GetHandle();
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_From_long(static_cast< long >(result
));
9187 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
= 0;
9189 wxIcon
*arg1
= (wxIcon
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9197 char * kwnames
[] = {
9198 (char *) "self",(char *) "handle", NULL
9201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9203 if (!SWIG_IsOK(res1
)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9206 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9208 if (!SWIG_IsOK(ecode2
)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9211 arg2
= static_cast< long >(val2
);
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 wxIcon_SetHandle(arg1
,arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_Py_Void();
9225 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxIcon
*arg1
= (wxIcon
*) 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9239 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (bool)(arg1
)->IsOk();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9255 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxIcon
*arg1
= (wxIcon
*) 0 ;
9261 PyObject
*swig_obj
[1] ;
9263 if (!args
) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9269 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (int)(arg1
)->GetWidth();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_From_int(static_cast< int >(result
));
9283 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxIcon
*arg1
= (wxIcon
*) 0 ;
9289 PyObject
*swig_obj
[1] ;
9291 if (!args
) SWIG_fail
;
9293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9294 if (!SWIG_IsOK(res1
)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9297 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (int)(arg1
)->GetHeight();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_From_int(static_cast< int >(result
));
9311 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIcon
*arg1
= (wxIcon
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9325 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (int)(arg1
)->GetDepth();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_From_int(static_cast< int >(result
));
9339 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
= 0;
9341 wxIcon
*arg1
= (wxIcon
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 char * kwnames
[] = {
9350 (char *) "self",(char *) "w", NULL
9353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9358 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9360 if (!SWIG_IsOK(ecode2
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9363 arg2
= static_cast< int >(val2
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 (arg1
)->SetWidth(arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxIcon
*arg1
= (wxIcon
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "h", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9396 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->SetHeight(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxIcon
*arg1
= (wxIcon
*) 0 ;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 char * kwnames
[] = {
9426 (char *) "self",(char *) "d", NULL
9429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9431 if (!SWIG_IsOK(res1
)) {
9432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9434 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9436 if (!SWIG_IsOK(ecode2
)) {
9437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9439 arg2
= static_cast< int >(val2
);
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->SetDepth(arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxIcon
*arg1
= (wxIcon
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "size", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9471 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 (arg1
)->SetSize((wxSize
const &)*arg2
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_Py_Void();
9489 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
= 0;
9491 wxIcon
*arg1
= (wxIcon
*) 0 ;
9492 wxBitmap
*arg2
= 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "bmp", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9508 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9510 if (!SWIG_IsOK(res2
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9516 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_Py_Void();
9530 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9533 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9534 return SWIG_Py_Void();
9537 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9538 return SWIG_Python_InitShadowInstance(args
);
9541 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
= 0;
9543 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9544 int arg2
= (int) 0 ;
9545 wxIconLocation
*result
= 0 ;
9546 bool temp1
= false ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9551 char * kwnames
[] = {
9552 (char *) "filename",(char *) "num", NULL
9555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9558 arg1
= wxString_in_helper(obj0
);
9559 if (arg1
== NULL
) SWIG_fail
;
9564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9565 if (!SWIG_IsOK(ecode2
)) {
9566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9568 arg2
= static_cast< int >(val2
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9591 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9592 PyObject
*resultobj
= 0;
9593 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9596 PyObject
*swig_obj
[1] ;
9598 if (!args
) SWIG_fail
;
9600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9601 if (!SWIG_IsOK(res1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9604 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_Py_Void();
9619 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9620 PyObject
*resultobj
= 0;
9621 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9625 PyObject
*swig_obj
[1] ;
9627 if (!args
) SWIG_fail
;
9629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9630 if (!SWIG_IsOK(res1
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9633 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9649 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
*resultobj
= 0;
9651 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9652 wxString
*arg2
= 0 ;
9655 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 char * kwnames
[] = {
9659 (char *) "self",(char *) "filename", NULL
9662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9667 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9669 arg2
= wxString_in_helper(obj1
);
9670 if (arg2
== NULL
) SWIG_fail
;
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 (arg1
)->SetFileName((wxString
const &)*arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= SWIG_Py_Void();
9694 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9695 PyObject
*resultobj
= 0;
9696 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9697 wxString
*result
= 0 ;
9700 PyObject
*swig_obj
[1] ;
9702 if (!args
) SWIG_fail
;
9704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9705 if (!SWIG_IsOK(res1
)) {
9706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9708 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9713 result
= (wxString
*) &_result_ref
;
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9722 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9731 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
= 0;
9733 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9739 PyObject
* obj0
= 0 ;
9740 PyObject
* obj1
= 0 ;
9741 char * kwnames
[] = {
9742 (char *) "self",(char *) "num", NULL
9745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9750 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9752 if (!SWIG_IsOK(ecode2
)) {
9753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9755 arg2
= static_cast< int >(val2
);
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 wxIconLocation_SetIndex(arg1
,arg2
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_Py_Void();
9769 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9770 PyObject
*resultobj
= 0;
9771 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9775 PyObject
*swig_obj
[1] ;
9777 if (!args
) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9783 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)wxIconLocation_GetIndex(arg1
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_From_int(static_cast< int >(result
));
9797 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9800 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9801 return SWIG_Py_Void();
9804 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9805 return SWIG_Python_InitShadowInstance(args
);
9808 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9809 PyObject
*resultobj
= 0;
9810 wxIconBundle
*result
= 0 ;
9812 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (wxIconBundle
*)new wxIconBundle();
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9826 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
= 0;
9828 wxString
*arg1
= 0 ;
9830 wxIconBundle
*result
= 0 ;
9831 bool temp1
= false ;
9834 PyObject
* obj0
= 0 ;
9835 PyObject
* obj1
= 0 ;
9836 char * kwnames
[] = {
9837 (char *) "file",(char *) "type", NULL
9840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9842 arg1
= wxString_in_helper(obj0
);
9843 if (arg1
== NULL
) SWIG_fail
;
9846 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9847 if (!SWIG_IsOK(ecode2
)) {
9848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9850 arg2
= static_cast< long >(val2
);
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9872 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9875 wxIconBundle
*result
= 0 ;
9878 PyObject
* obj0
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "icon", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9891 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9905 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 PyObject
*resultobj
= 0;
9907 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9910 PyObject
*swig_obj
[1] ;
9912 if (!args
) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9918 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 char * kwnames
[] = {
9944 (char *) "self",(char *) "icon", NULL
9947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9952 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9954 if (!SWIG_IsOK(res2
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9960 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_Py_Void();
9974 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
= 0;
9976 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9977 wxString
*arg2
= 0 ;
9981 bool temp2
= false ;
9984 PyObject
* obj0
= 0 ;
9985 PyObject
* obj1
= 0 ;
9986 PyObject
* obj2
= 0 ;
9987 char * kwnames
[] = {
9988 (char *) "self",(char *) "file",(char *) "type", NULL
9991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9993 if (!SWIG_IsOK(res1
)) {
9994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9996 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9998 arg2
= wxString_in_helper(obj1
);
9999 if (arg2
== NULL
) SWIG_fail
;
10002 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10003 if (!SWIG_IsOK(ecode3
)) {
10004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10006 arg3
= static_cast< long >(val3
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10028 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10032 wxIcon
*result
= 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char * kwnames
[] = {
10039 (char *) "self",(char *) "size", NULL
10042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10044 if (!SWIG_IsOK(res1
)) {
10045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10047 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10056 result
= (wxIcon
*) &_result_ref
;
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 wxIcon
* resultptr
= new wxIcon(*result
);
10063 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10071 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10074 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10075 return SWIG_Py_Void();
10078 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10079 return SWIG_Python_InitShadowInstance(args
);
10082 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10084 wxString
*arg1
= 0 ;
10086 int arg3
= (int) 0 ;
10087 int arg4
= (int) 0 ;
10088 wxCursor
*result
= 0 ;
10089 bool temp1
= false ;
10096 PyObject
* obj0
= 0 ;
10097 PyObject
* obj1
= 0 ;
10098 PyObject
* obj2
= 0 ;
10099 PyObject
* obj3
= 0 ;
10100 char * kwnames
[] = {
10101 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10106 arg1
= wxString_in_helper(obj0
);
10107 if (arg1
== NULL
) SWIG_fail
;
10110 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10111 if (!SWIG_IsOK(ecode2
)) {
10112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10114 arg2
= static_cast< long >(val2
);
10116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10117 if (!SWIG_IsOK(ecode3
)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10120 arg3
= static_cast< int >(val3
);
10123 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10124 if (!SWIG_IsOK(ecode4
)) {
10125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10127 arg4
= static_cast< int >(val4
);
10130 if (!wxPyCheckForApp()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10151 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 PyObject
*resultobj
= 0;
10153 wxCursor
*arg1
= (wxCursor
*) 0 ;
10156 PyObject
*swig_obj
[1] ;
10158 if (!args
) SWIG_fail
;
10159 swig_obj
[0] = args
;
10160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10161 if (!SWIG_IsOK(res1
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10164 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_Py_Void();
10179 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
= 0;
10182 wxCursor
*result
= 0 ;
10185 PyObject
* obj0
= 0 ;
10186 char * kwnames
[] = {
10187 (char *) "id", NULL
10190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10192 if (!SWIG_IsOK(ecode1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10195 arg1
= static_cast< int >(val1
);
10197 if (!wxPyCheckForApp()) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxCursor
*)new wxCursor(arg1
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10210 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxImage
*arg1
= 0 ;
10213 wxCursor
*result
= 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char * kwnames
[] = {
10218 (char *) "image", NULL
10221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10222 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10223 if (!SWIG_IsOK(res1
)) {
10224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10229 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10231 if (!wxPyCheckForApp()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10244 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10245 PyObject
*resultobj
= 0;
10246 wxCursor
*arg1
= (wxCursor
*) 0 ;
10250 PyObject
*swig_obj
[1] ;
10252 if (!args
) SWIG_fail
;
10253 swig_obj
[0] = args
;
10254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10258 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (long)(arg1
)->GetHandle();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_From_long(static_cast< long >(result
));
10272 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
= 0;
10274 wxCursor
*arg1
= (wxCursor
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char * kwnames
[] = {
10283 (char *) "self",(char *) "handle", NULL
10286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10291 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10292 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10293 if (!SWIG_IsOK(ecode2
)) {
10294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10296 arg2
= static_cast< long >(val2
);
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 wxCursor_SetHandle(arg1
,arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= SWIG_Py_Void();
10310 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10311 PyObject
*resultobj
= 0;
10312 wxCursor
*arg1
= (wxCursor
*) 0 ;
10316 PyObject
*swig_obj
[1] ;
10318 if (!args
) SWIG_fail
;
10319 swig_obj
[0] = args
;
10320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10324 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (bool)(arg1
)->IsOk();
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10341 PyObject
*resultobj
= 0;
10342 wxCursor
*arg1
= (wxCursor
*) 0 ;
10346 PyObject
*swig_obj
[1] ;
10348 if (!args
) SWIG_fail
;
10349 swig_obj
[0] = args
;
10350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10351 if (!SWIG_IsOK(res1
)) {
10352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10354 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (int)(arg1
)->GetWidth();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_From_int(static_cast< int >(result
));
10368 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10369 PyObject
*resultobj
= 0;
10370 wxCursor
*arg1
= (wxCursor
*) 0 ;
10374 PyObject
*swig_obj
[1] ;
10376 if (!args
) SWIG_fail
;
10377 swig_obj
[0] = args
;
10378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10382 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (int)(arg1
)->GetHeight();
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_From_int(static_cast< int >(result
));
10396 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 PyObject
*resultobj
= 0;
10398 wxCursor
*arg1
= (wxCursor
*) 0 ;
10402 PyObject
*swig_obj
[1] ;
10404 if (!args
) SWIG_fail
;
10405 swig_obj
[0] = args
;
10406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10410 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (int)(arg1
)->GetDepth();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int(static_cast< int >(result
));
10424 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxCursor
*arg1
= (wxCursor
*) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 char * kwnames
[] = {
10435 (char *) "self",(char *) "w", NULL
10438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10440 if (!SWIG_IsOK(res1
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10443 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10445 if (!SWIG_IsOK(ecode2
)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10448 arg2
= static_cast< int >(val2
);
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 (arg1
)->SetWidth(arg2
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_Py_Void();
10462 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
= 0;
10464 wxCursor
*arg1
= (wxCursor
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 char * kwnames
[] = {
10473 (char *) "self",(char *) "h", NULL
10476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10478 if (!SWIG_IsOK(res1
)) {
10479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10481 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10483 if (!SWIG_IsOK(ecode2
)) {
10484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10486 arg2
= static_cast< int >(val2
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 (arg1
)->SetHeight(arg2
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_Py_Void();
10500 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
= 0;
10502 wxCursor
*arg1
= (wxCursor
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 char * kwnames
[] = {
10511 (char *) "self",(char *) "d", NULL
10514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10516 if (!SWIG_IsOK(res1
)) {
10517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10519 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10521 if (!SWIG_IsOK(ecode2
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10524 arg2
= static_cast< int >(val2
);
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 (arg1
)->SetDepth(arg2
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_Py_Void();
10538 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
= 0;
10540 wxCursor
*arg1
= (wxCursor
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "size", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10556 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10559 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->SetSize((wxSize
const &)*arg2
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_Py_Void();
10574 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10577 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10578 return SWIG_Py_Void();
10581 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10582 return SWIG_Python_InitShadowInstance(args
);
10585 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
= 0;
10587 int arg1
= (int) 0 ;
10588 int arg2
= (int) 0 ;
10589 int arg3
= (int) 0 ;
10590 int arg4
= (int) 0 ;
10591 wxRegion
*result
= 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 PyObject
* obj2
= 0 ;
10603 PyObject
* obj3
= 0 ;
10604 char * kwnames
[] = {
10605 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10611 if (!SWIG_IsOK(ecode1
)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10614 arg1
= static_cast< int >(val1
);
10617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10618 if (!SWIG_IsOK(ecode2
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10621 arg2
= static_cast< int >(val2
);
10624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10625 if (!SWIG_IsOK(ecode3
)) {
10626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10628 arg3
= static_cast< int >(val3
);
10631 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10632 if (!SWIG_IsOK(ecode4
)) {
10633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10635 arg4
= static_cast< int >(val4
);
10638 if (!wxPyCheckForApp()) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10651 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
= 0;
10653 wxBitmap
*arg1
= 0 ;
10654 wxRegion
*result
= 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char * kwnames
[] = {
10659 (char *) "bmp", NULL
10662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10663 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10664 if (!SWIG_IsOK(res1
)) {
10665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10670 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10672 if (!wxPyCheckForApp()) SWIG_fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10685 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= 0;
10687 wxBitmap
*arg1
= 0 ;
10688 wxColour
*arg2
= 0 ;
10689 int arg3
= (int) 0 ;
10690 wxRegion
*result
= 0 ;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 char * kwnames
[] = {
10700 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10704 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10705 if (!SWIG_IsOK(res1
)) {
10706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10711 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10714 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10718 if (!SWIG_IsOK(ecode3
)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10721 arg3
= static_cast< int >(val3
);
10724 if (!wxPyCheckForApp()) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10737 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
= 0;
10740 wxPoint
*arg2
= (wxPoint
*) 0 ;
10741 int arg3
= (int) wxWINDING_RULE
;
10742 wxRegion
*result
= 0 ;
10745 PyObject
* obj0
= 0 ;
10746 PyObject
* obj1
= 0 ;
10747 char * kwnames
[] = {
10748 (char *) "points",(char *) "fillStyle", NULL
10751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10753 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10754 if (arg2
== NULL
) SWIG_fail
;
10757 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10758 if (!SWIG_IsOK(ecode3
)) {
10759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10761 arg3
= static_cast< int >(val3
);
10764 if (!wxPyCheckForApp()) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10772 if (arg2
) delete [] arg2
;
10777 if (arg2
) delete [] arg2
;
10783 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10784 PyObject
*resultobj
= 0;
10785 wxRegion
*arg1
= (wxRegion
*) 0 ;
10788 PyObject
*swig_obj
[1] ;
10790 if (!args
) SWIG_fail
;
10791 swig_obj
[0] = args
;
10792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10796 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_Py_Void();
10811 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10812 PyObject
*resultobj
= 0;
10813 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 PyObject
*swig_obj
[1] ;
10818 if (!args
) SWIG_fail
;
10819 swig_obj
[0] = args
;
10820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10824 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_Py_Void();
10838 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
= 0;
10840 wxRegion
*arg1
= (wxRegion
*) 0 ;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 PyObject
* obj2
= 0 ;
10853 char * kwnames
[] = {
10854 (char *) "self",(char *) "x",(char *) "y", NULL
10857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10859 if (!SWIG_IsOK(res1
)) {
10860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10862 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10864 if (!SWIG_IsOK(ecode2
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10867 arg2
= static_cast< int >(val2
);
10868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10869 if (!SWIG_IsOK(ecode3
)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10872 arg3
= static_cast< int >(val3
);
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10888 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
= 0;
10890 wxRegion
*arg1
= (wxRegion
*) 0 ;
10893 wxRegionContain result
;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char * kwnames
[] = {
10904 (char *) "self",(char *) "x",(char *) "y", NULL
10907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10912 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10914 if (!SWIG_IsOK(ecode2
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10917 arg2
= static_cast< int >(val2
);
10918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10919 if (!SWIG_IsOK(ecode3
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10922 arg3
= static_cast< int >(val3
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_From_int(static_cast< int >(result
));
10936 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxRegion
*arg1
= (wxRegion
*) 0 ;
10939 wxPoint
*arg2
= 0 ;
10940 wxRegionContain result
;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 char * kwnames
[] = {
10947 (char *) "self",(char *) "pt", NULL
10950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10952 if (!SWIG_IsOK(res1
)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10955 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= SWIG_From_int(static_cast< int >(result
));
10973 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
= 0;
10975 wxRegion
*arg1
= (wxRegion
*) 0 ;
10977 wxRegionContain result
;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 char * kwnames
[] = {
10984 (char *) "self",(char *) "rect", NULL
10987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10989 if (!SWIG_IsOK(res1
)) {
10990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10992 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10995 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_From_int(static_cast< int >(result
));
11010 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxRegion
*arg1
= (wxRegion
*) 0 ;
11017 wxRegionContain result
;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 PyObject
* obj2
= 0 ;
11031 PyObject
* obj3
= 0 ;
11032 PyObject
* obj4
= 0 ;
11033 char * kwnames
[] = {
11034 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11039 if (!SWIG_IsOK(res1
)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11042 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11044 if (!SWIG_IsOK(ecode2
)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11047 arg2
= static_cast< int >(val2
);
11048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11049 if (!SWIG_IsOK(ecode3
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11052 arg3
= static_cast< int >(val3
);
11053 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11054 if (!SWIG_IsOK(ecode4
)) {
11055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11057 arg4
= static_cast< int >(val4
);
11058 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11059 if (!SWIG_IsOK(ecode5
)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11062 arg5
= static_cast< int >(val5
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= SWIG_From_int(static_cast< int >(result
));
11076 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11077 PyObject
*resultobj
= 0;
11078 wxRegion
*arg1
= (wxRegion
*) 0 ;
11082 PyObject
*swig_obj
[1] ;
11084 if (!args
) SWIG_fail
;
11085 swig_obj
[0] = args
;
11086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (arg1
)->GetBox();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11104 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
= 0;
11106 wxRegion
*arg1
= (wxRegion
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 PyObject
* obj1
= 0 ;
11124 PyObject
* obj2
= 0 ;
11125 PyObject
* obj3
= 0 ;
11126 PyObject
* obj4
= 0 ;
11127 char * kwnames
[] = {
11128 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11133 if (!SWIG_IsOK(res1
)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11136 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11138 if (!SWIG_IsOK(ecode2
)) {
11139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11141 arg2
= static_cast< int >(val2
);
11142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11143 if (!SWIG_IsOK(ecode3
)) {
11144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11146 arg3
= static_cast< int >(val3
);
11147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11148 if (!SWIG_IsOK(ecode4
)) {
11149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11151 arg4
= static_cast< int >(val4
);
11152 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11153 if (!SWIG_IsOK(ecode5
)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11156 arg5
= static_cast< int >(val5
);
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
= 0;
11174 wxRegion
*arg1
= (wxRegion
*) 0 ;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 char * kwnames
[] = {
11183 (char *) "self",(char *) "rect", NULL
11186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11188 if (!SWIG_IsOK(res1
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11191 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11194 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11211 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxRegion
*arg1
= (wxRegion
*) 0 ;
11214 wxRegion
*arg2
= 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char * kwnames
[] = {
11223 (char *) "self",(char *) "region", NULL
11226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11231 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11233 if (!SWIG_IsOK(res2
)) {
11234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11239 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11255 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11256 PyObject
*resultobj
= 0;
11257 wxRegion
*arg1
= (wxRegion
*) 0 ;
11261 PyObject
*swig_obj
[1] ;
11263 if (!args
) SWIG_fail
;
11264 swig_obj
[0] = args
;
11265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11269 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 result
= (bool)(arg1
)->IsEmpty();
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11285 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
= 0;
11287 wxRegion
*arg1
= (wxRegion
*) 0 ;
11288 wxRegion
*arg2
= 0 ;
11294 PyObject
* obj0
= 0 ;
11295 PyObject
* obj1
= 0 ;
11296 char * kwnames
[] = {
11297 (char *) "self",(char *) "region", NULL
11300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11305 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11307 if (!SWIG_IsOK(res2
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11313 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11329 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
= 0;
11331 wxRegion
*arg1
= (wxRegion
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 PyObject
* obj2
= 0 ;
11350 PyObject
* obj3
= 0 ;
11351 PyObject
* obj4
= 0 ;
11352 char * kwnames
[] = {
11353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11361 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11363 if (!SWIG_IsOK(ecode2
)) {
11364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11366 arg2
= static_cast< int >(val2
);
11367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11368 if (!SWIG_IsOK(ecode3
)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11371 arg3
= static_cast< int >(val3
);
11372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11373 if (!SWIG_IsOK(ecode4
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11376 arg4
= static_cast< int >(val4
);
11377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11378 if (!SWIG_IsOK(ecode5
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11381 arg5
= static_cast< int >(val5
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11397 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
= 0;
11399 wxRegion
*arg1
= (wxRegion
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 char * kwnames
[] = {
11408 (char *) "self",(char *) "rect", NULL
11411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11416 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11419 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11436 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= 0;
11438 wxRegion
*arg1
= (wxRegion
*) 0 ;
11439 wxRegion
*arg2
= 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 char * kwnames
[] = {
11448 (char *) "self",(char *) "region", NULL
11451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11456 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11458 if (!SWIG_IsOK(res2
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11464 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11480 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
= 0;
11482 wxRegion
*arg1
= (wxRegion
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 PyObject
* obj2
= 0 ;
11501 PyObject
* obj3
= 0 ;
11502 PyObject
* obj4
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11512 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11514 if (!SWIG_IsOK(ecode2
)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11517 arg2
= static_cast< int >(val2
);
11518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11519 if (!SWIG_IsOK(ecode3
)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11522 arg3
= static_cast< int >(val3
);
11523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11524 if (!SWIG_IsOK(ecode4
)) {
11525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11527 arg4
= static_cast< int >(val4
);
11528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11529 if (!SWIG_IsOK(ecode5
)) {
11530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11532 arg5
= static_cast< int >(val5
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxRegion
*arg1
= (wxRegion
*) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 char * kwnames
[] = {
11559 (char *) "self",(char *) "rect", NULL
11562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11567 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11570 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
= 0;
11589 wxRegion
*arg1
= (wxRegion
*) 0 ;
11590 wxRegion
*arg2
= 0 ;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 char * kwnames
[] = {
11599 (char *) "self",(char *) "region", NULL
11602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11604 if (!SWIG_IsOK(res1
)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11607 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11609 if (!SWIG_IsOK(res2
)) {
11610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11615 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
= 0;
11633 wxRegion
*arg1
= (wxRegion
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 PyObject
* obj2
= 0 ;
11652 PyObject
* obj3
= 0 ;
11653 PyObject
* obj4
= 0 ;
11654 char * kwnames
[] = {
11655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11660 if (!SWIG_IsOK(res1
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11665 if (!SWIG_IsOK(ecode2
)) {
11666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11668 arg2
= static_cast< int >(val2
);
11669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11670 if (!SWIG_IsOK(ecode3
)) {
11671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11673 arg3
= static_cast< int >(val3
);
11674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11675 if (!SWIG_IsOK(ecode4
)) {
11676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11678 arg4
= static_cast< int >(val4
);
11679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11680 if (!SWIG_IsOK(ecode5
)) {
11681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11683 arg5
= static_cast< int >(val5
);
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11699 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxRegion
*arg1
= (wxRegion
*) 0 ;
11707 PyObject
* obj0
= 0 ;
11708 PyObject
* obj1
= 0 ;
11709 char * kwnames
[] = {
11710 (char *) "self",(char *) "rect", NULL
11713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11718 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11721 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11738 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
= 0;
11740 wxRegion
*arg1
= (wxRegion
*) 0 ;
11741 wxRegion
*arg2
= 0 ;
11747 PyObject
* obj0
= 0 ;
11748 PyObject
* obj1
= 0 ;
11749 char * kwnames
[] = {
11750 (char *) "self",(char *) "region", NULL
11753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11755 if (!SWIG_IsOK(res1
)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11758 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11760 if (!SWIG_IsOK(res2
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11766 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 PyObject
*resultobj
= 0;
11784 wxRegion
*arg1
= (wxRegion
*) 0 ;
11785 SwigValueWrapper
<wxBitmap
> result
;
11788 PyObject
*swig_obj
[1] ;
11790 if (!args
) SWIG_fail
;
11791 swig_obj
[0] = args
;
11792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11796 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (arg1
)->ConvertToBitmap();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11810 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
= 0;
11812 wxRegion
*arg1
= (wxRegion
*) 0 ;
11813 wxBitmap
*arg2
= 0 ;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 char * kwnames
[] = {
11822 (char *) "self",(char *) "bmp", NULL
11825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11827 if (!SWIG_IsOK(res1
)) {
11828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11830 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11832 if (!SWIG_IsOK(res2
)) {
11833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11838 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11854 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
= 0;
11856 wxRegion
*arg1
= (wxRegion
*) 0 ;
11857 wxBitmap
*arg2
= 0 ;
11858 wxColour
*arg3
= 0 ;
11859 int arg4
= (int) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 PyObject
* obj2
= 0 ;
11871 PyObject
* obj3
= 0 ;
11872 char * kwnames
[] = {
11873 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11881 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11883 if (!SWIG_IsOK(res2
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11889 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11892 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11896 if (!SWIG_IsOK(ecode4
)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11899 arg4
= static_cast< int >(val4
);
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11916 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11919 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11920 return SWIG_Py_Void();
11923 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11924 return SWIG_Python_InitShadowInstance(args
);
11927 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
= 0;
11929 wxRegion
*arg1
= 0 ;
11930 wxRegionIterator
*result
= 0 ;
11933 PyObject
* obj0
= 0 ;
11934 char * kwnames
[] = {
11935 (char *) "region", NULL
11938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11939 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11940 if (!SWIG_IsOK(res1
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11946 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11948 if (!wxPyCheckForApp()) SWIG_fail
;
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11961 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11974 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_Py_Void();
11989 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11990 PyObject
*resultobj
= 0;
11991 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11995 PyObject
*swig_obj
[1] ;
11997 if (!args
) SWIG_fail
;
11998 swig_obj
[0] = args
;
11999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12003 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (int)(arg1
)->GetX();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_From_int(static_cast< int >(result
));
12017 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12018 PyObject
*resultobj
= 0;
12019 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12023 PyObject
*swig_obj
[1] ;
12025 if (!args
) SWIG_fail
;
12026 swig_obj
[0] = args
;
12027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12028 if (!SWIG_IsOK(res1
)) {
12029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12031 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (int)(arg1
)->GetY();
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_From_int(static_cast< int >(result
));
12045 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12046 PyObject
*resultobj
= 0;
12047 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12051 PyObject
*swig_obj
[1] ;
12053 if (!args
) SWIG_fail
;
12054 swig_obj
[0] = args
;
12055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12059 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (int)(arg1
)->GetW();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_From_int(static_cast< int >(result
));
12073 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12074 PyObject
*resultobj
= 0;
12075 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12079 PyObject
*swig_obj
[1] ;
12081 if (!args
) SWIG_fail
;
12082 swig_obj
[0] = args
;
12083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12087 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (int)(arg1
)->GetWidth();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_From_int(static_cast< int >(result
));
12101 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12115 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)(arg1
)->GetH();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int(static_cast< int >(result
));
12129 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12130 PyObject
*resultobj
= 0;
12131 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12135 PyObject
*swig_obj
[1] ;
12137 if (!args
) SWIG_fail
;
12138 swig_obj
[0] = args
;
12139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12140 if (!SWIG_IsOK(res1
)) {
12141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12143 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (int)(arg1
)->GetHeight();
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_From_int(static_cast< int >(result
));
12157 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12158 PyObject
*resultobj
= 0;
12159 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12163 PyObject
*swig_obj
[1] ;
12165 if (!args
) SWIG_fail
;
12166 swig_obj
[0] = args
;
12167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12171 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (arg1
)->GetRect();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12185 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 PyObject
*resultobj
= 0;
12187 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12191 PyObject
*swig_obj
[1] ;
12193 if (!args
) SWIG_fail
;
12194 swig_obj
[0] = args
;
12195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12199 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 result
= (bool)(arg1
)->HaveRects();
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12215 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12216 PyObject
*resultobj
= 0;
12217 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12220 PyObject
*swig_obj
[1] ;
12222 if (!args
) SWIG_fail
;
12223 swig_obj
[0] = args
;
12224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12228 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12255 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 wxRegionIterator_Next(arg1
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_Py_Void();
12269 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12283 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12302 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12303 return SWIG_Py_Void();
12306 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 return SWIG_Python_InitShadowInstance(args
);
12310 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12311 PyObject
*resultobj
= 0;
12312 wxNativeFontInfo
*result
= 0 ;
12314 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12328 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12329 PyObject
*resultobj
= 0;
12330 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12333 PyObject
*swig_obj
[1] ;
12335 if (!args
) SWIG_fail
;
12336 swig_obj
[0] = args
;
12337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12341 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_Py_Void();
12356 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12357 PyObject
*resultobj
= 0;
12358 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12361 PyObject
*swig_obj
[1] ;
12363 if (!args
) SWIG_fail
;
12364 swig_obj
[0] = args
;
12365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12369 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_Py_Void();
12383 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
= 0;
12385 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 char * kwnames
[] = {
12394 (char *) "self",(char *) "font", NULL
12397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12402 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12404 if (!SWIG_IsOK(res2
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12410 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= SWIG_Py_Void();
12424 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12425 PyObject
*resultobj
= 0;
12426 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12430 PyObject
*swig_obj
[1] ;
12432 if (!args
) SWIG_fail
;
12433 swig_obj
[0] = args
;
12434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12435 if (!SWIG_IsOK(res1
)) {
12436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12438 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_From_int(static_cast< int >(result
));
12452 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12453 PyObject
*resultobj
= 0;
12454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12458 PyObject
*swig_obj
[1] ;
12460 if (!args
) SWIG_fail
;
12461 swig_obj
[0] = args
;
12462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12463 if (!SWIG_IsOK(res1
)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12466 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12480 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12481 PyObject
*resultobj
= 0;
12482 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12483 wxFontStyle result
;
12486 PyObject
*swig_obj
[1] ;
12488 if (!args
) SWIG_fail
;
12489 swig_obj
[0] = args
;
12490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12491 if (!SWIG_IsOK(res1
)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12494 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_From_int(static_cast< int >(result
));
12508 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12509 PyObject
*resultobj
= 0;
12510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12511 wxFontWeight result
;
12514 PyObject
*swig_obj
[1] ;
12516 if (!args
) SWIG_fail
;
12517 swig_obj
[0] = args
;
12518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12519 if (!SWIG_IsOK(res1
)) {
12520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12522 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_From_int(static_cast< int >(result
));
12536 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12537 PyObject
*resultobj
= 0;
12538 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12542 PyObject
*swig_obj
[1] ;
12544 if (!args
) SWIG_fail
;
12545 swig_obj
[0] = args
;
12546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12547 if (!SWIG_IsOK(res1
)) {
12548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12550 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12567 PyObject
*resultobj
= 0;
12568 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12572 PyObject
*swig_obj
[1] ;
12574 if (!args
) SWIG_fail
;
12575 swig_obj
[0] = args
;
12576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12577 if (!SWIG_IsOK(res1
)) {
12578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12580 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12600 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12601 PyObject
*resultobj
= 0;
12602 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12603 wxFontFamily result
;
12606 PyObject
*swig_obj
[1] ;
12608 if (!args
) SWIG_fail
;
12609 swig_obj
[0] = args
;
12610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12611 if (!SWIG_IsOK(res1
)) {
12612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12614 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_From_int(static_cast< int >(result
));
12628 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12629 PyObject
*resultobj
= 0;
12630 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12631 wxFontEncoding result
;
12634 PyObject
*swig_obj
[1] ;
12636 if (!args
) SWIG_fail
;
12637 swig_obj
[0] = args
;
12638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12639 if (!SWIG_IsOK(res1
)) {
12640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12642 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= SWIG_From_int(static_cast< int >(result
));
12656 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
= 0;
12658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 PyObject
* obj1
= 0 ;
12666 char * kwnames
[] = {
12667 (char *) "self",(char *) "pointsize", NULL
12670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12672 if (!SWIG_IsOK(res1
)) {
12673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12675 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12677 if (!SWIG_IsOK(ecode2
)) {
12678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12680 arg2
= static_cast< int >(val2
);
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->SetPointSize(arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_Py_Void();
12694 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
= 0;
12696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char * kwnames
[] = {
12704 (char *) "self",(char *) "pixelSize", NULL
12707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12712 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12715 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_Py_Void();
12730 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
= 0;
12732 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char * kwnames
[] = {
12741 (char *) "self",(char *) "style", NULL
12744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12746 if (!SWIG_IsOK(res1
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12749 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12751 if (!SWIG_IsOK(ecode2
)) {
12752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12754 arg2
= static_cast< wxFontStyle
>(val2
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 (arg1
)->SetStyle(arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= 0;
12770 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12771 wxFontWeight arg2
;
12776 PyObject
* obj0
= 0 ;
12777 PyObject
* obj1
= 0 ;
12778 char * kwnames
[] = {
12779 (char *) "self",(char *) "weight", NULL
12782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12784 if (!SWIG_IsOK(res1
)) {
12785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12787 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12789 if (!SWIG_IsOK(ecode2
)) {
12790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12792 arg2
= static_cast< wxFontWeight
>(val2
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->SetWeight(arg2
);
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_Py_Void();
12806 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char * kwnames
[] = {
12817 (char *) "self",(char *) "underlined", NULL
12820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12822 if (!SWIG_IsOK(res1
)) {
12823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12825 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12826 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12827 if (!SWIG_IsOK(ecode2
)) {
12828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12830 arg2
= static_cast< bool >(val2
);
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 (arg1
)->SetUnderlined(arg2
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_Py_Void();
12844 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
= 0;
12846 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 char * kwnames
[] = {
12854 (char *) "self",(char *) "facename", NULL
12857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12859 if (!SWIG_IsOK(res1
)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12862 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12864 wxString
* sptr
= wxString_in_helper(obj1
);
12865 if (sptr
== NULL
) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (bool)(arg1
)->SetFaceName(arg2
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12884 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
= 0;
12886 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12887 wxFontFamily arg2
;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char * kwnames
[] = {
12895 (char *) "self",(char *) "family", NULL
12898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12900 if (!SWIG_IsOK(res1
)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12903 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12905 if (!SWIG_IsOK(ecode2
)) {
12906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12908 arg2
= static_cast< wxFontFamily
>(val2
);
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 (arg1
)->SetFamily(arg2
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_Py_Void();
12922 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12925 wxFontEncoding arg2
;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char * kwnames
[] = {
12933 (char *) "self",(char *) "encoding", NULL
12936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12941 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12943 if (!SWIG_IsOK(ecode2
)) {
12944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12946 arg2
= static_cast< wxFontEncoding
>(val2
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->SetEncoding(arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_Py_Void();
12960 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
= 0;
12962 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12963 wxString
*arg2
= 0 ;
12967 bool temp2
= false ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char * kwnames
[] = {
12971 (char *) "self",(char *) "s", NULL
12974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12976 if (!SWIG_IsOK(res1
)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12979 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12981 arg2
= wxString_in_helper(obj1
);
12982 if (arg2
== NULL
) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13008 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13009 PyObject
*resultobj
= 0;
13010 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13014 PyObject
*swig_obj
[1] ;
13016 if (!args
) SWIG_fail
;
13017 swig_obj
[0] = args
;
13018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13022 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13042 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13043 PyObject
*resultobj
= 0;
13044 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13048 PyObject
*swig_obj
[1] ;
13050 if (!args
) SWIG_fail
;
13051 swig_obj
[0] = args
;
13052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13053 if (!SWIG_IsOK(res1
)) {
13054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13056 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= wxNativeFontInfo___str__(arg1
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13079 wxString
*arg2
= 0 ;
13083 bool temp2
= false ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "self",(char *) "s", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13092 if (!SWIG_IsOK(res1
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13095 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13097 arg2
= wxString_in_helper(obj1
);
13098 if (arg2
== NULL
) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13124 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13125 PyObject
*resultobj
= 0;
13126 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13130 PyObject
*swig_obj
[1] ;
13132 if (!args
) SWIG_fail
;
13133 swig_obj
[0] = args
;
13134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13135 if (!SWIG_IsOK(res1
)) {
13136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13138 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13158 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13161 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13162 return SWIG_Py_Void();
13165 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13166 return SWIG_Python_InitShadowInstance(args
);
13169 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 PyObject
*resultobj
= 0;
13171 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13172 wxString
*arg2
= (wxString
*) 0 ;
13175 bool temp2
= false ;
13176 PyObject
*swig_obj
[2] ;
13178 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13183 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13185 arg2
= wxString_in_helper(swig_obj
[1]);
13186 if (arg2
== NULL
) SWIG_fail
;
13189 if (arg1
) (arg1
)->facename
= *arg2
;
13191 resultobj
= SWIG_Py_Void();
13206 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13209 wxString
*result
= 0 ;
13212 PyObject
*swig_obj
[1] ;
13214 if (!args
) SWIG_fail
;
13215 swig_obj
[0] = args
;
13216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13220 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13221 result
= (wxString
*)& ((arg1
)->facename
);
13224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13235 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13236 PyObject
*resultobj
= 0;
13237 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13238 wxFontEncoding arg2
;
13243 PyObject
*swig_obj
[2] ;
13245 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13247 if (!SWIG_IsOK(res1
)) {
13248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13250 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13251 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13252 if (!SWIG_IsOK(ecode2
)) {
13253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13255 arg2
= static_cast< wxFontEncoding
>(val2
);
13256 if (arg1
) (arg1
)->encoding
= arg2
;
13258 resultobj
= SWIG_Py_Void();
13265 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13266 PyObject
*resultobj
= 0;
13267 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13268 wxFontEncoding result
;
13271 PyObject
*swig_obj
[1] ;
13273 if (!args
) SWIG_fail
;
13274 swig_obj
[0] = args
;
13275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13279 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13280 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13281 resultobj
= SWIG_From_int(static_cast< int >(result
));
13288 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13289 PyObject
*resultobj
= 0;
13290 wxNativeEncodingInfo
*result
= 0 ;
13292 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13306 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13307 PyObject
*resultobj
= 0;
13308 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13311 PyObject
*swig_obj
[1] ;
13313 if (!args
) SWIG_fail
;
13314 swig_obj
[0] = args
;
13315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13319 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_Py_Void();
13334 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
= 0;
13336 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13337 wxString
*arg2
= 0 ;
13341 bool temp2
= false ;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 char * kwnames
[] = {
13345 (char *) "self",(char *) "s", NULL
13348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13350 if (!SWIG_IsOK(res1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13353 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13355 arg2
= wxString_in_helper(obj1
);
13356 if (arg2
== NULL
) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13388 PyObject
*swig_obj
[1] ;
13390 if (!args
) SWIG_fail
;
13391 swig_obj
[0] = args
;
13392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13396 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13416 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13419 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13420 return SWIG_Py_Void();
13423 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13424 return SWIG_Python_InitShadowInstance(args
);
13427 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
= 0;
13429 wxFontEncoding arg1
;
13430 wxNativeEncodingInfo
*result
= 0 ;
13433 PyObject
* obj0
= 0 ;
13434 char * kwnames
[] = {
13435 (char *) "encoding", NULL
13438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13440 if (!SWIG_IsOK(ecode1
)) {
13441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13443 arg1
= static_cast< wxFontEncoding
>(val1
);
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13457 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
= 0;
13459 wxNativeEncodingInfo
*arg1
= 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char * kwnames
[] = {
13465 (char *) "info", NULL
13468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13469 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13470 if (!SWIG_IsOK(res1
)) {
13471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13476 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13492 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxFontMapper
*result
= 0 ;
13496 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (wxFontMapper
*)new wxFontMapper();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13510 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 PyObject
*resultobj
= 0;
13512 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13515 PyObject
*swig_obj
[1] ;
13517 if (!args
) SWIG_fail
;
13518 swig_obj
[0] = args
;
13519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13523 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13538 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13539 PyObject
*resultobj
= 0;
13540 wxFontMapper
*result
= 0 ;
13542 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (wxFontMapper
*)wxFontMapper::Get();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13556 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
= 0;
13558 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13559 wxFontMapper
*result
= 0 ;
13562 PyObject
* obj0
= 0 ;
13563 char * kwnames
[] = {
13564 (char *) "mapper", NULL
13567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13572 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13586 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= 0;
13588 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13589 wxString
*arg2
= 0 ;
13590 bool arg3
= (bool) true ;
13591 wxFontEncoding result
;
13594 bool temp2
= false ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 PyObject
* obj2
= 0 ;
13600 char * kwnames
[] = {
13601 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13609 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13611 arg2
= wxString_in_helper(obj1
);
13612 if (arg2
== NULL
) SWIG_fail
;
13616 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13617 if (!SWIG_IsOK(ecode3
)) {
13618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13620 arg3
= static_cast< bool >(val3
);
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_From_int(static_cast< int >(result
));
13643 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13644 PyObject
*resultobj
= 0;
13647 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13661 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13664 wxFontEncoding result
;
13667 PyObject
* obj0
= 0 ;
13668 char * kwnames
[] = {
13672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13673 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13674 if (!SWIG_IsOK(ecode1
)) {
13675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13677 arg1
= static_cast< size_t >(val1
);
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_From_int(static_cast< int >(result
));
13691 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
= 0;
13693 wxFontEncoding arg1
;
13697 PyObject
* obj0
= 0 ;
13698 char * kwnames
[] = {
13699 (char *) "encoding", NULL
13702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13704 if (!SWIG_IsOK(ecode1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13707 arg1
= static_cast< wxFontEncoding
>(val1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= wxFontMapper::GetEncodingName(arg1
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13727 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= 0;
13729 wxFontEncoding arg1
;
13733 PyObject
* obj0
= 0 ;
13734 char * kwnames
[] = {
13735 (char *) "encoding", NULL
13738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13739 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13740 if (!SWIG_IsOK(ecode1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13743 arg1
= static_cast< wxFontEncoding
>(val1
);
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= wxFontMapper::GetEncodingDescription(arg1
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13763 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
= 0;
13765 wxString
*arg1
= 0 ;
13766 wxFontEncoding result
;
13767 bool temp1
= false ;
13768 PyObject
* obj0
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "name", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13775 arg1
= wxString_in_helper(obj0
);
13776 if (arg1
== NULL
) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= SWIG_From_int(static_cast< int >(result
));
13800 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
= 0;
13802 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13803 wxString
*arg2
= 0 ;
13806 bool temp2
= false ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char * kwnames
[] = {
13810 (char *) "self",(char *) "prefix", NULL
13813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13815 if (!SWIG_IsOK(res1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13818 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13820 arg2
= wxString_in_helper(obj1
);
13821 if (arg2
== NULL
) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_Py_Void();
13845 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13846 PyObject
*resultobj
= 0;
13849 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= wxFontMapper::GetDefaultConfigPath();
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13869 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
= 0;
13871 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13872 wxFontEncoding arg2
;
13873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13875 bool arg4
= (bool) true ;
13876 PyObject
*result
= 0 ;
13881 bool temp3
= false ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 PyObject
* obj2
= 0 ;
13887 PyObject
* obj3
= 0 ;
13888 char * kwnames
[] = {
13889 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13894 if (!SWIG_IsOK(res1
)) {
13895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13897 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13899 if (!SWIG_IsOK(ecode2
)) {
13900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13902 arg2
= static_cast< wxFontEncoding
>(val2
);
13905 arg3
= wxString_in_helper(obj2
);
13906 if (arg3
== NULL
) SWIG_fail
;
13911 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13912 if (!SWIG_IsOK(ecode4
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13915 arg4
= static_cast< bool >(val4
);
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= result
;
13938 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13941 wxFontEncoding arg2
;
13942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13949 bool temp3
= false ;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 PyObject
* obj2
= 0 ;
13953 char * kwnames
[] = {
13954 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13959 if (!SWIG_IsOK(res1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13962 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13964 if (!SWIG_IsOK(ecode2
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13967 arg2
= static_cast< wxFontEncoding
>(val2
);
13970 arg3
= wxString_in_helper(obj2
);
13971 if (arg3
== NULL
) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= 0;
14000 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14001 wxWindow
*arg2
= (wxWindow
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char * kwnames
[] = {
14009 (char *) "self",(char *) "parent", NULL
14012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14014 if (!SWIG_IsOK(res1
)) {
14015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14017 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14019 if (!SWIG_IsOK(res2
)) {
14020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->SetDialogParent(arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_Py_Void();
14036 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14038 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14039 wxString
*arg2
= 0 ;
14042 bool temp2
= false ;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj1
= 0 ;
14045 char * kwnames
[] = {
14046 (char *) "self",(char *) "title", NULL
14049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14054 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14056 arg2
= wxString_in_helper(obj1
);
14057 if (arg2
== NULL
) SWIG_fail
;
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_Py_Void();
14081 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14084 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14085 return SWIG_Py_Void();
14088 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14089 return SWIG_Python_InitShadowInstance(args
);
14092 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
= 0;
14098 bool arg5
= (bool) false ;
14099 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14100 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14101 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14102 wxFont
*result
= 0 ;
14113 bool temp6
= false ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 PyObject
* obj3
= 0 ;
14120 PyObject
* obj4
= 0 ;
14121 PyObject
* obj5
= 0 ;
14122 PyObject
* obj6
= 0 ;
14123 char * kwnames
[] = {
14124 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14129 if (!SWIG_IsOK(ecode1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14132 arg1
= static_cast< int >(val1
);
14133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14134 if (!SWIG_IsOK(ecode2
)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14137 arg2
= static_cast< int >(val2
);
14138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14139 if (!SWIG_IsOK(ecode3
)) {
14140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14142 arg3
= static_cast< int >(val3
);
14143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14144 if (!SWIG_IsOK(ecode4
)) {
14145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14147 arg4
= static_cast< int >(val4
);
14149 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14150 if (!SWIG_IsOK(ecode5
)) {
14151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14153 arg5
= static_cast< bool >(val5
);
14157 arg6
= wxString_in_helper(obj5
);
14158 if (arg6
== NULL
) SWIG_fail
;
14163 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14164 if (!SWIG_IsOK(ecode7
)) {
14165 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14167 arg7
= static_cast< wxFontEncoding
>(val7
);
14170 if (!wxPyCheckForApp()) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14191 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxFont
*arg1
= (wxFont
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14204 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_Py_Void();
14219 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
= 0;
14221 wxNativeFontInfo
*arg1
= 0 ;
14222 wxFont
*result
= 0 ;
14225 PyObject
* obj0
= 0 ;
14226 char * kwnames
[] = {
14227 (char *) "info", NULL
14230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14231 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14232 if (!SWIG_IsOK(res1
)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14238 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14240 if (!wxPyCheckForApp()) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14253 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
= 0;
14255 wxString
*arg1
= 0 ;
14256 wxFont
*result
= 0 ;
14257 bool temp1
= false ;
14258 PyObject
* obj0
= 0 ;
14259 char * kwnames
[] = {
14260 (char *) "info", NULL
14263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14265 arg1
= wxString_in_helper(obj0
);
14266 if (arg1
== NULL
) SWIG_fail
;
14270 if (!wxPyCheckForApp()) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14291 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= 0;
14294 wxFontFamily arg2
;
14295 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14296 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14297 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14298 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14299 wxFont
*result
= 0 ;
14306 bool temp4
= false ;
14309 PyObject
* obj0
= 0 ;
14310 PyObject
* obj1
= 0 ;
14311 PyObject
* obj2
= 0 ;
14312 PyObject
* obj3
= 0 ;
14313 PyObject
* obj4
= 0 ;
14314 char * kwnames
[] = {
14315 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14320 if (!SWIG_IsOK(ecode1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14323 arg1
= static_cast< int >(val1
);
14324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14325 if (!SWIG_IsOK(ecode2
)) {
14326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14328 arg2
= static_cast< wxFontFamily
>(val2
);
14330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14331 if (!SWIG_IsOK(ecode3
)) {
14332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14334 arg3
= static_cast< int >(val3
);
14338 arg4
= wxString_in_helper(obj3
);
14339 if (arg4
== NULL
) SWIG_fail
;
14344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14345 if (!SWIG_IsOK(ecode5
)) {
14346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14348 arg5
= static_cast< wxFontEncoding
>(val5
);
14351 if (!wxPyCheckForApp()) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14372 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
= 0;
14378 bool arg5
= (bool) false ;
14379 wxString
const &arg6_defvalue
= wxEmptyString
;
14380 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14381 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14382 wxFont
*result
= 0 ;
14392 bool temp6
= false ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 PyObject
* obj2
= 0 ;
14398 PyObject
* obj3
= 0 ;
14399 PyObject
* obj4
= 0 ;
14400 PyObject
* obj5
= 0 ;
14401 PyObject
* obj6
= 0 ;
14402 char * kwnames
[] = {
14403 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14409 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14412 if (!SWIG_IsOK(ecode2
)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14415 arg2
= static_cast< int >(val2
);
14416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14417 if (!SWIG_IsOK(ecode3
)) {
14418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14420 arg3
= static_cast< int >(val3
);
14421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14422 if (!SWIG_IsOK(ecode4
)) {
14423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14425 arg4
= static_cast< int >(val4
);
14427 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14428 if (!SWIG_IsOK(ecode5
)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14431 arg5
= static_cast< bool >(val5
);
14435 arg6
= wxString_in_helper(obj5
);
14436 if (arg6
== NULL
) SWIG_fail
;
14441 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14442 if (!SWIG_IsOK(ecode7
)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14445 arg7
= static_cast< wxFontEncoding
>(val7
);
14448 if (!wxPyCheckForApp()) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14469 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14472 wxFontFamily arg2
;
14473 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14474 wxString
const &arg4_defvalue
= wxEmptyString
;
14475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14476 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14477 wxFont
*result
= 0 ;
14483 bool temp4
= false ;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 PyObject
* obj2
= 0 ;
14489 PyObject
* obj3
= 0 ;
14490 PyObject
* obj4
= 0 ;
14491 char * kwnames
[] = {
14492 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14498 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14501 if (!SWIG_IsOK(ecode2
)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14504 arg2
= static_cast< wxFontFamily
>(val2
);
14506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14507 if (!SWIG_IsOK(ecode3
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14510 arg3
= static_cast< int >(val3
);
14514 arg4
= wxString_in_helper(obj3
);
14515 if (arg4
== NULL
) SWIG_fail
;
14520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14521 if (!SWIG_IsOK(ecode5
)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14524 arg5
= static_cast< wxFontEncoding
>(val5
);
14527 if (!wxPyCheckForApp()) SWIG_fail
;
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14548 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14549 PyObject
*resultobj
= 0;
14550 wxFont
*arg1
= (wxFont
*) 0 ;
14554 PyObject
*swig_obj
[1] ;
14556 if (!args
) SWIG_fail
;
14557 swig_obj
[0] = args
;
14558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14578 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
= 0;
14580 wxFont
*arg1
= (wxFont
*) 0 ;
14581 wxFont
*arg2
= (wxFont
*) 0 ;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 char * kwnames
[] = {
14590 (char *) "self",(char *) "other", NULL
14593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14595 if (!SWIG_IsOK(res1
)) {
14596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14598 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14600 if (!SWIG_IsOK(res2
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14603 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
= 0;
14621 wxFont
*arg1
= (wxFont
*) 0 ;
14622 wxFont
*arg2
= (wxFont
*) 0 ;
14628 PyObject
* obj0
= 0 ;
14629 PyObject
* obj1
= 0 ;
14630 char * kwnames
[] = {
14631 (char *) "self",(char *) "other", NULL
14634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14639 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14641 if (!SWIG_IsOK(res2
)) {
14642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14644 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14660 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14661 PyObject
*resultobj
= 0;
14662 wxFont
*arg1
= (wxFont
*) 0 ;
14666 PyObject
*swig_obj
[1] ;
14668 if (!args
) SWIG_fail
;
14669 swig_obj
[0] = args
;
14670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14671 if (!SWIG_IsOK(res1
)) {
14672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14674 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= SWIG_From_int(static_cast< int >(result
));
14688 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14689 PyObject
*resultobj
= 0;
14690 wxFont
*arg1
= (wxFont
*) 0 ;
14694 PyObject
*swig_obj
[1] ;
14696 if (!args
) SWIG_fail
;
14697 swig_obj
[0] = args
;
14698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14699 if (!SWIG_IsOK(res1
)) {
14700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14702 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14716 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14717 PyObject
*resultobj
= 0;
14718 wxFont
*arg1
= (wxFont
*) 0 ;
14722 PyObject
*swig_obj
[1] ;
14724 if (!args
) SWIG_fail
;
14725 swig_obj
[0] = args
;
14726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14727 if (!SWIG_IsOK(res1
)) {
14728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14730 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14747 PyObject
*resultobj
= 0;
14748 wxFont
*arg1
= (wxFont
*) 0 ;
14752 PyObject
*swig_obj
[1] ;
14754 if (!args
) SWIG_fail
;
14755 swig_obj
[0] = args
;
14756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14760 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_From_int(static_cast< int >(result
));
14774 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14775 PyObject
*resultobj
= 0;
14776 wxFont
*arg1
= (wxFont
*) 0 ;
14780 PyObject
*swig_obj
[1] ;
14782 if (!args
) SWIG_fail
;
14783 swig_obj
[0] = args
;
14784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14785 if (!SWIG_IsOK(res1
)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14788 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_From_int(static_cast< int >(result
));
14802 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14803 PyObject
*resultobj
= 0;
14804 wxFont
*arg1
= (wxFont
*) 0 ;
14808 PyObject
*swig_obj
[1] ;
14810 if (!args
) SWIG_fail
;
14811 swig_obj
[0] = args
;
14812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14813 if (!SWIG_IsOK(res1
)) {
14814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14816 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_From_int(static_cast< int >(result
));
14830 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14831 PyObject
*resultobj
= 0;
14832 wxFont
*arg1
= (wxFont
*) 0 ;
14836 PyObject
*swig_obj
[1] ;
14838 if (!args
) SWIG_fail
;
14839 swig_obj
[0] = args
;
14840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14841 if (!SWIG_IsOK(res1
)) {
14842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14844 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14861 PyObject
*resultobj
= 0;
14862 wxFont
*arg1
= (wxFont
*) 0 ;
14866 PyObject
*swig_obj
[1] ;
14868 if (!args
) SWIG_fail
;
14869 swig_obj
[0] = args
;
14870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14871 if (!SWIG_IsOK(res1
)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14874 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= ((wxFont
const *)arg1
)->GetFaceName();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14894 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14895 PyObject
*resultobj
= 0;
14896 wxFont
*arg1
= (wxFont
*) 0 ;
14897 wxFontEncoding result
;
14900 PyObject
*swig_obj
[1] ;
14902 if (!args
) SWIG_fail
;
14903 swig_obj
[0] = args
;
14904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14908 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_From_int(static_cast< int >(result
));
14922 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14923 PyObject
*resultobj
= 0;
14924 wxFont
*arg1
= (wxFont
*) 0 ;
14925 wxNativeFontInfo
*result
= 0 ;
14928 PyObject
*swig_obj
[1] ;
14930 if (!args
) SWIG_fail
;
14931 swig_obj
[0] = args
;
14932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14936 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14950 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14951 PyObject
*resultobj
= 0;
14952 wxFont
*arg1
= (wxFont
*) 0 ;
14956 PyObject
*swig_obj
[1] ;
14958 if (!args
) SWIG_fail
;
14959 swig_obj
[0] = args
;
14960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14964 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14968 wxPyEndAllowThreads(__tstate
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14980 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14981 PyObject
*resultobj
= 0;
14982 wxFont
*arg1
= (wxFont
*) 0 ;
14986 PyObject
*swig_obj
[1] ;
14988 if (!args
) SWIG_fail
;
14989 swig_obj
[0] = args
;
14990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14991 if (!SWIG_IsOK(res1
)) {
14992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14994 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15014 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15015 PyObject
*resultobj
= 0;
15016 wxFont
*arg1
= (wxFont
*) 0 ;
15020 PyObject
*swig_obj
[1] ;
15022 if (!args
) SWIG_fail
;
15023 swig_obj
[0] = args
;
15024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15025 if (!SWIG_IsOK(res1
)) {
15026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15028 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15048 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= 0;
15050 wxFont
*arg1
= (wxFont
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char * kwnames
[] = {
15059 (char *) "self",(char *) "pointSize", NULL
15062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15067 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15069 if (!SWIG_IsOK(ecode2
)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15072 arg2
= static_cast< int >(val2
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetPointSize(arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxFont
*arg1
= (wxFont
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char * kwnames
[] = {
15096 (char *) "self",(char *) "pixelSize", NULL
15099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15101 if (!SWIG_IsOK(res1
)) {
15102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15104 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= SWIG_Py_Void();
15122 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
= 0;
15124 wxFont
*arg1
= (wxFont
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 char * kwnames
[] = {
15133 (char *) "self",(char *) "family", NULL
15136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15141 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15143 if (!SWIG_IsOK(ecode2
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15146 arg2
= static_cast< int >(val2
);
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 (arg1
)->SetFamily(arg2
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_Py_Void();
15160 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
= 0;
15162 wxFont
*arg1
= (wxFont
*) 0 ;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 char * kwnames
[] = {
15171 (char *) "self",(char *) "style", NULL
15174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15179 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15181 if (!SWIG_IsOK(ecode2
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15184 arg2
= static_cast< int >(val2
);
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->SetStyle(arg2
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_Py_Void();
15198 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
= 0;
15200 wxFont
*arg1
= (wxFont
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 char * kwnames
[] = {
15209 (char *) "self",(char *) "weight", NULL
15212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15214 if (!SWIG_IsOK(res1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15217 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15219 if (!SWIG_IsOK(ecode2
)) {
15220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15222 arg2
= static_cast< int >(val2
);
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 (arg1
)->SetWeight(arg2
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_Py_Void();
15236 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
= 0;
15238 wxFont
*arg1
= (wxFont
*) 0 ;
15239 wxString
*arg2
= 0 ;
15243 bool temp2
= false ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char * kwnames
[] = {
15247 (char *) "self",(char *) "faceName", NULL
15250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15252 if (!SWIG_IsOK(res1
)) {
15253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15255 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15257 arg2
= wxString_in_helper(obj1
);
15258 if (arg2
== NULL
) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char * kwnames
[] = {
15295 (char *) "self",(char *) "underlined", NULL
15298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15304 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15305 if (!SWIG_IsOK(ecode2
)) {
15306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15308 arg2
= static_cast< bool >(val2
);
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 (arg1
)->SetUnderlined(arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_Py_Void();
15322 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
= 0;
15324 wxFont
*arg1
= (wxFont
*) 0 ;
15325 wxFontEncoding arg2
;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char * kwnames
[] = {
15333 (char *) "self",(char *) "encoding", NULL
15336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15338 if (!SWIG_IsOK(res1
)) {
15339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15341 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15343 if (!SWIG_IsOK(ecode2
)) {
15344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15346 arg2
= static_cast< wxFontEncoding
>(val2
);
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->SetEncoding(arg2
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_Py_Void();
15360 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
= 0;
15362 wxFont
*arg1
= (wxFont
*) 0 ;
15363 wxNativeFontInfo
*arg2
= 0 ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char * kwnames
[] = {
15371 (char *) "self",(char *) "info", NULL
15374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15379 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15381 if (!SWIG_IsOK(res2
)) {
15382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15387 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= SWIG_Py_Void();
15401 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
= 0;
15403 wxFont
*arg1
= (wxFont
*) 0 ;
15404 wxString
*arg2
= 0 ;
15408 bool temp2
= false ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char * kwnames
[] = {
15412 (char *) "self",(char *) "info", NULL
15415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15417 if (!SWIG_IsOK(res1
)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15420 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15422 arg2
= wxString_in_helper(obj1
);
15423 if (arg2
== NULL
) SWIG_fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15449 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxFont
*arg1
= (wxFont
*) 0 ;
15452 wxString
*arg2
= 0 ;
15456 bool temp2
= false ;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 char * kwnames
[] = {
15460 (char *) "self",(char *) "info", NULL
15463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15465 if (!SWIG_IsOK(res1
)) {
15466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15468 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15470 arg2
= wxString_in_helper(obj1
);
15471 if (arg2
== NULL
) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15497 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15498 PyObject
*resultobj
= 0;
15499 wxFont
*arg1
= (wxFont
*) 0 ;
15503 PyObject
*swig_obj
[1] ;
15505 if (!args
) SWIG_fail
;
15506 swig_obj
[0] = args
;
15507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15511 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15531 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15532 PyObject
*resultobj
= 0;
15533 wxFont
*arg1
= (wxFont
*) 0 ;
15537 PyObject
*swig_obj
[1] ;
15539 if (!args
) SWIG_fail
;
15540 swig_obj
[0] = args
;
15541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15542 if (!SWIG_IsOK(res1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15545 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= ((wxFont
const *)arg1
)->GetStyleString();
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15565 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15566 PyObject
*resultobj
= 0;
15567 wxFont
*arg1
= (wxFont
*) 0 ;
15571 PyObject
*swig_obj
[1] ;
15573 if (!args
) SWIG_fail
;
15574 swig_obj
[0] = args
;
15575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15576 if (!SWIG_IsOK(res1
)) {
15577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15579 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= ((wxFont
const *)arg1
)->GetWeightString();
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15599 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= 0;
15601 wxFont
*arg1
= (wxFont
*) 0 ;
15602 bool arg2
= (bool) true ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 char * kwnames
[] = {
15610 (char *) "self",(char *) "no", NULL
15613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15615 if (!SWIG_IsOK(res1
)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15618 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15620 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15621 if (!SWIG_IsOK(ecode2
)) {
15622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15624 arg2
= static_cast< bool >(val2
);
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->SetNoAntiAliasing(arg2
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_Py_Void();
15639 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15640 PyObject
*resultobj
= 0;
15641 wxFont
*arg1
= (wxFont
*) 0 ;
15645 PyObject
*swig_obj
[1] ;
15647 if (!args
) SWIG_fail
;
15648 swig_obj
[0] = args
;
15649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15650 if (!SWIG_IsOK(res1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15653 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15669 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15670 PyObject
*resultobj
= 0;
15671 wxFontEncoding result
;
15673 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15675 if (!wxPyCheckForApp()) SWIG_fail
;
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_From_int(static_cast< int >(result
));
15688 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
= 0;
15690 wxFontEncoding arg1
;
15693 PyObject
* obj0
= 0 ;
15694 char * kwnames
[] = {
15695 (char *) "encoding", NULL
15698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15700 if (!SWIG_IsOK(ecode1
)) {
15701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15703 arg1
= static_cast< wxFontEncoding
>(val1
);
15705 if (!wxPyCheckForApp()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 wxFont::SetDefaultEncoding(arg1
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_Py_Void();
15718 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15721 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15722 return SWIG_Py_Void();
15725 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 return SWIG_Python_InitShadowInstance(args
);
15729 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15730 PyObject
*resultobj
= 0;
15731 wxPyFontEnumerator
*result
= 0 ;
15733 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15735 if (!wxPyCheckForApp()) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15748 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15749 PyObject
*resultobj
= 0;
15750 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15753 PyObject
*swig_obj
[1] ;
15755 if (!args
) SWIG_fail
;
15756 swig_obj
[0] = args
;
15757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15758 if (!SWIG_IsOK(res1
)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15761 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_Py_Void();
15776 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
= 0;
15778 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15779 PyObject
*arg2
= (PyObject
*) 0 ;
15780 PyObject
*arg3
= (PyObject
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 PyObject
* obj1
= 0 ;
15788 PyObject
* obj2
= 0 ;
15789 PyObject
* obj3
= 0 ;
15790 char * kwnames
[] = {
15791 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15796 if (!SWIG_IsOK(res1
)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15799 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15802 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15803 if (!SWIG_IsOK(ecode4
)) {
15804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15806 arg4
= static_cast< bool >(val4
);
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= SWIG_Py_Void();
15820 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
= 0;
15822 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15823 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15824 bool arg3
= (bool) false ;
15832 PyObject
* obj0
= 0 ;
15833 PyObject
* obj1
= 0 ;
15834 PyObject
* obj2
= 0 ;
15835 char * kwnames
[] = {
15836 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15844 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15847 if (!SWIG_IsOK(ecode2
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15850 arg2
= static_cast< wxFontEncoding
>(val2
);
15853 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15854 if (!SWIG_IsOK(ecode3
)) {
15855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15857 arg3
= static_cast< bool >(val3
);
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15877 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15878 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15882 bool temp2
= false ;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "self",(char *) "facename", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15891 if (!SWIG_IsOK(res1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15894 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15897 arg2
= wxString_in_helper(obj1
);
15898 if (arg2
== NULL
) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15925 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15926 PyObject
*resultobj
= 0;
15927 PyObject
*result
= 0 ;
15929 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= result
;
15943 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15944 PyObject
*resultobj
= 0;
15945 PyObject
*result
= 0 ;
15947 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
;
15961 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= 0;
15963 wxString
*arg1
= 0 ;
15965 bool temp1
= false ;
15966 PyObject
* obj0
= 0 ;
15967 char * kwnames
[] = {
15968 (char *) "str", NULL
15971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15973 arg1
= wxString_in_helper(obj0
);
15974 if (arg1
== NULL
) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16000 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16003 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16004 return SWIG_Py_Void();
16007 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16008 return SWIG_Python_InitShadowInstance(args
);
16011 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 PyObject
*resultobj
= 0;
16013 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16019 PyObject
*swig_obj
[2] ;
16021 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16026 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16027 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16028 if (!SWIG_IsOK(ecode2
)) {
16029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16031 arg2
= static_cast< int >(val2
);
16032 if (arg1
) (arg1
)->Language
= arg2
;
16034 resultobj
= SWIG_Py_Void();
16041 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16042 PyObject
*resultobj
= 0;
16043 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16047 PyObject
*swig_obj
[1] ;
16049 if (!args
) SWIG_fail
;
16050 swig_obj
[0] = args
;
16051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16052 if (!SWIG_IsOK(res1
)) {
16053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16055 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16056 result
= (int) ((arg1
)->Language
);
16057 resultobj
= SWIG_From_int(static_cast< int >(result
));
16064 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 PyObject
*resultobj
= 0;
16066 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16067 wxString
*arg2
= (wxString
*) 0 ;
16070 bool temp2
= false ;
16071 PyObject
*swig_obj
[2] ;
16073 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16075 if (!SWIG_IsOK(res1
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16078 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16080 arg2
= wxString_in_helper(swig_obj
[1]);
16081 if (arg2
== NULL
) SWIG_fail
;
16084 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16086 resultobj
= SWIG_Py_Void();
16101 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16102 PyObject
*resultobj
= 0;
16103 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16104 wxString
*result
= 0 ;
16107 PyObject
*swig_obj
[1] ;
16109 if (!args
) SWIG_fail
;
16110 swig_obj
[0] = args
;
16111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16115 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16116 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16119 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16121 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16130 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16131 PyObject
*resultobj
= 0;
16132 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16133 wxString
*arg2
= (wxString
*) 0 ;
16136 bool temp2
= false ;
16137 PyObject
*swig_obj
[2] ;
16139 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16141 if (!SWIG_IsOK(res1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16144 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16146 arg2
= wxString_in_helper(swig_obj
[1]);
16147 if (arg2
== NULL
) SWIG_fail
;
16150 if (arg1
) (arg1
)->Description
= *arg2
;
16152 resultobj
= SWIG_Py_Void();
16167 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16168 PyObject
*resultobj
= 0;
16169 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16170 wxString
*result
= 0 ;
16173 PyObject
*swig_obj
[1] ;
16175 if (!args
) SWIG_fail
;
16176 swig_obj
[0] = args
;
16177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16178 if (!SWIG_IsOK(res1
)) {
16179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16181 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16182 result
= (wxString
*)& ((arg1
)->Description
);
16185 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16187 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16196 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16199 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16200 return SWIG_Py_Void();
16203 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
= 0;
16205 int arg1
= (int) -1 ;
16206 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16207 wxLocale
*result
= 0 ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 char * kwnames
[] = {
16215 (char *) "language",(char *) "flags", NULL
16218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16221 if (!SWIG_IsOK(ecode1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16224 arg1
= static_cast< int >(val1
);
16227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16228 if (!SWIG_IsOK(ecode2
)) {
16229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16231 arg2
= static_cast< int >(val2
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16246 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 PyObject
*resultobj
= 0;
16248 wxLocale
*arg1
= (wxLocale
*) 0 ;
16251 PyObject
*swig_obj
[1] ;
16253 if (!args
) SWIG_fail
;
16254 swig_obj
[0] = args
;
16255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16256 if (!SWIG_IsOK(res1
)) {
16257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16259 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_Py_Void();
16274 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
= 0;
16276 wxLocale
*arg1
= (wxLocale
*) 0 ;
16277 wxString
*arg2
= 0 ;
16278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16282 bool arg5
= (bool) true ;
16283 bool arg6
= (bool) false ;
16287 bool temp2
= false ;
16288 bool temp3
= false ;
16289 bool temp4
= false ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 PyObject
* obj3
= 0 ;
16298 PyObject
* obj4
= 0 ;
16299 PyObject
* obj5
= 0 ;
16300 char * kwnames
[] = {
16301 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16309 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16311 arg2
= wxString_in_helper(obj1
);
16312 if (arg2
== NULL
) SWIG_fail
;
16317 arg3
= wxString_in_helper(obj2
);
16318 if (arg3
== NULL
) SWIG_fail
;
16324 arg4
= wxString_in_helper(obj3
);
16325 if (arg4
== NULL
) SWIG_fail
;
16330 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16331 if (!SWIG_IsOK(ecode5
)) {
16332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16334 arg5
= static_cast< bool >(val5
);
16337 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16338 if (!SWIG_IsOK(ecode6
)) {
16339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16341 arg6
= static_cast< bool >(val6
);
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 wxLocale
*arg1
= (wxLocale
*) 0 ;
16385 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16386 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 PyObject
* obj2
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "self",(char *) "language",(char *) "flags", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16406 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16409 if (!SWIG_IsOK(ecode2
)) {
16410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16412 arg2
= static_cast< int >(val2
);
16415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16416 if (!SWIG_IsOK(ecode3
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16419 arg3
= static_cast< int >(val3
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16436 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16437 PyObject
*resultobj
= 0;
16440 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (int)wxLocale::GetSystemLanguage();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_From_int(static_cast< int >(result
));
16454 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16455 PyObject
*resultobj
= 0;
16456 wxFontEncoding result
;
16458 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= SWIG_From_int(static_cast< int >(result
));
16472 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16473 PyObject
*resultobj
= 0;
16476 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= wxLocale::GetSystemEncodingName();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16496 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16497 PyObject
*resultobj
= 0;
16498 wxLocale
*arg1
= (wxLocale
*) 0 ;
16502 PyObject
*swig_obj
[1] ;
16504 if (!args
) SWIG_fail
;
16505 swig_obj
[0] = args
;
16506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16507 if (!SWIG_IsOK(res1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16510 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16526 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16527 PyObject
*resultobj
= 0;
16528 wxLocale
*arg1
= (wxLocale
*) 0 ;
16532 PyObject
*swig_obj
[1] ;
16534 if (!args
) SWIG_fail
;
16535 swig_obj
[0] = args
;
16536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16540 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= ((wxLocale
const *)arg1
)->GetLocale();
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16560 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16561 PyObject
*resultobj
= 0;
16562 wxLocale
*arg1
= (wxLocale
*) 0 ;
16566 PyObject
*swig_obj
[1] ;
16568 if (!args
) SWIG_fail
;
16569 swig_obj
[0] = args
;
16570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16571 if (!SWIG_IsOK(res1
)) {
16572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16574 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_From_int(static_cast< int >(result
));
16588 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16589 PyObject
*resultobj
= 0;
16590 wxLocale
*arg1
= (wxLocale
*) 0 ;
16594 PyObject
*swig_obj
[1] ;
16596 if (!args
) SWIG_fail
;
16597 swig_obj
[0] = args
;
16598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16599 if (!SWIG_IsOK(res1
)) {
16600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16602 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= ((wxLocale
const *)arg1
)->GetSysName();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16622 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16623 PyObject
*resultobj
= 0;
16624 wxLocale
*arg1
= (wxLocale
*) 0 ;
16628 PyObject
*swig_obj
[1] ;
16630 if (!args
) SWIG_fail
;
16631 swig_obj
[0] = args
;
16632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16633 if (!SWIG_IsOK(res1
)) {
16634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16636 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16656 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
= 0;
16658 wxString
*arg1
= 0 ;
16659 bool temp1
= false ;
16660 PyObject
* obj0
= 0 ;
16661 char * kwnames
[] = {
16662 (char *) "prefix", NULL
16665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16667 arg1
= wxString_in_helper(obj0
);
16668 if (arg1
== NULL
) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_Py_Void();
16692 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16694 wxLocale
*arg1
= (wxLocale
*) 0 ;
16695 wxString
*arg2
= 0 ;
16699 bool temp2
= false ;
16700 PyObject
* obj0
= 0 ;
16701 PyObject
* obj1
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "szDomain", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16711 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16713 arg2
= wxString_in_helper(obj1
);
16714 if (arg2
== NULL
) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16740 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
= 0;
16746 PyObject
* obj0
= 0 ;
16747 char * kwnames
[] = {
16748 (char *) "lang", NULL
16751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16753 if (!SWIG_IsOK(ecode1
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16756 arg1
= static_cast< int >(val1
);
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16759 result
= (bool)wxLocale::IsAvailable(arg1
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16772 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
= 0;
16774 wxLocale
*arg1
= (wxLocale
*) 0 ;
16775 wxString
*arg2
= 0 ;
16779 bool temp2
= false ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 char * kwnames
[] = {
16783 (char *) "self",(char *) "szDomain", NULL
16786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16788 if (!SWIG_IsOK(res1
)) {
16789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16791 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16793 arg2
= wxString_in_helper(obj1
);
16794 if (arg2
== NULL
) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16820 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
= 0;
16823 wxLanguageInfo
*result
= 0 ;
16826 PyObject
* obj0
= 0 ;
16827 char * kwnames
[] = {
16828 (char *) "lang", NULL
16831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16833 if (!SWIG_IsOK(ecode1
)) {
16834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16836 arg1
= static_cast< int >(val1
);
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16850 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= 0;
16856 PyObject
* obj0
= 0 ;
16857 char * kwnames
[] = {
16858 (char *) "lang", NULL
16861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16863 if (!SWIG_IsOK(ecode1
)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16866 arg1
= static_cast< int >(val1
);
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= wxLocale::GetLanguageName(arg1
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16886 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxString
*arg1
= 0 ;
16889 wxLanguageInfo
*result
= 0 ;
16890 bool temp1
= false ;
16891 PyObject
* obj0
= 0 ;
16892 char * kwnames
[] = {
16893 (char *) "locale", NULL
16896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16898 arg1
= wxString_in_helper(obj0
);
16899 if (arg1
== NULL
) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16923 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
= 0;
16925 wxLanguageInfo
*arg1
= 0 ;
16928 PyObject
* obj0
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "info", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16934 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16941 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_Py_Void();
16955 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
= 0;
16957 wxLocale
*arg1
= (wxLocale
*) 0 ;
16958 wxString
*arg2
= 0 ;
16959 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16960 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16964 bool temp2
= false ;
16965 bool temp3
= false ;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 PyObject
* obj2
= 0 ;
16969 char * kwnames
[] = {
16970 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16975 if (!SWIG_IsOK(res1
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16978 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16980 arg2
= wxString_in_helper(obj1
);
16981 if (arg2
== NULL
) SWIG_fail
;
16986 arg3
= wxString_in_helper(obj2
);
16987 if (arg3
== NULL
) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17026 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17027 PyObject
*resultobj
= 0;
17028 wxLocale
*arg1
= (wxLocale
*) 0 ;
17029 wxString
*result
= 0 ;
17032 PyObject
*swig_obj
[1] ;
17034 if (!args
) SWIG_fail
;
17035 swig_obj
[0] = args
;
17036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17037 if (!SWIG_IsOK(res1
)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17040 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17045 result
= (wxString
*) &_result_ref
;
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17054 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17063 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17066 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17067 return SWIG_Py_Void();
17070 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17071 return SWIG_Python_InitShadowInstance(args
);
17074 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
= 0;
17076 int arg1
= (int) -1 ;
17077 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17078 wxPyLocale
*result
= 0 ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char * kwnames
[] = {
17086 (char *) "language",(char *) "flags", NULL
17089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17092 if (!SWIG_IsOK(ecode1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17095 arg1
= static_cast< int >(val1
);
17098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17099 if (!SWIG_IsOK(ecode2
)) {
17100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17102 arg2
= static_cast< int >(val2
);
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17117 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17118 PyObject
*resultobj
= 0;
17119 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17122 PyObject
*swig_obj
[1] ;
17124 if (!args
) SWIG_fail
;
17125 swig_obj
[0] = args
;
17126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17127 if (!SWIG_IsOK(res1
)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17130 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= SWIG_Py_Void();
17145 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
= 0;
17147 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17148 PyObject
*arg2
= (PyObject
*) 0 ;
17149 PyObject
*arg3
= (PyObject
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 PyObject
* obj1
= 0 ;
17154 PyObject
* obj2
= 0 ;
17155 char * kwnames
[] = {
17156 (char *) "self",(char *) "self",(char *) "_class", NULL
17159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17161 if (!SWIG_IsOK(res1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17164 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_Py_Void();
17180 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
= 0;
17182 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17183 wxChar
*arg2
= (wxChar
*) 0 ;
17184 wxChar
*arg3
= (wxChar
*) NULL
;
17185 wxChar
*result
= 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 char * kwnames
[] = {
17196 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17201 if (!SWIG_IsOK(res1
)) {
17202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17204 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17206 if (!SWIG_IsOK(res2
)) {
17207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17209 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17211 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17212 if (!SWIG_IsOK(res3
)) {
17213 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17215 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17230 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
= 0;
17232 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17233 wxChar
*arg2
= (wxChar
*) 0 ;
17234 wxChar
*arg3
= (wxChar
*) 0 ;
17236 wxChar
*arg5
= (wxChar
*) NULL
;
17237 wxChar
*result
= 0 ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 PyObject
* obj2
= 0 ;
17251 PyObject
* obj3
= 0 ;
17252 PyObject
* obj4
= 0 ;
17253 char * kwnames
[] = {
17254 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17259 if (!SWIG_IsOK(res1
)) {
17260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17262 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17264 if (!SWIG_IsOK(res2
)) {
17265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17267 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17268 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17269 if (!SWIG_IsOK(res3
)) {
17270 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17272 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17273 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17274 if (!SWIG_IsOK(ecode4
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17277 arg4
= static_cast< size_t >(val4
);
17279 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17280 if (!SWIG_IsOK(res5
)) {
17281 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17283 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17298 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17301 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17302 return SWIG_Py_Void();
17305 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17306 return SWIG_Python_InitShadowInstance(args
);
17309 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17310 PyObject
*resultobj
= 0;
17311 wxLocale
*result
= 0 ;
17313 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (wxLocale
*)wxGetLocale();
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17327 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17328 PyObject
*resultobj
= 0;
17329 wxString
*arg1
= 0 ;
17331 bool temp1
= false ;
17333 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17335 arg1
= wxString_in_helper(swig_obj
[0]);
17336 if (arg1
== NULL
) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= wxGetTranslation((wxString
const &)*arg1
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17366 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17367 PyObject
*resultobj
= 0;
17368 wxString
*arg1
= 0 ;
17369 wxString
*arg2
= 0 ;
17371 bool temp1
= false ;
17372 bool temp2
= false ;
17374 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17376 arg1
= wxString_in_helper(swig_obj
[0]);
17377 if (arg1
== NULL
) SWIG_fail
;
17381 arg2
= wxString_in_helper(swig_obj
[1]);
17382 if (arg2
== NULL
) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17420 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17421 PyObject
*resultobj
= 0;
17422 wxString
*arg1
= 0 ;
17423 wxString
*arg2
= 0 ;
17426 bool temp1
= false ;
17427 bool temp2
= false ;
17431 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17433 arg1
= wxString_in_helper(swig_obj
[0]);
17434 if (arg1
== NULL
) SWIG_fail
;
17438 arg2
= wxString_in_helper(swig_obj
[1]);
17439 if (arg2
== NULL
) SWIG_fail
;
17442 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17443 if (!SWIG_IsOK(ecode3
)) {
17444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17446 arg3
= static_cast< size_t >(val3
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17482 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17483 PyObject
*resultobj
= 0;
17484 wxString
*arg1
= 0 ;
17485 wxString
*arg2
= 0 ;
17487 wxString
*arg4
= 0 ;
17489 bool temp1
= false ;
17490 bool temp2
= false ;
17493 bool temp4
= false ;
17495 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17497 arg1
= wxString_in_helper(swig_obj
[0]);
17498 if (arg1
== NULL
) SWIG_fail
;
17502 arg2
= wxString_in_helper(swig_obj
[1]);
17503 if (arg2
== NULL
) SWIG_fail
;
17506 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17507 if (!SWIG_IsOK(ecode3
)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17510 arg3
= static_cast< size_t >(val3
);
17512 arg4
= wxString_in_helper(swig_obj
[3]);
17513 if (arg4
== NULL
) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17559 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17563 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17566 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17569 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17572 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17575 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17579 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17584 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17585 PyObject
*resultobj
= 0;
17586 wxEncodingConverter
*result
= 0 ;
17588 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17602 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17603 PyObject
*resultobj
= 0;
17604 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17607 PyObject
*swig_obj
[1] ;
17609 if (!args
) SWIG_fail
;
17610 swig_obj
[0] = args
;
17611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17612 if (!SWIG_IsOK(res1
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17615 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_Py_Void();
17630 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= 0;
17632 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17633 wxFontEncoding arg2
;
17634 wxFontEncoding arg3
;
17635 int arg4
= (int) wxCONVERT_STRICT
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 PyObject
* obj2
= 0 ;
17648 PyObject
* obj3
= 0 ;
17649 char * kwnames
[] = {
17650 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17655 if (!SWIG_IsOK(res1
)) {
17656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17658 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17660 if (!SWIG_IsOK(ecode2
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17663 arg2
= static_cast< wxFontEncoding
>(val2
);
17664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17665 if (!SWIG_IsOK(ecode3
)) {
17666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17668 arg3
= static_cast< wxFontEncoding
>(val3
);
17670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17671 if (!SWIG_IsOK(ecode4
)) {
17672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17674 arg4
= static_cast< int >(val4
);
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17691 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
= 0;
17693 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17694 wxString
*arg2
= 0 ;
17698 bool temp2
= false ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 char * kwnames
[] = {
17702 (char *) "self",(char *) "input", NULL
17705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17707 if (!SWIG_IsOK(res1
)) {
17708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17710 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17712 arg2
= wxString_in_helper(obj1
);
17713 if (arg2
== NULL
) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17743 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
= 0;
17745 wxFontEncoding arg1
;
17746 int arg2
= (int) wxPLATFORM_CURRENT
;
17747 wxFontEncodingArray result
;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char * kwnames
[] = {
17755 (char *) "enc",(char *) "platform", NULL
17758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17760 if (!SWIG_IsOK(ecode1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17763 arg1
= static_cast< wxFontEncoding
>(val1
);
17765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17766 if (!SWIG_IsOK(ecode2
)) {
17767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17769 arg2
= static_cast< int >(val2
);
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= PyList_New(0);
17779 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17780 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17781 PyList_Append(resultobj
, number
);
17791 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
= 0;
17793 wxFontEncoding arg1
;
17794 wxFontEncodingArray result
;
17797 PyObject
* obj0
= 0 ;
17798 char * kwnames
[] = {
17799 (char *) "enc", NULL
17802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17804 if (!SWIG_IsOK(ecode1
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17807 arg1
= static_cast< wxFontEncoding
>(val1
);
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= PyList_New(0);
17816 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17817 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17818 PyList_Append(resultobj
, number
);
17828 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
= 0;
17830 wxFontEncoding arg1
;
17831 wxFontEncoding arg2
;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char * kwnames
[] = {
17840 (char *) "encIn",(char *) "encOut", NULL
17843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17845 if (!SWIG_IsOK(ecode1
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17848 arg1
= static_cast< wxFontEncoding
>(val1
);
17849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17850 if (!SWIG_IsOK(ecode2
)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17853 arg2
= static_cast< wxFontEncoding
>(val2
);
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17869 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17872 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17873 return SWIG_Py_Void();
17876 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17877 return SWIG_Python_InitShadowInstance(args
);
17880 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17881 PyObject
*resultobj
= 0;
17882 wxDC
*arg1
= (wxDC
*) 0 ;
17885 PyObject
*swig_obj
[1] ;
17887 if (!args
) SWIG_fail
;
17888 swig_obj
[0] = args
;
17889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17890 if (!SWIG_IsOK(res1
)) {
17891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_Py_Void();
17908 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxDC
*arg1
= (wxDC
*) 0 ;
17913 wxColour
*arg4
= 0 ;
17914 int arg5
= (int) wxFLOOD_SURFACE
;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 PyObject
* obj2
= 0 ;
17928 PyObject
* obj3
= 0 ;
17929 PyObject
* obj4
= 0 ;
17930 char * kwnames
[] = {
17931 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17936 if (!SWIG_IsOK(res1
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17941 if (!SWIG_IsOK(ecode2
)) {
17942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17944 arg2
= static_cast< int >(val2
);
17945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17946 if (!SWIG_IsOK(ecode3
)) {
17947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17949 arg3
= static_cast< int >(val3
);
17952 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17956 if (!SWIG_IsOK(ecode5
)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17959 arg5
= static_cast< int >(val5
);
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17976 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= 0;
17978 wxDC
*arg1
= (wxDC
*) 0 ;
17979 wxPoint
*arg2
= 0 ;
17980 wxColour
*arg3
= 0 ;
17981 int arg4
= (int) wxFLOOD_SURFACE
;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 PyObject
* obj3
= 0 ;
17993 char * kwnames
[] = {
17994 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17999 if (!SWIG_IsOK(res1
)) {
18000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18009 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18013 if (!SWIG_IsOK(ecode4
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18016 arg4
= static_cast< int >(val4
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18033 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
= 0;
18035 wxDC
*arg1
= (wxDC
*) 0 ;
18037 wxColour
*arg3
= 0 ;
18038 wxColour
*arg4
= 0 ;
18039 wxPoint
*arg5
= 0 ;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 PyObject
* obj2
= 0 ;
18049 PyObject
* obj3
= 0 ;
18050 PyObject
* obj4
= 0 ;
18051 char * kwnames
[] = {
18052 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18057 if (!SWIG_IsOK(res1
)) {
18058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18067 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18071 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18075 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= SWIG_Py_Void();
18090 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
= 0;
18092 wxDC
*arg1
= (wxDC
*) 0 ;
18094 wxColour
*arg3
= 0 ;
18095 wxColour
*arg4
= 0 ;
18096 wxDirection arg5
= (wxDirection
) wxEAST
;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 PyObject
* obj4
= 0 ;
18109 char * kwnames
[] = {
18110 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18115 if (!SWIG_IsOK(res1
)) {
18116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18125 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18129 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18132 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18133 if (!SWIG_IsOK(ecode5
)) {
18134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18136 arg5
= static_cast< wxDirection
>(val5
);
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 resultobj
= SWIG_Py_Void();
18151 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
= 0;
18153 wxDC
*arg1
= (wxDC
*) 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 PyObject
* obj2
= 0 ;
18166 char * kwnames
[] = {
18167 (char *) "self",(char *) "x",(char *) "y", NULL
18170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18172 if (!SWIG_IsOK(res1
)) {
18173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18177 if (!SWIG_IsOK(ecode2
)) {
18178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18180 arg2
= static_cast< int >(val2
);
18181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18182 if (!SWIG_IsOK(ecode3
)) {
18183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18185 arg3
= static_cast< int >(val3
);
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18199 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxDC
*arg1
= (wxDC
*) 0 ;
18202 wxPoint
*arg2
= 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "pt", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18236 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
= 0;
18238 wxDC
*arg1
= (wxDC
*) 0 ;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 PyObject
* obj2
= 0 ;
18256 PyObject
* obj3
= 0 ;
18257 PyObject
* obj4
= 0 ;
18258 char * kwnames
[] = {
18259 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18264 if (!SWIG_IsOK(res1
)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18269 if (!SWIG_IsOK(ecode2
)) {
18270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18272 arg2
= static_cast< int >(val2
);
18273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18274 if (!SWIG_IsOK(ecode3
)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18277 arg3
= static_cast< int >(val3
);
18278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18279 if (!SWIG_IsOK(ecode4
)) {
18280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18282 arg4
= static_cast< int >(val4
);
18283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18284 if (!SWIG_IsOK(ecode5
)) {
18285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18287 arg5
= static_cast< int >(val5
);
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= SWIG_Py_Void();
18301 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
= 0;
18303 wxDC
*arg1
= (wxDC
*) 0 ;
18304 wxPoint
*arg2
= 0 ;
18305 wxPoint
*arg3
= 0 ;
18310 PyObject
* obj0
= 0 ;
18311 PyObject
* obj1
= 0 ;
18312 PyObject
* obj2
= 0 ;
18313 char * kwnames
[] = {
18314 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18319 if (!SWIG_IsOK(res1
)) {
18320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_Py_Void();
18344 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
= 0;
18346 wxDC
*arg1
= (wxDC
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "x",(char *) "y", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18374 if (!SWIG_IsOK(ecode3
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18377 arg3
= static_cast< int >(val3
);
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->CrossHair(arg2
,arg3
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_Py_Void();
18391 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxDC
*arg1
= (wxDC
*) 0 ;
18394 wxPoint
*arg2
= 0 ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 char * kwnames
[] = {
18401 (char *) "self",(char *) "pt", NULL
18404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_Py_Void();
18427 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
= 0;
18429 wxDC
*arg1
= (wxDC
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 PyObject
* obj2
= 0 ;
18453 PyObject
* obj3
= 0 ;
18454 PyObject
* obj4
= 0 ;
18455 PyObject
* obj5
= 0 ;
18456 PyObject
* obj6
= 0 ;
18457 char * kwnames
[] = {
18458 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18468 if (!SWIG_IsOK(ecode2
)) {
18469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18471 arg2
= static_cast< int >(val2
);
18472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18473 if (!SWIG_IsOK(ecode3
)) {
18474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18476 arg3
= static_cast< int >(val3
);
18477 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18478 if (!SWIG_IsOK(ecode4
)) {
18479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18481 arg4
= static_cast< int >(val4
);
18482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18483 if (!SWIG_IsOK(ecode5
)) {
18484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18486 arg5
= static_cast< int >(val5
);
18487 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18488 if (!SWIG_IsOK(ecode6
)) {
18489 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18491 arg6
= static_cast< int >(val6
);
18492 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18493 if (!SWIG_IsOK(ecode7
)) {
18494 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18496 arg7
= static_cast< int >(val7
);
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_Py_Void();
18510 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
= 0;
18512 wxDC
*arg1
= (wxDC
*) 0 ;
18513 wxPoint
*arg2
= 0 ;
18514 wxPoint
*arg3
= 0 ;
18515 wxPoint
*arg4
= 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 PyObject
* obj2
= 0 ;
18524 PyObject
* obj3
= 0 ;
18525 char * kwnames
[] = {
18526 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18531 if (!SWIG_IsOK(res1
)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_Py_Void();
18560 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
= 0;
18562 wxDC
*arg1
= (wxDC
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 PyObject
* obj2
= 0 ;
18580 PyObject
* obj3
= 0 ;
18581 PyObject
* obj4
= 0 ;
18582 char * kwnames
[] = {
18583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18593 if (!SWIG_IsOK(ecode2
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18596 arg2
= static_cast< int >(val2
);
18597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18598 if (!SWIG_IsOK(ecode3
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18601 arg3
= static_cast< int >(val3
);
18602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18603 if (!SWIG_IsOK(ecode4
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18606 arg4
= static_cast< int >(val4
);
18607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18608 if (!SWIG_IsOK(ecode5
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18611 arg5
= static_cast< int >(val5
);
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
= 0;
18627 wxDC
*arg1
= (wxDC
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "rect", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_Py_Void();
18661 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxDC
*arg1
= (wxDC
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 PyObject
* obj3
= 0 ;
18688 PyObject
* obj4
= 0 ;
18689 PyObject
* obj5
= 0 ;
18690 PyObject
* obj6
= 0 ;
18691 char * kwnames
[] = {
18692 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18697 if (!SWIG_IsOK(res1
)) {
18698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18702 if (!SWIG_IsOK(ecode2
)) {
18703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18705 arg2
= static_cast< int >(val2
);
18706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18707 if (!SWIG_IsOK(ecode3
)) {
18708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18710 arg3
= static_cast< int >(val3
);
18711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18712 if (!SWIG_IsOK(ecode4
)) {
18713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18715 arg4
= static_cast< int >(val4
);
18716 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18717 if (!SWIG_IsOK(ecode5
)) {
18718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18720 arg5
= static_cast< int >(val5
);
18721 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18722 if (!SWIG_IsOK(ecode6
)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18725 arg6
= static_cast< double >(val6
);
18726 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18727 if (!SWIG_IsOK(ecode7
)) {
18728 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18730 arg7
= static_cast< double >(val7
);
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= SWIG_Py_Void();
18744 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
= 0;
18746 wxDC
*arg1
= (wxDC
*) 0 ;
18747 wxPoint
*arg2
= 0 ;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 PyObject
* obj2
= 0 ;
18762 PyObject
* obj3
= 0 ;
18763 PyObject
* obj4
= 0 ;
18764 char * kwnames
[] = {
18765 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18770 if (!SWIG_IsOK(res1
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18780 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18782 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18783 if (!SWIG_IsOK(ecode4
)) {
18784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18786 arg4
= static_cast< double >(val4
);
18787 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18788 if (!SWIG_IsOK(ecode5
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18791 arg5
= static_cast< double >(val5
);
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_Py_Void();
18805 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
= 0;
18807 wxDC
*arg1
= (wxDC
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 PyObject
* obj1
= 0 ;
18818 PyObject
* obj2
= 0 ;
18819 char * kwnames
[] = {
18820 (char *) "self",(char *) "x",(char *) "y", NULL
18823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18825 if (!SWIG_IsOK(res1
)) {
18826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18830 if (!SWIG_IsOK(ecode2
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18833 arg2
= static_cast< int >(val2
);
18834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18835 if (!SWIG_IsOK(ecode3
)) {
18836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18838 arg3
= static_cast< int >(val3
);
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->DrawPoint(arg2
,arg3
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_Py_Void();
18852 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= 0;
18854 wxDC
*arg1
= (wxDC
*) 0 ;
18855 wxPoint
*arg2
= 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 char * kwnames
[] = {
18862 (char *) "self",(char *) "pt", NULL
18865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18867 if (!SWIG_IsOK(res1
)) {
18868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_Py_Void();
18888 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= 0;
18890 wxDC
*arg1
= (wxDC
*) 0 ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 PyObject
* obj2
= 0 ;
18908 PyObject
* obj3
= 0 ;
18909 PyObject
* obj4
= 0 ;
18910 char * kwnames
[] = {
18911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18921 if (!SWIG_IsOK(ecode2
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18924 arg2
= static_cast< int >(val2
);
18925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18926 if (!SWIG_IsOK(ecode3
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18929 arg3
= static_cast< int >(val3
);
18930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18931 if (!SWIG_IsOK(ecode4
)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18934 arg4
= static_cast< int >(val4
);
18935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18936 if (!SWIG_IsOK(ecode5
)) {
18937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18939 arg5
= static_cast< int >(val5
);
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_Py_Void();
18953 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxDC
*arg1
= (wxDC
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char * kwnames
[] = {
18963 (char *) "self",(char *) "rect", NULL
18966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18968 if (!SWIG_IsOK(res1
)) {
18969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_Py_Void();
18989 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= 0;
18991 wxDC
*arg1
= (wxDC
*) 0 ;
18992 wxPoint
*arg2
= 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 PyObject
* obj2
= 0 ;
19001 char * kwnames
[] = {
19002 (char *) "self",(char *) "pt",(char *) "sz", NULL
19005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19017 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_Py_Void();
19032 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxDC
*arg1
= (wxDC
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj1
= 0 ;
19054 PyObject
* obj2
= 0 ;
19055 PyObject
* obj3
= 0 ;
19056 PyObject
* obj4
= 0 ;
19057 PyObject
* obj5
= 0 ;
19058 char * kwnames
[] = {
19059 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19064 if (!SWIG_IsOK(res1
)) {
19065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19069 if (!SWIG_IsOK(ecode2
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19072 arg2
= static_cast< int >(val2
);
19073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19074 if (!SWIG_IsOK(ecode3
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19077 arg3
= static_cast< int >(val3
);
19078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19079 if (!SWIG_IsOK(ecode4
)) {
19080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19082 arg4
= static_cast< int >(val4
);
19083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19084 if (!SWIG_IsOK(ecode5
)) {
19085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19087 arg5
= static_cast< int >(val5
);
19088 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19089 if (!SWIG_IsOK(ecode6
)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19092 arg6
= static_cast< double >(val6
);
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_Py_Void();
19106 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
= 0;
19108 wxDC
*arg1
= (wxDC
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 PyObject
* obj2
= 0 ;
19119 char * kwnames
[] = {
19120 (char *) "self",(char *) "r",(char *) "radius", NULL
19123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19125 if (!SWIG_IsOK(res1
)) {
19126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19131 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19133 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19134 if (!SWIG_IsOK(ecode3
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19137 arg3
= static_cast< double >(val3
);
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_Py_Void();
19151 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
= 0;
19153 wxDC
*arg1
= (wxDC
*) 0 ;
19154 wxPoint
*arg2
= 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 PyObject
* obj3
= 0 ;
19167 char * kwnames
[] = {
19168 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19183 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19185 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19186 if (!SWIG_IsOK(ecode4
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19189 arg4
= static_cast< double >(val4
);
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= SWIG_Py_Void();
19203 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
= 0;
19205 wxDC
*arg1
= (wxDC
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 PyObject
* obj3
= 0 ;
19221 char * kwnames
[] = {
19222 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19232 if (!SWIG_IsOK(ecode2
)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19235 arg2
= static_cast< int >(val2
);
19236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19237 if (!SWIG_IsOK(ecode3
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19240 arg3
= static_cast< int >(val3
);
19241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19242 if (!SWIG_IsOK(ecode4
)) {
19243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19245 arg4
= static_cast< int >(val4
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_Py_Void();
19259 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
= 0;
19261 wxDC
*arg1
= (wxDC
*) 0 ;
19262 wxPoint
*arg2
= 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 PyObject
* obj2
= 0 ;
19272 char * kwnames
[] = {
19273 (char *) "self",(char *) "pt",(char *) "radius", NULL
19276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19278 if (!SWIG_IsOK(res1
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19287 if (!SWIG_IsOK(ecode3
)) {
19288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19290 arg3
= static_cast< int >(val3
);
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_Py_Void();
19304 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
= 0;
19306 wxDC
*arg1
= (wxDC
*) 0 ;
19321 PyObject
* obj0
= 0 ;
19322 PyObject
* obj1
= 0 ;
19323 PyObject
* obj2
= 0 ;
19324 PyObject
* obj3
= 0 ;
19325 PyObject
* obj4
= 0 ;
19326 char * kwnames
[] = {
19327 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19332 if (!SWIG_IsOK(res1
)) {
19333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19337 if (!SWIG_IsOK(ecode2
)) {
19338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19340 arg2
= static_cast< int >(val2
);
19341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19342 if (!SWIG_IsOK(ecode3
)) {
19343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19345 arg3
= static_cast< int >(val3
);
19346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19347 if (!SWIG_IsOK(ecode4
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19350 arg4
= static_cast< int >(val4
);
19351 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19352 if (!SWIG_IsOK(ecode5
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19355 arg5
= static_cast< int >(val5
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19369 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxDC
*arg1
= (wxDC
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char * kwnames
[] = {
19379 (char *) "self",(char *) "rect", NULL
19382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19384 if (!SWIG_IsOK(res1
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19390 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_Py_Void();
19405 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
= 0;
19407 wxDC
*arg1
= (wxDC
*) 0 ;
19408 wxPoint
*arg2
= 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 char * kwnames
[] = {
19418 (char *) "self",(char *) "pt",(char *) "sz", NULL
19421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19423 if (!SWIG_IsOK(res1
)) {
19424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19433 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= SWIG_Py_Void();
19448 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
= 0;
19450 wxDC
*arg1
= (wxDC
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 PyObject
* obj2
= 0 ;
19465 PyObject
* obj3
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19472 if (!SWIG_IsOK(res1
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19477 if (!SWIG_IsOK(res2
)) {
19478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19483 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19485 if (!SWIG_IsOK(ecode3
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19488 arg3
= static_cast< int >(val3
);
19489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19490 if (!SWIG_IsOK(ecode4
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19493 arg4
= static_cast< int >(val4
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_Py_Void();
19507 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
= 0;
19509 wxDC
*arg1
= (wxDC
*) 0 ;
19511 wxPoint
*arg3
= 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 PyObject
* obj2
= 0 ;
19520 char * kwnames
[] = {
19521 (char *) "self",(char *) "icon",(char *) "pt", NULL
19524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19526 if (!SWIG_IsOK(res1
)) {
19527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19531 if (!SWIG_IsOK(res2
)) {
19532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19537 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_Py_Void();
19555 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxDC
*arg1
= (wxDC
*) 0 ;
19558 wxBitmap
*arg2
= 0 ;
19561 bool arg5
= (bool) false ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 PyObject
* obj3
= 0 ;
19576 PyObject
* obj4
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19588 if (!SWIG_IsOK(res2
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19594 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19596 if (!SWIG_IsOK(ecode3
)) {
19597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19599 arg3
= static_cast< int >(val3
);
19600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19601 if (!SWIG_IsOK(ecode4
)) {
19602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19604 arg4
= static_cast< int >(val4
);
19606 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19607 if (!SWIG_IsOK(ecode5
)) {
19608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19610 arg5
= static_cast< bool >(val5
);
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_Py_Void();
19625 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
= 0;
19627 wxDC
*arg1
= (wxDC
*) 0 ;
19628 wxBitmap
*arg2
= 0 ;
19629 wxPoint
*arg3
= 0 ;
19630 bool arg4
= (bool) false ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 PyObject
* obj2
= 0 ;
19641 PyObject
* obj3
= 0 ;
19642 char * kwnames
[] = {
19643 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19648 if (!SWIG_IsOK(res1
)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19653 if (!SWIG_IsOK(res2
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19659 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19665 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19666 if (!SWIG_IsOK(ecode4
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19669 arg4
= static_cast< bool >(val4
);
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_Py_Void();
19684 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
= 0;
19686 wxDC
*arg1
= (wxDC
*) 0 ;
19687 wxString
*arg2
= 0 ;
19692 bool temp2
= false ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 PyObject
* obj2
= 0 ;
19700 PyObject
* obj3
= 0 ;
19701 char * kwnames
[] = {
19702 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19707 if (!SWIG_IsOK(res1
)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19712 arg2
= wxString_in_helper(obj1
);
19713 if (arg2
== NULL
) SWIG_fail
;
19716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19717 if (!SWIG_IsOK(ecode3
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19720 arg3
= static_cast< int >(val3
);
19721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19722 if (!SWIG_IsOK(ecode4
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19725 arg4
= static_cast< int >(val4
);
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= SWIG_Py_Void();
19747 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= 0;
19749 wxDC
*arg1
= (wxDC
*) 0 ;
19750 wxString
*arg2
= 0 ;
19751 wxPoint
*arg3
= 0 ;
19754 bool temp2
= false ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 PyObject
* obj2
= 0 ;
19759 char * kwnames
[] = {
19760 (char *) "self",(char *) "text",(char *) "pt", NULL
19763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19765 if (!SWIG_IsOK(res1
)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19770 arg2
= wxString_in_helper(obj1
);
19771 if (arg2
== NULL
) SWIG_fail
;
19776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19799 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
= 0;
19801 wxDC
*arg1
= (wxDC
*) 0 ;
19802 wxString
*arg2
= 0 ;
19808 bool temp2
= false ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 PyObject
* obj2
= 0 ;
19818 PyObject
* obj3
= 0 ;
19819 PyObject
* obj4
= 0 ;
19820 char * kwnames
[] = {
19821 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19826 if (!SWIG_IsOK(res1
)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19831 arg2
= wxString_in_helper(obj1
);
19832 if (arg2
== NULL
) SWIG_fail
;
19835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19836 if (!SWIG_IsOK(ecode3
)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19839 arg3
= static_cast< int >(val3
);
19840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19841 if (!SWIG_IsOK(ecode4
)) {
19842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19844 arg4
= static_cast< int >(val4
);
19845 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19846 if (!SWIG_IsOK(ecode5
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19849 arg5
= static_cast< double >(val5
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_Py_Void();
19871 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
= 0;
19873 wxDC
*arg1
= (wxDC
*) 0 ;
19874 wxString
*arg2
= 0 ;
19875 wxPoint
*arg3
= 0 ;
19879 bool temp2
= false ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 PyObject
* obj2
= 0 ;
19886 PyObject
* obj3
= 0 ;
19887 char * kwnames
[] = {
19888 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19898 arg2
= wxString_in_helper(obj1
);
19899 if (arg2
== NULL
) SWIG_fail
;
19904 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19906 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19907 if (!SWIG_IsOK(ecode4
)) {
19908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19910 arg4
= static_cast< double >(val4
);
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_Py_Void();
19932 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
= 0;
19934 wxDC
*arg1
= (wxDC
*) 0 ;
19939 wxDC
*arg6
= (wxDC
*) 0 ;
19942 int arg9
= (int) wxCOPY
;
19943 bool arg10
= (bool) false ;
19944 int arg11
= (int) -1 ;
19945 int arg12
= (int) -1 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 PyObject
* obj2
= 0 ;
19974 PyObject
* obj3
= 0 ;
19975 PyObject
* obj4
= 0 ;
19976 PyObject
* obj5
= 0 ;
19977 PyObject
* obj6
= 0 ;
19978 PyObject
* obj7
= 0 ;
19979 PyObject
* obj8
= 0 ;
19980 PyObject
* obj9
= 0 ;
19981 PyObject
* obj10
= 0 ;
19982 PyObject
* obj11
= 0 ;
19983 char * kwnames
[] = {
19984 (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
19987 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
;
19988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19989 if (!SWIG_IsOK(res1
)) {
19990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19994 if (!SWIG_IsOK(ecode2
)) {
19995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19997 arg2
= static_cast< int >(val2
);
19998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19999 if (!SWIG_IsOK(ecode3
)) {
20000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20002 arg3
= static_cast< int >(val3
);
20003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20004 if (!SWIG_IsOK(ecode4
)) {
20005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20007 arg4
= static_cast< int >(val4
);
20008 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20009 if (!SWIG_IsOK(ecode5
)) {
20010 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20012 arg5
= static_cast< int >(val5
);
20013 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20014 if (!SWIG_IsOK(res6
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20017 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20018 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20019 if (!SWIG_IsOK(ecode7
)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20022 arg7
= static_cast< int >(val7
);
20023 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20024 if (!SWIG_IsOK(ecode8
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20027 arg8
= static_cast< int >(val8
);
20029 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20030 if (!SWIG_IsOK(ecode9
)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20033 arg9
= static_cast< int >(val9
);
20036 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20037 if (!SWIG_IsOK(ecode10
)) {
20038 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20040 arg10
= static_cast< bool >(val10
);
20043 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20044 if (!SWIG_IsOK(ecode11
)) {
20045 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20047 arg11
= static_cast< int >(val11
);
20050 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20051 if (!SWIG_IsOK(ecode12
)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20054 arg12
= static_cast< int >(val12
);
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20071 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= 0;
20073 wxDC
*arg1
= (wxDC
*) 0 ;
20074 wxPoint
*arg2
= 0 ;
20076 wxDC
*arg4
= (wxDC
*) 0 ;
20077 wxPoint
*arg5
= 0 ;
20078 int arg6
= (int) wxCOPY
;
20079 bool arg7
= (bool) false ;
20080 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20081 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 PyObject
* obj2
= 0 ;
20098 PyObject
* obj3
= 0 ;
20099 PyObject
* obj4
= 0 ;
20100 PyObject
* obj5
= 0 ;
20101 PyObject
* obj6
= 0 ;
20102 PyObject
* obj7
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20119 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20121 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20122 if (!SWIG_IsOK(res4
)) {
20123 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20125 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20128 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20131 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20132 if (!SWIG_IsOK(ecode6
)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20135 arg6
= static_cast< int >(val6
);
20138 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20139 if (!SWIG_IsOK(ecode7
)) {
20140 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20142 arg7
= static_cast< bool >(val7
);
20147 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20165 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
= 0;
20167 wxDC
*arg1
= (wxDC
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20184 PyObject
* obj2
= 0 ;
20185 PyObject
* obj3
= 0 ;
20186 PyObject
* obj4
= 0 ;
20187 char * kwnames
[] = {
20188 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20198 if (!SWIG_IsOK(ecode2
)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20201 arg2
= static_cast< int >(val2
);
20202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20203 if (!SWIG_IsOK(ecode3
)) {
20204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20206 arg3
= static_cast< int >(val3
);
20207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20208 if (!SWIG_IsOK(ecode4
)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20211 arg4
= static_cast< int >(val4
);
20212 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20213 if (!SWIG_IsOK(ecode5
)) {
20214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20216 arg5
= static_cast< int >(val5
);
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= SWIG_Py_Void();
20230 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
= 0;
20232 wxDC
*arg1
= (wxDC
*) 0 ;
20233 wxPoint
*arg2
= 0 ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 PyObject
* obj2
= 0 ;
20242 char * kwnames
[] = {
20243 (char *) "self",(char *) "pt",(char *) "sz", NULL
20246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20248 if (!SWIG_IsOK(res1
)) {
20249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20258 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_Py_Void();
20273 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxDC
*arg1
= (wxDC
*) 0 ;
20276 wxRegion
*arg2
= 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "region", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20294 if (!SWIG_IsOK(res2
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20300 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_Py_Void();
20314 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxDC
*arg1
= (wxDC
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char * kwnames
[] = {
20324 (char *) "self",(char *) "rect", NULL
20327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_Py_Void();
20350 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
= 0;
20352 wxDC
*arg1
= (wxDC
*) 0 ;
20354 wxPoint
*arg3
= (wxPoint
*) 0 ;
20355 int arg4
= (int) 0 ;
20356 int arg5
= (int) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 PyObject
* obj2
= 0 ;
20366 PyObject
* obj3
= 0 ;
20367 char * kwnames
[] = {
20368 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20379 if (arg3
== NULL
) SWIG_fail
;
20382 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20383 if (!SWIG_IsOK(ecode4
)) {
20384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20386 arg4
= static_cast< int >(val4
);
20389 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20390 if (!SWIG_IsOK(ecode5
)) {
20391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20393 arg5
= static_cast< int >(val5
);
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= SWIG_Py_Void();
20403 if (arg3
) delete [] arg3
;
20408 if (arg3
) delete [] arg3
;
20414 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= 0;
20416 wxDC
*arg1
= (wxDC
*) 0 ;
20418 wxPoint
*arg3
= (wxPoint
*) 0 ;
20419 int arg4
= (int) 0 ;
20420 int arg5
= (int) 0 ;
20421 int arg6
= (int) wxODDEVEN_RULE
;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 PyObject
* obj2
= 0 ;
20433 PyObject
* obj3
= 0 ;
20434 PyObject
* obj4
= 0 ;
20435 char * kwnames
[] = {
20436 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20441 if (!SWIG_IsOK(res1
)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20446 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20447 if (arg3
== NULL
) SWIG_fail
;
20450 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20451 if (!SWIG_IsOK(ecode4
)) {
20452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20454 arg4
= static_cast< int >(val4
);
20457 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20458 if (!SWIG_IsOK(ecode5
)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20461 arg5
= static_cast< int >(val5
);
20464 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20465 if (!SWIG_IsOK(ecode6
)) {
20466 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20468 arg6
= static_cast< int >(val6
);
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_Py_Void();
20478 if (arg3
) delete [] arg3
;
20483 if (arg3
) delete [] arg3
;
20489 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
= 0;
20491 wxDC
*arg1
= (wxDC
*) 0 ;
20492 wxString
*arg2
= 0 ;
20494 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20495 int arg5
= (int) -1 ;
20498 bool temp2
= false ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 PyObject
* obj2
= 0 ;
20507 PyObject
* obj3
= 0 ;
20508 PyObject
* obj4
= 0 ;
20509 char * kwnames
[] = {
20510 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20515 if (!SWIG_IsOK(res1
)) {
20516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20520 arg2
= wxString_in_helper(obj1
);
20521 if (arg2
== NULL
) SWIG_fail
;
20526 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20530 if (!SWIG_IsOK(ecode4
)) {
20531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20533 arg4
= static_cast< int >(val4
);
20536 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20537 if (!SWIG_IsOK(ecode5
)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20540 arg5
= static_cast< int >(val5
);
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_Py_Void();
20563 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
= 0;
20565 wxDC
*arg1
= (wxDC
*) 0 ;
20566 wxString
*arg2
= 0 ;
20567 wxBitmap
*arg3
= 0 ;
20569 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20570 int arg6
= (int) -1 ;
20574 bool temp2
= false ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 PyObject
* obj2
= 0 ;
20585 PyObject
* obj3
= 0 ;
20586 PyObject
* obj4
= 0 ;
20587 PyObject
* obj5
= 0 ;
20588 char * kwnames
[] = {
20589 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20599 arg2
= wxString_in_helper(obj1
);
20600 if (arg2
== NULL
) SWIG_fail
;
20603 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20604 if (!SWIG_IsOK(res3
)) {
20605 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20610 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20613 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20616 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20617 if (!SWIG_IsOK(ecode5
)) {
20618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20620 arg5
= static_cast< int >(val5
);
20623 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20624 if (!SWIG_IsOK(ecode6
)) {
20625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20627 arg6
= static_cast< int >(val6
);
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20650 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
= 0;
20652 wxDC
*arg1
= (wxDC
*) 0 ;
20654 wxPoint
*arg3
= (wxPoint
*) 0 ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20659 char * kwnames
[] = {
20660 (char *) "self",(char *) "points", NULL
20663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20665 if (!SWIG_IsOK(res1
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20670 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20671 if (arg3
== NULL
) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->DrawSpline(arg2
,arg3
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_Py_Void();
20681 if (arg3
) delete [] arg3
;
20686 if (arg3
) delete [] arg3
;
20692 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20693 PyObject
*resultobj
= 0;
20694 wxDC
*arg1
= (wxDC
*) 0 ;
20697 PyObject
*swig_obj
[1] ;
20699 if (!args
) SWIG_fail
;
20700 swig_obj
[0] = args
;
20701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20702 if (!SWIG_IsOK(res1
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_Py_Void();
20719 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxDC
*arg1
= (wxDC
*) 0 ;
20722 wxString
*arg2
= 0 ;
20726 bool temp2
= false ;
20727 PyObject
* obj0
= 0 ;
20728 PyObject
* obj1
= 0 ;
20729 char * kwnames
[] = {
20730 (char *) "self",(char *) "message", NULL
20733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20735 if (!SWIG_IsOK(res1
)) {
20736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20740 arg2
= wxString_in_helper(obj1
);
20741 if (arg2
== NULL
) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20767 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20768 PyObject
*resultobj
= 0;
20769 wxDC
*arg1
= (wxDC
*) 0 ;
20772 PyObject
*swig_obj
[1] ;
20774 if (!args
) SWIG_fail
;
20775 swig_obj
[0] = args
;
20776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_Py_Void();
20794 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20795 PyObject
*resultobj
= 0;
20796 wxDC
*arg1
= (wxDC
*) 0 ;
20799 PyObject
*swig_obj
[1] ;
20801 if (!args
) SWIG_fail
;
20802 swig_obj
[0] = args
;
20803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 (arg1
)->StartPage();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_Py_Void();
20821 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 PyObject
*resultobj
= 0;
20823 wxDC
*arg1
= (wxDC
*) 0 ;
20826 PyObject
*swig_obj
[1] ;
20828 if (!args
) SWIG_fail
;
20829 swig_obj
[0] = args
;
20830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20831 if (!SWIG_IsOK(res1
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_Py_Void();
20848 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
= 0;
20850 wxDC
*arg1
= (wxDC
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char * kwnames
[] = {
20859 (char *) "self",(char *) "font", NULL
20862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20869 if (!SWIG_IsOK(res2
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20875 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->SetFont((wxFont
const &)*arg2
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20889 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxDC
*arg1
= (wxDC
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char * kwnames
[] = {
20900 (char *) "self",(char *) "pen", NULL
20903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20910 if (!SWIG_IsOK(res2
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20916 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 (arg1
)->SetPen((wxPen
const &)*arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_Py_Void();
20930 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
= 0;
20932 wxDC
*arg1
= (wxDC
*) 0 ;
20933 wxBrush
*arg2
= 0 ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 char * kwnames
[] = {
20941 (char *) "self",(char *) "brush", NULL
20944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20946 if (!SWIG_IsOK(res1
)) {
20947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20951 if (!SWIG_IsOK(res2
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20957 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= SWIG_Py_Void();
20971 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
= 0;
20973 wxDC
*arg1
= (wxDC
*) 0 ;
20974 wxBrush
*arg2
= 0 ;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 char * kwnames
[] = {
20982 (char *) "self",(char *) "brush", NULL
20985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20987 if (!SWIG_IsOK(res1
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20992 if (!SWIG_IsOK(res2
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20998 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_Py_Void();
21012 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
= 0;
21014 wxDC
*arg1
= (wxDC
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 PyObject
* obj1
= 0 ;
21022 char * kwnames
[] = {
21023 (char *) "self",(char *) "mode", NULL
21026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21028 if (!SWIG_IsOK(res1
)) {
21029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21033 if (!SWIG_IsOK(ecode2
)) {
21034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21036 arg2
= static_cast< int >(val2
);
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21039 (arg1
)->SetBackgroundMode(arg2
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= SWIG_Py_Void();
21050 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
= 0;
21052 wxDC
*arg1
= (wxDC
*) 0 ;
21053 wxPalette
*arg2
= 0 ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "self",(char *) "palette", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21066 if (!SWIG_IsOK(res1
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21071 if (!SWIG_IsOK(res2
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21077 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_Py_Void();
21091 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21092 PyObject
*resultobj
= 0;
21093 wxDC
*arg1
= (wxDC
*) 0 ;
21096 PyObject
*swig_obj
[1] ;
21098 if (!args
) SWIG_fail
;
21099 swig_obj
[0] = args
;
21100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21101 if (!SWIG_IsOK(res1
)) {
21102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->DestroyClippingRegion();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_Py_Void();
21118 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21119 PyObject
*resultobj
= 0;
21120 wxDC
*arg1
= (wxDC
*) 0 ;
21121 int *arg2
= (int *) 0 ;
21122 int *arg3
= (int *) 0 ;
21123 int *arg4
= (int *) 0 ;
21124 int *arg5
= (int *) 0 ;
21128 int res2
= SWIG_TMPOBJ
;
21130 int res3
= SWIG_TMPOBJ
;
21132 int res4
= SWIG_TMPOBJ
;
21134 int res5
= SWIG_TMPOBJ
;
21135 PyObject
*swig_obj
[1] ;
21141 if (!args
) SWIG_fail
;
21142 swig_obj
[0] = args
;
21143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21144 if (!SWIG_IsOK(res1
)) {
21145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_Py_Void();
21155 if (SWIG_IsTmpObj(res2
)) {
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21158 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21161 if (SWIG_IsTmpObj(res3
)) {
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21164 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21167 if (SWIG_IsTmpObj(res4
)) {
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21170 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21173 if (SWIG_IsTmpObj(res5
)) {
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21176 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21185 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21186 PyObject
*resultobj
= 0;
21187 wxDC
*arg1
= (wxDC
*) 0 ;
21191 PyObject
*swig_obj
[1] ;
21193 if (!args
) SWIG_fail
;
21194 swig_obj
[0] = args
;
21195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= wxDC_GetClippingRect(arg1
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21213 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21214 PyObject
*resultobj
= 0;
21215 wxDC
*arg1
= (wxDC
*) 0 ;
21219 PyObject
*swig_obj
[1] ;
21221 if (!args
) SWIG_fail
;
21222 swig_obj
[0] = args
;
21223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21224 if (!SWIG_IsOK(res1
)) {
21225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_From_int(static_cast< int >(result
));
21241 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21242 PyObject
*resultobj
= 0;
21243 wxDC
*arg1
= (wxDC
*) 0 ;
21247 PyObject
*swig_obj
[1] ;
21249 if (!args
) SWIG_fail
;
21250 swig_obj
[0] = args
;
21251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21252 if (!SWIG_IsOK(res1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_From_int(static_cast< int >(result
));
21269 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
= 0;
21271 wxDC
*arg1
= (wxDC
*) 0 ;
21272 wxString
*arg2
= 0 ;
21273 int *arg3
= (int *) 0 ;
21274 int *arg4
= (int *) 0 ;
21277 bool temp2
= false ;
21279 int res3
= SWIG_TMPOBJ
;
21281 int res4
= SWIG_TMPOBJ
;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char * kwnames
[] = {
21285 (char *) "self",(char *) "string", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21297 arg2
= wxString_in_helper(obj1
);
21298 if (arg2
== NULL
) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_Py_Void();
21308 if (SWIG_IsTmpObj(res3
)) {
21309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21311 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21314 if (SWIG_IsTmpObj(res4
)) {
21315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21317 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21334 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= 0;
21336 wxDC
*arg1
= (wxDC
*) 0 ;
21337 wxString
*arg2
= 0 ;
21338 int *arg3
= (int *) 0 ;
21339 int *arg4
= (int *) 0 ;
21340 int *arg5
= (int *) 0 ;
21341 int *arg6
= (int *) 0 ;
21342 wxFont
*arg7
= (wxFont
*) NULL
;
21345 bool temp2
= false ;
21347 int res3
= SWIG_TMPOBJ
;
21349 int res4
= SWIG_TMPOBJ
;
21351 int res5
= SWIG_TMPOBJ
;
21353 int res6
= SWIG_TMPOBJ
;
21356 PyObject
* obj0
= 0 ;
21357 PyObject
* obj1
= 0 ;
21358 PyObject
* obj2
= 0 ;
21359 char * kwnames
[] = {
21360 (char *) "self",(char *) "string",(char *) "font", NULL
21367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21369 if (!SWIG_IsOK(res1
)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21374 arg2
= wxString_in_helper(obj1
);
21375 if (arg2
== NULL
) SWIG_fail
;
21379 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21380 if (!SWIG_IsOK(res7
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21383 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_Py_Void();
21392 if (SWIG_IsTmpObj(res3
)) {
21393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21395 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21398 if (SWIG_IsTmpObj(res4
)) {
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21401 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21404 if (SWIG_IsTmpObj(res5
)) {
21405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21407 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21410 if (SWIG_IsTmpObj(res6
)) {
21411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21413 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21430 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
= 0;
21432 wxDC
*arg1
= (wxDC
*) 0 ;
21433 wxString
*arg2
= 0 ;
21434 int *arg3
= (int *) 0 ;
21435 int *arg4
= (int *) 0 ;
21436 int *arg5
= (int *) 0 ;
21437 wxFont
*arg6
= (wxFont
*) NULL
;
21440 bool temp2
= false ;
21442 int res3
= SWIG_TMPOBJ
;
21444 int res4
= SWIG_TMPOBJ
;
21446 int res5
= SWIG_TMPOBJ
;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 PyObject
* obj2
= 0 ;
21452 char * kwnames
[] = {
21453 (char *) "self",(char *) "text",(char *) "font", NULL
21459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21466 arg2
= wxString_in_helper(obj1
);
21467 if (arg2
== NULL
) SWIG_fail
;
21471 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21472 if (!SWIG_IsOK(res6
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21475 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= SWIG_Py_Void();
21484 if (SWIG_IsTmpObj(res3
)) {
21485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21487 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21490 if (SWIG_IsTmpObj(res4
)) {
21491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21493 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21496 if (SWIG_IsTmpObj(res5
)) {
21497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21499 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21516 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= 0;
21518 wxDC
*arg1
= (wxDC
*) 0 ;
21519 wxString
*arg2
= 0 ;
21523 bool temp2
= false ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 char * kwnames
[] = {
21527 (char *) "self",(char *) "text", NULL
21530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21537 arg2
= wxString_in_helper(obj1
);
21538 if (arg2
== NULL
) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= wxArrayInt2PyList_helper(result
);
21564 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21565 PyObject
*resultobj
= 0;
21566 wxDC
*arg1
= (wxDC
*) 0 ;
21570 PyObject
*swig_obj
[1] ;
21572 if (!args
) SWIG_fail
;
21573 swig_obj
[0] = args
;
21574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21575 if (!SWIG_IsOK(res1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (arg1
)->GetSize();
21582 wxPyEndAllowThreads(__tstate
);
21583 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21592 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21593 PyObject
*resultobj
= 0;
21594 wxDC
*arg1
= (wxDC
*) 0 ;
21595 int *arg2
= (int *) 0 ;
21596 int *arg3
= (int *) 0 ;
21600 int res2
= SWIG_TMPOBJ
;
21602 int res3
= SWIG_TMPOBJ
;
21603 PyObject
*swig_obj
[1] ;
21607 if (!args
) SWIG_fail
;
21608 swig_obj
[0] = args
;
21609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 (arg1
)->GetSize(arg2
,arg3
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_Py_Void();
21621 if (SWIG_IsTmpObj(res2
)) {
21622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21624 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21627 if (SWIG_IsTmpObj(res3
)) {
21628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21630 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21639 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21640 PyObject
*resultobj
= 0;
21641 wxDC
*arg1
= (wxDC
*) 0 ;
21645 PyObject
*swig_obj
[1] ;
21647 if (!args
) SWIG_fail
;
21648 swig_obj
[0] = args
;
21649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21650 if (!SWIG_IsOK(res1
)) {
21651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21667 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21668 PyObject
*resultobj
= 0;
21669 wxDC
*arg1
= (wxDC
*) 0 ;
21670 int *arg2
= (int *) 0 ;
21671 int *arg3
= (int *) 0 ;
21675 int res2
= SWIG_TMPOBJ
;
21677 int res3
= SWIG_TMPOBJ
;
21678 PyObject
*swig_obj
[1] ;
21682 if (!args
) SWIG_fail
;
21683 swig_obj
[0] = args
;
21684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21685 if (!SWIG_IsOK(res1
)) {
21686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_Py_Void();
21696 if (SWIG_IsTmpObj(res2
)) {
21697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21699 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21702 if (SWIG_IsTmpObj(res3
)) {
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21705 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21714 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
= 0;
21716 wxDC
*arg1
= (wxDC
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char * kwnames
[] = {
21726 (char *) "self",(char *) "x", NULL
21729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21731 if (!SWIG_IsOK(res1
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21736 if (!SWIG_IsOK(ecode2
)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21739 arg2
= static_cast< int >(val2
);
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_From_int(static_cast< int >(result
));
21753 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
= 0;
21755 wxDC
*arg1
= (wxDC
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char * kwnames
[] = {
21765 (char *) "self",(char *) "y", NULL
21768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21770 if (!SWIG_IsOK(res1
)) {
21771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21775 if (!SWIG_IsOK(ecode2
)) {
21776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21778 arg2
= static_cast< int >(val2
);
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_From_int(static_cast< int >(result
));
21792 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
= 0;
21794 wxDC
*arg1
= (wxDC
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 char * kwnames
[] = {
21804 (char *) "self",(char *) "x", NULL
21807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21814 if (!SWIG_IsOK(ecode2
)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21817 arg2
= static_cast< int >(val2
);
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_From_int(static_cast< int >(result
));
21831 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= 0;
21833 wxDC
*arg1
= (wxDC
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char * kwnames
[] = {
21843 (char *) "self",(char *) "y", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21853 if (!SWIG_IsOK(ecode2
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21856 arg2
= static_cast< int >(val2
);
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_From_int(static_cast< int >(result
));
21870 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
= 0;
21872 wxDC
*arg1
= (wxDC
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char * kwnames
[] = {
21882 (char *) "self",(char *) "x", NULL
21885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21887 if (!SWIG_IsOK(res1
)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21892 if (!SWIG_IsOK(ecode2
)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21895 arg2
= static_cast< int >(val2
);
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= SWIG_From_int(static_cast< int >(result
));
21909 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
= 0;
21911 wxDC
*arg1
= (wxDC
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char * kwnames
[] = {
21921 (char *) "self",(char *) "y", NULL
21924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21931 if (!SWIG_IsOK(ecode2
)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21934 arg2
= static_cast< int >(val2
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_From_int(static_cast< int >(result
));
21948 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
= 0;
21950 wxDC
*arg1
= (wxDC
*) 0 ;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char * kwnames
[] = {
21960 (char *) "self",(char *) "x", NULL
21963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21970 if (!SWIG_IsOK(ecode2
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21973 arg2
= static_cast< int >(val2
);
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_From_int(static_cast< int >(result
));
21987 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxDC
*arg1
= (wxDC
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char * kwnames
[] = {
21999 (char *) "self",(char *) "y", NULL
22002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22009 if (!SWIG_IsOK(ecode2
)) {
22010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22012 arg2
= static_cast< int >(val2
);
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_From_int(static_cast< int >(result
));
22026 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22027 PyObject
*resultobj
= 0;
22028 wxDC
*arg1
= (wxDC
*) 0 ;
22032 PyObject
*swig_obj
[1] ;
22034 if (!args
) SWIG_fail
;
22035 swig_obj
[0] = args
;
22036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22057 PyObject
*resultobj
= 0;
22058 wxDC
*arg1
= (wxDC
*) 0 ;
22062 PyObject
*swig_obj
[1] ;
22064 if (!args
) SWIG_fail
;
22065 swig_obj
[0] = args
;
22066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22067 if (!SWIG_IsOK(res1
)) {
22068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22086 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22087 PyObject
*resultobj
= 0;
22088 wxDC
*arg1
= (wxDC
*) 0 ;
22092 PyObject
*swig_obj
[1] ;
22094 if (!args
) SWIG_fail
;
22095 swig_obj
[0] = args
;
22096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22097 if (!SWIG_IsOK(res1
)) {
22098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_From_int(static_cast< int >(result
));
22114 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22115 PyObject
*resultobj
= 0;
22116 wxDC
*arg1
= (wxDC
*) 0 ;
22120 PyObject
*swig_obj
[1] ;
22122 if (!args
) SWIG_fail
;
22123 swig_obj
[0] = args
;
22124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22125 if (!SWIG_IsOK(res1
)) {
22126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= ((wxDC
const *)arg1
)->GetPPI();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22142 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22143 PyObject
*resultobj
= 0;
22144 wxDC
*arg1
= (wxDC
*) 0 ;
22148 PyObject
*swig_obj
[1] ;
22150 if (!args
) SWIG_fail
;
22151 swig_obj
[0] = args
;
22152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22153 if (!SWIG_IsOK(res1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22172 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22173 PyObject
*resultobj
= 0;
22174 wxDC
*arg1
= (wxDC
*) 0 ;
22178 PyObject
*swig_obj
[1] ;
22180 if (!args
) SWIG_fail
;
22181 swig_obj
[0] = args
;
22182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22183 if (!SWIG_IsOK(res1
)) {
22184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= SWIG_From_int(static_cast< int >(result
));
22200 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22201 PyObject
*resultobj
= 0;
22202 wxDC
*arg1
= (wxDC
*) 0 ;
22203 wxBrush
*result
= 0 ;
22206 PyObject
*swig_obj
[1] ;
22208 if (!args
) SWIG_fail
;
22209 swig_obj
[0] = args
;
22210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22219 result
= (wxBrush
*) &_result_ref
;
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 wxBrush
* resultptr
= new wxBrush(*result
);
22226 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22234 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22235 PyObject
*resultobj
= 0;
22236 wxDC
*arg1
= (wxDC
*) 0 ;
22237 wxBrush
*result
= 0 ;
22240 PyObject
*swig_obj
[1] ;
22242 if (!args
) SWIG_fail
;
22243 swig_obj
[0] = args
;
22244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22245 if (!SWIG_IsOK(res1
)) {
22246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22253 result
= (wxBrush
*) &_result_ref
;
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 wxBrush
* resultptr
= new wxBrush(*result
);
22260 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22268 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22269 PyObject
*resultobj
= 0;
22270 wxDC
*arg1
= (wxDC
*) 0 ;
22271 wxFont
*result
= 0 ;
22274 PyObject
*swig_obj
[1] ;
22276 if (!args
) SWIG_fail
;
22277 swig_obj
[0] = args
;
22278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22279 if (!SWIG_IsOK(res1
)) {
22280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22287 result
= (wxFont
*) &_result_ref
;
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22293 wxFont
* resultptr
= new wxFont(*result
);
22294 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22302 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22303 PyObject
*resultobj
= 0;
22304 wxDC
*arg1
= (wxDC
*) 0 ;
22305 wxPen
*result
= 0 ;
22308 PyObject
*swig_obj
[1] ;
22310 if (!args
) SWIG_fail
;
22311 swig_obj
[0] = args
;
22312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22313 if (!SWIG_IsOK(res1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22321 result
= (wxPen
*) &_result_ref
;
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 wxPen
* resultptr
= new wxPen(*result
);
22328 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22336 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 PyObject
*resultobj
= 0;
22338 wxDC
*arg1
= (wxDC
*) 0 ;
22339 wxColour
*result
= 0 ;
22342 PyObject
*swig_obj
[1] ;
22344 if (!args
) SWIG_fail
;
22345 swig_obj
[0] = args
;
22346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22355 result
= (wxColour
*) &_result_ref
;
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22367 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22368 PyObject
*resultobj
= 0;
22369 wxDC
*arg1
= (wxDC
*) 0 ;
22370 wxColour
*result
= 0 ;
22373 PyObject
*swig_obj
[1] ;
22375 if (!args
) SWIG_fail
;
22376 swig_obj
[0] = args
;
22377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22378 if (!SWIG_IsOK(res1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22386 result
= (wxColour
*) &_result_ref
;
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22398 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
= 0;
22400 wxDC
*arg1
= (wxDC
*) 0 ;
22401 wxColour
*arg2
= 0 ;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char * kwnames
[] = {
22408 (char *) "self",(char *) "colour", NULL
22411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22413 if (!SWIG_IsOK(res1
)) {
22414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22434 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
= 0;
22436 wxDC
*arg1
= (wxDC
*) 0 ;
22437 wxColour
*arg2
= 0 ;
22441 PyObject
* obj0
= 0 ;
22442 PyObject
* obj1
= 0 ;
22443 char * kwnames
[] = {
22444 (char *) "self",(char *) "colour", NULL
22447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22449 if (!SWIG_IsOK(res1
)) {
22450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_Py_Void();
22470 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22471 PyObject
*resultobj
= 0;
22472 wxDC
*arg1
= (wxDC
*) 0 ;
22476 PyObject
*swig_obj
[1] ;
22478 if (!args
) SWIG_fail
;
22479 swig_obj
[0] = args
;
22480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22481 if (!SWIG_IsOK(res1
)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= SWIG_From_int(static_cast< int >(result
));
22498 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
= 0;
22500 wxDC
*arg1
= (wxDC
*) 0 ;
22506 PyObject
* obj0
= 0 ;
22507 PyObject
* obj1
= 0 ;
22508 char * kwnames
[] = {
22509 (char *) "self",(char *) "mode", NULL
22512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22514 if (!SWIG_IsOK(res1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22519 if (!SWIG_IsOK(ecode2
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22522 arg2
= static_cast< int >(val2
);
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->SetMapMode(arg2
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_Py_Void();
22536 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22537 PyObject
*resultobj
= 0;
22538 wxDC
*arg1
= (wxDC
*) 0 ;
22539 double *arg2
= (double *) 0 ;
22540 double *arg3
= (double *) 0 ;
22544 int res2
= SWIG_TMPOBJ
;
22546 int res3
= SWIG_TMPOBJ
;
22547 PyObject
*swig_obj
[1] ;
22551 if (!args
) SWIG_fail
;
22552 swig_obj
[0] = args
;
22553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22554 if (!SWIG_IsOK(res1
)) {
22555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_Py_Void();
22565 if (SWIG_IsTmpObj(res2
)) {
22566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22568 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22571 if (SWIG_IsTmpObj(res3
)) {
22572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22574 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22583 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
= 0;
22585 wxDC
*arg1
= (wxDC
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 PyObject
* obj2
= 0 ;
22597 char * kwnames
[] = {
22598 (char *) "self",(char *) "x",(char *) "y", NULL
22601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22607 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22608 if (!SWIG_IsOK(ecode2
)) {
22609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22611 arg2
= static_cast< double >(val2
);
22612 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22613 if (!SWIG_IsOK(ecode3
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22616 arg3
= static_cast< double >(val3
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->SetUserScale(arg2
,arg3
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_Py_Void();
22630 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22631 PyObject
*resultobj
= 0;
22632 wxDC
*arg1
= (wxDC
*) 0 ;
22633 double *arg2
= (double *) 0 ;
22634 double *arg3
= (double *) 0 ;
22638 int res2
= SWIG_TMPOBJ
;
22640 int res3
= SWIG_TMPOBJ
;
22641 PyObject
*swig_obj
[1] ;
22645 if (!args
) SWIG_fail
;
22646 swig_obj
[0] = args
;
22647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->GetLogicalScale(arg2
,arg3
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_Py_Void();
22659 if (SWIG_IsTmpObj(res2
)) {
22660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22662 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22665 if (SWIG_IsTmpObj(res3
)) {
22666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22668 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22677 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
= 0;
22679 wxDC
*arg1
= (wxDC
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 PyObject
* obj2
= 0 ;
22691 char * kwnames
[] = {
22692 (char *) "self",(char *) "x",(char *) "y", NULL
22695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22701 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22702 if (!SWIG_IsOK(ecode2
)) {
22703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22705 arg2
= static_cast< double >(val2
);
22706 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22707 if (!SWIG_IsOK(ecode3
)) {
22708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22710 arg3
= static_cast< double >(val3
);
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->SetLogicalScale(arg2
,arg3
);
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= SWIG_Py_Void();
22724 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22725 PyObject
*resultobj
= 0;
22726 wxDC
*arg1
= (wxDC
*) 0 ;
22730 PyObject
*swig_obj
[1] ;
22732 if (!args
) SWIG_fail
;
22733 swig_obj
[0] = args
;
22734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22735 if (!SWIG_IsOK(res1
)) {
22736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22752 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22753 PyObject
*resultobj
= 0;
22754 wxDC
*arg1
= (wxDC
*) 0 ;
22755 int *arg2
= (int *) 0 ;
22756 int *arg3
= (int *) 0 ;
22760 int res2
= SWIG_TMPOBJ
;
22762 int res3
= SWIG_TMPOBJ
;
22763 PyObject
*swig_obj
[1] ;
22767 if (!args
) SWIG_fail
;
22768 swig_obj
[0] = args
;
22769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22770 if (!SWIG_IsOK(res1
)) {
22771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_Py_Void();
22781 if (SWIG_IsTmpObj(res2
)) {
22782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22784 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22787 if (SWIG_IsTmpObj(res3
)) {
22788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22790 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22799 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
= 0;
22801 wxDC
*arg1
= (wxDC
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 PyObject
* obj2
= 0 ;
22813 char * kwnames
[] = {
22814 (char *) "self",(char *) "x",(char *) "y", NULL
22817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22819 if (!SWIG_IsOK(res1
)) {
22820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22824 if (!SWIG_IsOK(ecode2
)) {
22825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22827 arg2
= static_cast< int >(val2
);
22828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22829 if (!SWIG_IsOK(ecode3
)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22832 arg3
= static_cast< int >(val3
);
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_Py_Void();
22846 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
= 0;
22848 wxDC
*arg1
= (wxDC
*) 0 ;
22849 wxPoint
*arg2
= 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char * kwnames
[] = {
22856 (char *) "self",(char *) "point", NULL
22859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= SWIG_Py_Void();
22882 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22888 PyObject
*swig_obj
[1] ;
22890 if (!args
) SWIG_fail
;
22891 swig_obj
[0] = args
;
22892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22893 if (!SWIG_IsOK(res1
)) {
22894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22910 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22911 PyObject
*resultobj
= 0;
22912 wxDC
*arg1
= (wxDC
*) 0 ;
22913 int *arg2
= (int *) 0 ;
22914 int *arg3
= (int *) 0 ;
22918 int res2
= SWIG_TMPOBJ
;
22920 int res3
= SWIG_TMPOBJ
;
22921 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_Py_Void();
22939 if (SWIG_IsTmpObj(res2
)) {
22940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22942 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22945 if (SWIG_IsTmpObj(res3
)) {
22946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22948 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22957 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22958 PyObject
*resultobj
= 0;
22959 wxDC
*arg1
= (wxDC
*) 0 ;
22968 PyObject
* obj0
= 0 ;
22969 PyObject
* obj1
= 0 ;
22970 PyObject
* obj2
= 0 ;
22971 char * kwnames
[] = {
22972 (char *) "self",(char *) "x",(char *) "y", NULL
22975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22977 if (!SWIG_IsOK(res1
)) {
22978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22982 if (!SWIG_IsOK(ecode2
)) {
22983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22985 arg2
= static_cast< int >(val2
);
22986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22987 if (!SWIG_IsOK(ecode3
)) {
22988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22990 arg3
= static_cast< int >(val3
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_Py_Void();
23004 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
= 0;
23006 wxDC
*arg1
= (wxDC
*) 0 ;
23007 wxPoint
*arg2
= 0 ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23013 char * kwnames
[] = {
23014 (char *) "self",(char *) "point", NULL
23017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_Py_Void();
23040 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
= 0;
23042 wxDC
*arg1
= (wxDC
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 PyObject
* obj1
= 0 ;
23053 PyObject
* obj2
= 0 ;
23054 char * kwnames
[] = {
23055 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23060 if (!SWIG_IsOK(res1
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23064 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23065 if (!SWIG_IsOK(ecode2
)) {
23066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23068 arg2
= static_cast< bool >(val2
);
23069 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23070 if (!SWIG_IsOK(ecode3
)) {
23071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23073 arg3
= static_cast< bool >(val3
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_Py_Void();
23087 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxDC
*arg1
= (wxDC
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_From_int(static_cast< int >(result
));
23115 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
= 0;
23117 wxDC
*arg1
= (wxDC
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 char * kwnames
[] = {
23126 (char *) "self",(char *) "function", NULL
23129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23131 if (!SWIG_IsOK(res1
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23134 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23136 if (!SWIG_IsOK(ecode2
)) {
23137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23139 arg2
= static_cast< int >(val2
);
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 (arg1
)->SetLogicalFunction(arg2
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_Py_Void();
23153 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23154 PyObject
*resultobj
= 0;
23155 wxDC
*arg1
= (wxDC
*) 0 ;
23158 PyObject
*swig_obj
[1] ;
23160 if (!args
) SWIG_fail
;
23161 swig_obj
[0] = args
;
23162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23163 if (!SWIG_IsOK(res1
)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 (arg1
)->ComputeScaleAndOrigin();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_Py_Void();
23180 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
= 0;
23182 wxDC
*arg1
= (wxDC
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 PyObject
* obj2
= 0 ;
23194 char * kwnames
[] = {
23195 (char *) "self",(char *) "x",(char *) "y", NULL
23198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23200 if (!SWIG_IsOK(res1
)) {
23201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23205 if (!SWIG_IsOK(ecode2
)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23208 arg2
= static_cast< int >(val2
);
23209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23210 if (!SWIG_IsOK(ecode3
)) {
23211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23213 arg3
= static_cast< int >(val3
);
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_Py_Void();
23227 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
= 0;
23229 wxDC
*arg1
= (wxDC
*) 0 ;
23230 wxPoint
*arg2
= 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char * kwnames
[] = {
23237 (char *) "self",(char *) "point", NULL
23240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23242 if (!SWIG_IsOK(res1
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_Py_Void();
23263 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23264 PyObject
*resultobj
= 0;
23265 wxDC
*arg1
= (wxDC
*) 0 ;
23268 PyObject
*swig_obj
[1] ;
23270 if (!args
) SWIG_fail
;
23271 swig_obj
[0] = args
;
23272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 (arg1
)->ResetBoundingBox();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_Py_Void();
23290 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23291 PyObject
*resultobj
= 0;
23292 wxDC
*arg1
= (wxDC
*) 0 ;
23296 PyObject
*swig_obj
[1] ;
23298 if (!args
) SWIG_fail
;
23299 swig_obj
[0] = args
;
23300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= (int)((wxDC
const *)arg1
)->MinX();
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_From_int(static_cast< int >(result
));
23318 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23319 PyObject
*resultobj
= 0;
23320 wxDC
*arg1
= (wxDC
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (int)((wxDC
const *)arg1
)->MaxX();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_From_int(static_cast< int >(result
));
23346 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23347 PyObject
*resultobj
= 0;
23348 wxDC
*arg1
= (wxDC
*) 0 ;
23352 PyObject
*swig_obj
[1] ;
23354 if (!args
) SWIG_fail
;
23355 swig_obj
[0] = args
;
23356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (int)((wxDC
const *)arg1
)->MinY();
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= SWIG_From_int(static_cast< int >(result
));
23374 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23375 PyObject
*resultobj
= 0;
23376 wxDC
*arg1
= (wxDC
*) 0 ;
23380 PyObject
*swig_obj
[1] ;
23382 if (!args
) SWIG_fail
;
23383 swig_obj
[0] = args
;
23384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (int)((wxDC
const *)arg1
)->MaxY();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_From_int(static_cast< int >(result
));
23402 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23403 PyObject
*resultobj
= 0;
23404 wxDC
*arg1
= (wxDC
*) 0 ;
23405 int *arg2
= (int *) 0 ;
23406 int *arg3
= (int *) 0 ;
23407 int *arg4
= (int *) 0 ;
23408 int *arg5
= (int *) 0 ;
23412 int res2
= SWIG_TMPOBJ
;
23414 int res3
= SWIG_TMPOBJ
;
23416 int res4
= SWIG_TMPOBJ
;
23418 int res5
= SWIG_TMPOBJ
;
23419 PyObject
*swig_obj
[1] ;
23425 if (!args
) SWIG_fail
;
23426 swig_obj
[0] = args
;
23427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_Py_Void();
23439 if (SWIG_IsTmpObj(res2
)) {
23440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23442 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23445 if (SWIG_IsTmpObj(res3
)) {
23446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23448 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23451 if (SWIG_IsTmpObj(res4
)) {
23452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23454 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23457 if (SWIG_IsTmpObj(res5
)) {
23458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23460 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23469 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 PyObject
*resultobj
= 0;
23471 wxDC
*arg1
= (wxDC
*) 0 ;
23472 wxLayoutDirection result
;
23475 PyObject
*swig_obj
[1] ;
23477 if (!args
) SWIG_fail
;
23478 swig_obj
[0] = args
;
23479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_From_int(static_cast< int >(result
));
23497 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
= 0;
23499 wxDC
*arg1
= (wxDC
*) 0 ;
23500 wxLayoutDirection arg2
;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 char * kwnames
[] = {
23508 (char *) "self",(char *) "dir", NULL
23511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23518 if (!SWIG_IsOK(ecode2
)) {
23519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23521 arg2
= static_cast< wxLayoutDirection
>(val2
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetLayoutDirection(arg2
);
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_Py_Void();
23535 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23536 PyObject
*resultobj
= 0;
23537 wxDC
*arg1
= (wxDC
*) 0 ;
23541 PyObject
*swig_obj
[1] ;
23543 if (!args
) SWIG_fail
;
23544 swig_obj
[0] = args
;
23545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (long)(arg1
)->GetHDC();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_From_long(static_cast< long >(result
));
23563 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= 0;
23565 wxDC
*arg1
= (wxDC
*) 0 ;
23566 PyObject
*arg2
= (PyObject
*) 0 ;
23567 PyObject
*arg3
= (PyObject
*) 0 ;
23568 PyObject
*arg4
= (PyObject
*) 0 ;
23569 PyObject
*result
= 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 PyObject
* obj2
= 0 ;
23575 PyObject
* obj3
= 0 ;
23576 char * kwnames
[] = {
23577 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= result
;
23602 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= 0;
23604 wxDC
*arg1
= (wxDC
*) 0 ;
23605 PyObject
*arg2
= (PyObject
*) 0 ;
23606 PyObject
*arg3
= (PyObject
*) 0 ;
23607 PyObject
*arg4
= (PyObject
*) 0 ;
23608 PyObject
*result
= 0 ;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 PyObject
* obj2
= 0 ;
23614 PyObject
* obj3
= 0 ;
23615 char * kwnames
[] = {
23616 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= result
;
23641 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
= 0;
23643 wxDC
*arg1
= (wxDC
*) 0 ;
23644 PyObject
*arg2
= (PyObject
*) 0 ;
23645 PyObject
*arg3
= (PyObject
*) 0 ;
23646 PyObject
*arg4
= (PyObject
*) 0 ;
23647 PyObject
*result
= 0 ;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 PyObject
* obj2
= 0 ;
23653 PyObject
* obj3
= 0 ;
23654 char * kwnames
[] = {
23655 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= result
;
23680 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
= 0;
23682 wxDC
*arg1
= (wxDC
*) 0 ;
23683 PyObject
*arg2
= (PyObject
*) 0 ;
23684 PyObject
*arg3
= (PyObject
*) 0 ;
23685 PyObject
*arg4
= (PyObject
*) 0 ;
23686 PyObject
*result
= 0 ;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 PyObject
* obj2
= 0 ;
23692 PyObject
* obj3
= 0 ;
23693 char * kwnames
[] = {
23694 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= result
;
23719 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= 0;
23721 wxDC
*arg1
= (wxDC
*) 0 ;
23722 PyObject
*arg2
= (PyObject
*) 0 ;
23723 PyObject
*arg3
= (PyObject
*) 0 ;
23724 PyObject
*arg4
= (PyObject
*) 0 ;
23725 PyObject
*result
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 PyObject
* obj2
= 0 ;
23731 PyObject
* obj3
= 0 ;
23732 char * kwnames
[] = {
23733 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23738 if (!SWIG_IsOK(res1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= result
;
23758 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
= 0;
23760 wxDC
*arg1
= (wxDC
*) 0 ;
23761 PyObject
*arg2
= (PyObject
*) 0 ;
23762 PyObject
*arg3
= (PyObject
*) 0 ;
23763 PyObject
*arg4
= (PyObject
*) 0 ;
23764 PyObject
*arg5
= (PyObject
*) 0 ;
23765 PyObject
*result
= 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 PyObject
* obj2
= 0 ;
23771 PyObject
* obj3
= 0 ;
23772 PyObject
* obj4
= 0 ;
23773 char * kwnames
[] = {
23774 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
;
23800 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23803 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23804 return SWIG_Py_Void();
23807 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
= 0;
23809 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23810 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23811 wxMemoryDC
*result
= 0 ;
23814 PyObject
* obj0
= 0 ;
23815 char * kwnames
[] = {
23816 (char *) "bitmap", NULL
23819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23821 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23828 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23831 if (!wxPyCheckForApp()) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23844 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
= 0;
23846 wxDC
*arg1
= (wxDC
*) 0 ;
23847 wxMemoryDC
*result
= 0 ;
23850 PyObject
* obj0
= 0 ;
23851 char * kwnames
[] = {
23852 (char *) "oldDC", NULL
23855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23857 if (!SWIG_IsOK(res1
)) {
23858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23862 if (!wxPyCheckForApp()) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23875 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
= 0;
23877 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23878 wxBitmap
*arg2
= 0 ;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23885 char * kwnames
[] = {
23886 (char *) "self",(char *) "bitmap", NULL
23889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23894 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23896 if (!SWIG_IsOK(res2
)) {
23897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23902 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_Py_Void();
23916 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23919 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23920 return SWIG_Py_Void();
23923 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 return SWIG_Python_InitShadowInstance(args
);
23927 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23928 PyObject
*resultobj
= 0;
23929 wxScreenDC
*result
= 0 ;
23931 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23933 if (!wxPyCheckForApp()) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxScreenDC
*)new wxScreenDC();
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23946 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
= 0;
23948 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23949 wxWindow
*arg2
= (wxWindow
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 char * kwnames
[] = {
23958 (char *) "self",(char *) "window", NULL
23961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23963 if (!SWIG_IsOK(res1
)) {
23964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23966 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23968 if (!SWIG_IsOK(res2
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23987 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23989 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23990 wxRect
*arg2
= (wxRect
*) NULL
;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char * kwnames
[] = {
23999 (char *) "self",(char *) "rect", NULL
24002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24004 if (!SWIG_IsOK(res1
)) {
24005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24007 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24010 if (!SWIG_IsOK(res2
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24013 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24030 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24031 PyObject
*resultobj
= 0;
24032 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24036 PyObject
*swig_obj
[1] ;
24038 if (!args
) SWIG_fail
;
24039 swig_obj
[0] = args
;
24040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24041 if (!SWIG_IsOK(res1
)) {
24042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24044 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (bool)(arg1
)->EndDrawingOnTop();
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24060 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24063 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24064 return SWIG_Py_Void();
24067 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24068 return SWIG_Python_InitShadowInstance(args
);
24071 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
= 0;
24073 wxWindow
*arg1
= (wxWindow
*) 0 ;
24074 wxWindowDC
*result
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 char * kwnames
[] = {
24079 (char *) "win", NULL
24082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24084 if (!SWIG_IsOK(res1
)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24089 if (!wxPyCheckForApp()) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24102 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24105 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24106 return SWIG_Py_Void();
24109 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24110 return SWIG_Python_InitShadowInstance(args
);
24113 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
= 0;
24115 wxWindow
*arg1
= (wxWindow
*) 0 ;
24116 wxClientDC
*result
= 0 ;
24119 PyObject
* obj0
= 0 ;
24120 char * kwnames
[] = {
24121 (char *) "win", NULL
24124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24129 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24131 if (!wxPyCheckForApp()) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (wxClientDC
*)new wxClientDC(arg1
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24144 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24147 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24148 return SWIG_Py_Void();
24151 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24152 return SWIG_Python_InitShadowInstance(args
);
24155 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24156 PyObject
*resultobj
= 0;
24157 wxWindow
*arg1
= (wxWindow
*) 0 ;
24158 wxPaintDC
*result
= 0 ;
24161 PyObject
* obj0
= 0 ;
24162 char * kwnames
[] = {
24163 (char *) "win", NULL
24166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24168 if (!SWIG_IsOK(res1
)) {
24169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24171 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24173 if (!wxPyCheckForApp()) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24186 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24189 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24190 return SWIG_Py_Void();
24193 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 return SWIG_Python_InitShadowInstance(args
);
24197 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24198 PyObject
*resultobj
= 0;
24199 wxDC
*arg1
= (wxDC
*) 0 ;
24200 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24201 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24202 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24203 wxBufferedDC
*result
= 0 ;
24211 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24213 if (!SWIG_IsOK(res1
)) {
24214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24218 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24219 if (!SWIG_IsOK(res2
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24225 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24228 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24229 if (!SWIG_IsOK(ecode3
)) {
24230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24232 arg3
= static_cast< int >(val3
);
24235 if (!wxPyCheckForApp()) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24248 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24249 PyObject
*resultobj
= 0;
24250 wxDC
*arg1
= (wxDC
*) 0 ;
24252 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24253 wxBufferedDC
*result
= 0 ;
24260 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24268 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24271 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24272 if (!SWIG_IsOK(ecode3
)) {
24273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24275 arg3
= static_cast< int >(val3
);
24278 if (!wxPyCheckForApp()) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24291 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24295 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24297 if ((argc
>= 1) && (argc
<= 3)) {
24301 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24302 _v
= SWIG_CheckState(res
);
24304 if (!_v
) goto check_1
;
24306 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24310 if ((argc
>= 2) && (argc
<= 3)) {
24311 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24315 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24320 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24321 PyObject
*resultobj
= 0;
24322 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24325 PyObject
*swig_obj
[1] ;
24327 if (!args
) SWIG_fail
;
24328 swig_obj
[0] = args
;
24329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24333 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_Py_Void();
24348 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24349 PyObject
*resultobj
= 0;
24350 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24353 PyObject
*swig_obj
[1] ;
24355 if (!args
) SWIG_fail
;
24356 swig_obj
[0] = args
;
24357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24361 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= SWIG_Py_Void();
24375 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24378 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24379 return SWIG_Py_Void();
24382 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 return SWIG_Python_InitShadowInstance(args
);
24386 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxWindow
*arg1
= (wxWindow
*) 0 ;
24389 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24390 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24391 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24392 wxBufferedPaintDC
*result
= 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24401 PyObject
* obj2
= 0 ;
24402 char * kwnames
[] = {
24403 (char *) "window",(char *) "buffer",(char *) "style", NULL
24406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24411 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24414 if (!SWIG_IsOK(res2
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24420 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24424 if (!SWIG_IsOK(ecode3
)) {
24425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24427 arg3
= static_cast< int >(val3
);
24430 if (!wxPyCheckForApp()) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24443 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24446 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24447 return SWIG_Py_Void();
24450 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24451 return SWIG_Python_InitShadowInstance(args
);
24454 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxWindow
*arg1
= (wxWindow
*) 0 ;
24457 wxAutoBufferedPaintDC
*result
= 0 ;
24460 PyObject
* obj0
= 0 ;
24461 char * kwnames
[] = {
24462 (char *) "win", NULL
24465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24484 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24487 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24488 return SWIG_Py_Void();
24491 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24492 return SWIG_Python_InitShadowInstance(args
);
24495 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
= 0;
24497 wxWindow
*arg1
= (wxWindow
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 char * kwnames
[] = {
24503 (char *) "window", NULL
24506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24527 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
= 0;
24531 wxMirrorDC
*result
= 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 char * kwnames
[] = {
24539 (char *) "dc",(char *) "mirror", NULL
24542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24543 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24544 if (!SWIG_IsOK(res1
)) {
24545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24551 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24552 if (!SWIG_IsOK(ecode2
)) {
24553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24555 arg2
= static_cast< bool >(val2
);
24557 if (!wxPyCheckForApp()) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24570 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24573 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24574 return SWIG_Py_Void();
24577 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24578 return SWIG_Python_InitShadowInstance(args
);
24581 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= 0;
24583 wxPrintData
*arg1
= 0 ;
24584 wxPostScriptDC
*result
= 0 ;
24587 PyObject
* obj0
= 0 ;
24588 char * kwnames
[] = {
24589 (char *) "printData", NULL
24592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24593 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24600 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24602 if (!wxPyCheckForApp()) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24615 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24616 PyObject
*resultobj
= 0;
24617 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24618 wxPrintData
*result
= 0 ;
24621 PyObject
*swig_obj
[1] ;
24623 if (!args
) SWIG_fail
;
24624 swig_obj
[0] = args
;
24625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24626 if (!SWIG_IsOK(res1
)) {
24627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24629 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24634 result
= (wxPrintData
*) &_result_ref
;
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24646 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24649 wxPrintData
*arg2
= 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char * kwnames
[] = {
24657 (char *) "self",(char *) "data", NULL
24660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24665 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24667 if (!SWIG_IsOK(res2
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24673 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_Py_Void();
24687 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24692 PyObject
* obj0
= 0 ;
24693 char * kwnames
[] = {
24694 (char *) "ppi", NULL
24697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24699 if (!SWIG_IsOK(ecode1
)) {
24700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24702 arg1
= static_cast< int >(val1
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 wxPostScriptDC::SetResolution(arg1
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_Py_Void();
24716 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24717 PyObject
*resultobj
= 0;
24720 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (int)wxPostScriptDC::GetResolution();
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= SWIG_From_int(static_cast< int >(result
));
24734 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24737 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24738 return SWIG_Py_Void();
24741 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24742 return SWIG_Python_InitShadowInstance(args
);
24745 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= 0;
24747 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24748 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24749 wxMetaFile
*result
= 0 ;
24750 bool temp1
= false ;
24751 PyObject
* obj0
= 0 ;
24752 char * kwnames
[] = {
24753 (char *) "filename", NULL
24756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24759 arg1
= wxString_in_helper(obj0
);
24760 if (arg1
== NULL
) SWIG_fail
;
24765 if (!wxPyCheckForApp()) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24786 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24791 PyObject
*swig_obj
[1] ;
24793 if (!args
) SWIG_fail
;
24794 swig_obj
[0] = args
;
24795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24799 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_Py_Void();
24814 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24815 PyObject
*resultobj
= 0;
24816 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24820 PyObject
*swig_obj
[1] ;
24822 if (!args
) SWIG_fail
;
24823 swig_obj
[0] = args
;
24824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24825 if (!SWIG_IsOK(res1
)) {
24826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24828 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (bool)(arg1
)->IsOk();
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24844 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
= 0;
24846 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24847 int arg2
= (int) 0 ;
24848 int arg3
= (int) 0 ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 PyObject
* obj2
= 0 ;
24859 char * kwnames
[] = {
24860 (char *) "self",(char *) "width",(char *) "height", NULL
24863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24868 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24871 if (!SWIG_IsOK(ecode2
)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24874 arg2
= static_cast< int >(val2
);
24877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24878 if (!SWIG_IsOK(ecode3
)) {
24879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24881 arg3
= static_cast< int >(val3
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24898 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24899 PyObject
*resultobj
= 0;
24900 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24904 PyObject
*swig_obj
[1] ;
24906 if (!args
) SWIG_fail
;
24907 swig_obj
[0] = args
;
24908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24912 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (arg1
)->GetSize();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24926 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24927 PyObject
*resultobj
= 0;
24928 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24932 PyObject
*swig_obj
[1] ;
24934 if (!args
) SWIG_fail
;
24935 swig_obj
[0] = args
;
24936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24940 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (int)(arg1
)->GetWidth();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_From_int(static_cast< int >(result
));
24954 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24955 PyObject
*resultobj
= 0;
24956 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24960 PyObject
*swig_obj
[1] ;
24962 if (!args
) SWIG_fail
;
24963 swig_obj
[0] = args
;
24964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24965 if (!SWIG_IsOK(res1
)) {
24966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24968 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (int)(arg1
)->GetHeight();
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= SWIG_From_int(static_cast< int >(result
));
24982 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24983 PyObject
*resultobj
= 0;
24984 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24985 wxString
*result
= 0 ;
24988 PyObject
*swig_obj
[1] ;
24990 if (!args
) SWIG_fail
;
24991 swig_obj
[0] = args
;
24992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24993 if (!SWIG_IsOK(res1
)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24996 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25001 result
= (wxString
*) &_result_ref
;
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25010 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25019 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25022 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25023 return SWIG_Py_Void();
25026 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 return SWIG_Python_InitShadowInstance(args
);
25030 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
= 0;
25032 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25033 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25034 int arg2
= (int) 0 ;
25035 int arg3
= (int) 0 ;
25036 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25037 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25038 wxMetaFileDC
*result
= 0 ;
25039 bool temp1
= false ;
25044 bool temp4
= false ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 PyObject
* obj2
= 0 ;
25048 PyObject
* obj3
= 0 ;
25049 char * kwnames
[] = {
25050 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25056 arg1
= wxString_in_helper(obj0
);
25057 if (arg1
== NULL
) SWIG_fail
;
25062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25063 if (!SWIG_IsOK(ecode2
)) {
25064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25066 arg2
= static_cast< int >(val2
);
25069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25070 if (!SWIG_IsOK(ecode3
)) {
25071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25073 arg3
= static_cast< int >(val3
);
25077 arg4
= wxString_in_helper(obj3
);
25078 if (arg4
== NULL
) SWIG_fail
;
25083 if (!wxPyCheckForApp()) SWIG_fail
;
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25112 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25113 PyObject
*resultobj
= 0;
25114 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25115 wxMetaFile
*result
= 0 ;
25118 PyObject
*swig_obj
[1] ;
25120 if (!args
) SWIG_fail
;
25121 swig_obj
[0] = args
;
25122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25126 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (wxMetaFile
*)(arg1
)->Close();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25140 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25143 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25144 return SWIG_Py_Void();
25147 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25148 return SWIG_Python_InitShadowInstance(args
);
25151 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= 0;
25153 wxPrintData
*arg1
= 0 ;
25154 wxPrinterDC
*result
= 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char * kwnames
[] = {
25159 (char *) "printData", NULL
25162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25163 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25170 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25172 if (!wxPyCheckForApp()) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25185 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25188 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25189 return SWIG_Py_Void();
25192 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 return SWIG_Python_InitShadowInstance(args
);
25196 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25197 PyObject
*resultobj
= 0;
25198 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25201 PyObject
*swig_obj
[1] ;
25203 if (!args
) SWIG_fail
;
25204 swig_obj
[0] = args
;
25205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25209 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_Py_Void();
25222 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25223 PyObject
*resultobj
= 0;
25224 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 PyObject
* obj2
= 0 ;
25236 char * kwnames
[] = {
25237 (char *) "self",(char *) "x",(char *) "y", NULL
25240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25242 if (!SWIG_IsOK(res1
)) {
25243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25245 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25246 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25247 if (!SWIG_IsOK(ecode2
)) {
25248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25250 arg2
= static_cast< wxDouble
>(val2
);
25251 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25252 if (!SWIG_IsOK(ecode3
)) {
25253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25255 arg3
= static_cast< wxDouble
>(val3
);
25257 (arg1
)->MoveToPoint(arg2
,arg3
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25267 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= 0;
25269 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 PyObject
* obj2
= 0 ;
25281 char * kwnames
[] = {
25282 (char *) "self",(char *) "x",(char *) "y", NULL
25285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25290 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25291 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25292 if (!SWIG_IsOK(ecode2
)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25295 arg2
= static_cast< wxDouble
>(val2
);
25296 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25297 if (!SWIG_IsOK(ecode3
)) {
25298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25300 arg3
= static_cast< wxDouble
>(val3
);
25302 (arg1
)->AddLineToPoint(arg2
,arg3
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_Py_Void();
25312 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
= 0;
25314 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 PyObject
* obj2
= 0 ;
25338 PyObject
* obj3
= 0 ;
25339 PyObject
* obj4
= 0 ;
25340 PyObject
* obj5
= 0 ;
25341 PyObject
* obj6
= 0 ;
25342 char * kwnames
[] = {
25343 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25351 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25352 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25353 if (!SWIG_IsOK(ecode2
)) {
25354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25356 arg2
= static_cast< wxDouble
>(val2
);
25357 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25358 if (!SWIG_IsOK(ecode3
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25361 arg3
= static_cast< wxDouble
>(val3
);
25362 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25363 if (!SWIG_IsOK(ecode4
)) {
25364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25366 arg4
= static_cast< wxDouble
>(val4
);
25367 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25368 if (!SWIG_IsOK(ecode5
)) {
25369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25371 arg5
= static_cast< wxDouble
>(val5
);
25372 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25373 if (!SWIG_IsOK(ecode6
)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25376 arg6
= static_cast< wxDouble
>(val6
);
25377 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25378 if (!SWIG_IsOK(ecode7
)) {
25379 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25381 arg7
= static_cast< wxDouble
>(val7
);
25383 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_Py_Void();
25393 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25398 PyObject
*swig_obj
[1] ;
25400 if (!args
) SWIG_fail
;
25401 swig_obj
[0] = args
;
25402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25403 if (!SWIG_IsOK(res1
)) {
25404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25406 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25408 (arg1
)->CloseSubpath();
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= SWIG_Py_Void();
25418 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25432 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25434 result
= (arg1
)->GetCurrentPoint();
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25444 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 PyObject
* obj2
= 0 ;
25470 PyObject
* obj3
= 0 ;
25471 PyObject
* obj4
= 0 ;
25472 PyObject
* obj5
= 0 ;
25473 PyObject
* obj6
= 0 ;
25474 char * kwnames
[] = {
25475 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25480 if (!SWIG_IsOK(res1
)) {
25481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25483 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25484 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25485 if (!SWIG_IsOK(ecode2
)) {
25486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25488 arg2
= static_cast< wxDouble
>(val2
);
25489 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25490 if (!SWIG_IsOK(ecode3
)) {
25491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25493 arg3
= static_cast< wxDouble
>(val3
);
25494 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25495 if (!SWIG_IsOK(ecode4
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25498 arg4
= static_cast< wxDouble
>(val4
);
25499 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25500 if (!SWIG_IsOK(ecode5
)) {
25501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25503 arg5
= static_cast< wxDouble
>(val5
);
25504 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25505 if (!SWIG_IsOK(ecode6
)) {
25506 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25508 arg6
= static_cast< wxDouble
>(val6
);
25509 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25510 if (!SWIG_IsOK(ecode7
)) {
25511 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25513 arg7
= static_cast< bool >(val7
);
25515 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_Py_Void();
25525 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
= 0;
25527 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 PyObject
* obj2
= 0 ;
25545 PyObject
* obj3
= 0 ;
25546 PyObject
* obj4
= 0 ;
25547 char * kwnames
[] = {
25548 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25553 if (!SWIG_IsOK(res1
)) {
25554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25556 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25557 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25558 if (!SWIG_IsOK(ecode2
)) {
25559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25561 arg2
= static_cast< wxDouble
>(val2
);
25562 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25563 if (!SWIG_IsOK(ecode3
)) {
25564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25566 arg3
= static_cast< wxDouble
>(val3
);
25567 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25568 if (!SWIG_IsOK(ecode4
)) {
25569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25571 arg4
= static_cast< wxDouble
>(val4
);
25572 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25573 if (!SWIG_IsOK(ecode5
)) {
25574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25576 arg5
= static_cast< wxDouble
>(val5
);
25578 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_Py_Void();
25588 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
= 0;
25590 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 PyObject
* obj2
= 0 ;
25608 PyObject
* obj3
= 0 ;
25609 PyObject
* obj4
= 0 ;
25610 char * kwnames
[] = {
25611 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25616 if (!SWIG_IsOK(res1
)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25619 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25620 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25621 if (!SWIG_IsOK(ecode2
)) {
25622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25624 arg2
= static_cast< wxDouble
>(val2
);
25625 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25626 if (!SWIG_IsOK(ecode3
)) {
25627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25629 arg3
= static_cast< wxDouble
>(val3
);
25630 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25631 if (!SWIG_IsOK(ecode4
)) {
25632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25634 arg4
= static_cast< wxDouble
>(val4
);
25635 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25636 if (!SWIG_IsOK(ecode5
)) {
25637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25639 arg5
= static_cast< wxDouble
>(val5
);
25641 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_Py_Void();
25651 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
= 0;
25653 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 PyObject
* obj2
= 0 ;
25668 PyObject
* obj3
= 0 ;
25669 char * kwnames
[] = {
25670 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25678 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25679 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25680 if (!SWIG_IsOK(ecode2
)) {
25681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25683 arg2
= static_cast< wxDouble
>(val2
);
25684 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25685 if (!SWIG_IsOK(ecode3
)) {
25686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25688 arg3
= static_cast< wxDouble
>(val3
);
25689 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25690 if (!SWIG_IsOK(ecode4
)) {
25691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25693 arg4
= static_cast< wxDouble
>(val4
);
25695 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 PyObject
* obj2
= 0 ;
25728 PyObject
* obj3
= 0 ;
25729 PyObject
* obj4
= 0 ;
25730 PyObject
* obj5
= 0 ;
25731 char * kwnames
[] = {
25732 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25740 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25741 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25742 if (!SWIG_IsOK(ecode2
)) {
25743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25745 arg2
= static_cast< wxDouble
>(val2
);
25746 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25747 if (!SWIG_IsOK(ecode3
)) {
25748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25750 arg3
= static_cast< wxDouble
>(val3
);
25751 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25752 if (!SWIG_IsOK(ecode4
)) {
25753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25755 arg4
= static_cast< wxDouble
>(val4
);
25756 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25757 if (!SWIG_IsOK(ecode5
)) {
25758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25760 arg5
= static_cast< wxDouble
>(val5
);
25761 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25762 if (!SWIG_IsOK(ecode6
)) {
25763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25765 arg6
= static_cast< wxDouble
>(val6
);
25767 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25780 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25781 return SWIG_Py_Void();
25784 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25785 PyObject
*resultobj
= 0;
25786 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25789 PyObject
*swig_obj
[1] ;
25791 if (!args
) SWIG_fail
;
25792 swig_obj
[0] = args
;
25793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25794 if (!SWIG_IsOK(res1
)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25797 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_Py_Void();
25810 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25811 PyObject
*resultobj
= 0;
25812 wxWindowDC
*arg1
= 0 ;
25813 wxGraphicsContext
*result
= 0 ;
25817 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25819 if (!SWIG_IsOK(res1
)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25825 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25827 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25837 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25838 PyObject
*resultobj
= 0;
25839 wxWindow
*arg1
= (wxWindow
*) 0 ;
25840 wxGraphicsContext
*result
= 0 ;
25844 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
25849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25851 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25861 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
25865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
25870 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
25871 _v
= SWIG_CheckState(res
);
25873 if (!_v
) goto check_1
;
25874 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
25879 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
25883 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
25888 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
= 0;
25890 void *arg1
= (void *) 0 ;
25891 wxGraphicsContext
*result
= 0 ;
25893 PyObject
* obj0
= 0 ;
25894 char * kwnames
[] = {
25895 (char *) "context", NULL
25898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
25899 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
25904 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25914 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25915 PyObject
*resultobj
= 0;
25916 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25917 wxGraphicsPath
*result
= 0 ;
25920 PyObject
*swig_obj
[1] ;
25922 if (!args
) SWIG_fail
;
25923 swig_obj
[0] = args
;
25924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25928 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25930 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25940 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 PyObject
*resultobj
= 0;
25942 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25945 PyObject
*swig_obj
[1] ;
25947 if (!args
) SWIG_fail
;
25948 swig_obj
[0] = args
;
25949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25950 if (!SWIG_IsOK(res1
)) {
25951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25953 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25955 (arg1
)->PushState();
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_Py_Void();
25965 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25970 PyObject
*swig_obj
[1] ;
25972 if (!args
) SWIG_fail
;
25973 swig_obj
[0] = args
;
25974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25978 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25980 (arg1
)->PopState();
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_Py_Void();
25990 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= 0;
25992 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25993 wxRegion
*arg2
= 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char * kwnames
[] = {
26001 (char *) "self",(char *) "region", NULL
26004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26009 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
26011 if (!SWIG_IsOK(res2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26017 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
26019 (arg1
)->Clip((wxRegion
const &)*arg2
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= SWIG_Py_Void();
26029 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
= 0;
26031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 PyObject
* obj2
= 0 ;
26049 PyObject
* obj3
= 0 ;
26050 PyObject
* obj4
= 0 ;
26051 char * kwnames
[] = {
26052 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26057 if (!SWIG_IsOK(res1
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26060 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26061 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26062 if (!SWIG_IsOK(ecode2
)) {
26063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
26065 arg2
= static_cast< wxDouble
>(val2
);
26066 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26067 if (!SWIG_IsOK(ecode3
)) {
26068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
26070 arg3
= static_cast< wxDouble
>(val3
);
26071 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26072 if (!SWIG_IsOK(ecode4
)) {
26073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
26075 arg4
= static_cast< wxDouble
>(val4
);
26076 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26077 if (!SWIG_IsOK(ecode5
)) {
26078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
26080 arg5
= static_cast< wxDouble
>(val5
);
26082 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_Py_Void();
26092 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 PyObject
*resultobj
= 0;
26094 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26097 PyObject
*swig_obj
[1] ;
26099 if (!args
) SWIG_fail
;
26100 swig_obj
[0] = args
;
26101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26102 if (!SWIG_IsOK(res1
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26105 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26107 (arg1
)->ResetClip();
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_Py_Void();
26117 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26118 PyObject
*resultobj
= 0;
26119 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26123 PyObject
*swig_obj
[1] ;
26125 if (!args
) SWIG_fail
;
26126 swig_obj
[0] = args
;
26127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26128 if (!SWIG_IsOK(res1
)) {
26129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26131 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26133 result
= (void *)(arg1
)->GetNativeContext();
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26143 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
= 0;
26145 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 PyObject
* obj2
= 0 ;
26157 char * kwnames
[] = {
26158 (char *) "self",(char *) "dx",(char *) "dy", NULL
26161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26163 if (!SWIG_IsOK(res1
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26166 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26167 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26168 if (!SWIG_IsOK(ecode2
)) {
26169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26171 arg2
= static_cast< wxDouble
>(val2
);
26172 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26173 if (!SWIG_IsOK(ecode3
)) {
26174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26176 arg3
= static_cast< wxDouble
>(val3
);
26178 (arg1
)->Translate(arg2
,arg3
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_Py_Void();
26188 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
= 0;
26190 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 PyObject
* obj2
= 0 ;
26202 char * kwnames
[] = {
26203 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26212 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26213 if (!SWIG_IsOK(ecode2
)) {
26214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26216 arg2
= static_cast< wxDouble
>(val2
);
26217 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26218 if (!SWIG_IsOK(ecode3
)) {
26219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26221 arg3
= static_cast< wxDouble
>(val3
);
26223 (arg1
)->Scale(arg2
,arg3
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= SWIG_Py_Void();
26233 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
= 0;
26235 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 char * kwnames
[] = {
26244 (char *) "self",(char *) "angle", NULL
26247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26249 if (!SWIG_IsOK(res1
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26252 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26253 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26254 if (!SWIG_IsOK(ecode2
)) {
26255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26257 arg2
= static_cast< wxDouble
>(val2
);
26259 (arg1
)->Rotate(arg2
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_Py_Void();
26269 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
= 0;
26271 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char * kwnames
[] = {
26280 (char *) "self",(char *) "pen", NULL
26283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26285 if (!SWIG_IsOK(res1
)) {
26286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26288 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26290 if (!SWIG_IsOK(res2
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26296 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26298 (arg1
)->SetPen((wxPen
const &)*arg2
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= 0;
26310 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26311 wxBrush
*arg2
= 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char * kwnames
[] = {
26319 (char *) "self",(char *) "brush", NULL
26322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26324 if (!SWIG_IsOK(res1
)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26327 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26329 if (!SWIG_IsOK(res2
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26335 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26337 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_Py_Void();
26347 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
= 0;
26349 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26354 wxColour
*arg6
= 0 ;
26355 wxColour
*arg7
= 0 ;
26368 PyObject
* obj0
= 0 ;
26369 PyObject
* obj1
= 0 ;
26370 PyObject
* obj2
= 0 ;
26371 PyObject
* obj3
= 0 ;
26372 PyObject
* obj4
= 0 ;
26373 PyObject
* obj5
= 0 ;
26374 PyObject
* obj6
= 0 ;
26375 char * kwnames
[] = {
26376 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26381 if (!SWIG_IsOK(res1
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26384 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26385 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26386 if (!SWIG_IsOK(ecode2
)) {
26387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26389 arg2
= static_cast< wxDouble
>(val2
);
26390 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26391 if (!SWIG_IsOK(ecode3
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26394 arg3
= static_cast< wxDouble
>(val3
);
26395 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26396 if (!SWIG_IsOK(ecode4
)) {
26397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26399 arg4
= static_cast< wxDouble
>(val4
);
26400 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26401 if (!SWIG_IsOK(ecode5
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26404 arg5
= static_cast< wxDouble
>(val5
);
26407 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26411 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26414 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_Py_Void();
26424 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
= 0;
26426 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26432 wxColour
*arg7
= 0 ;
26433 wxColour
*arg8
= 0 ;
26448 PyObject
* obj0
= 0 ;
26449 PyObject
* obj1
= 0 ;
26450 PyObject
* obj2
= 0 ;
26451 PyObject
* obj3
= 0 ;
26452 PyObject
* obj4
= 0 ;
26453 PyObject
* obj5
= 0 ;
26454 PyObject
* obj6
= 0 ;
26455 PyObject
* obj7
= 0 ;
26456 char * kwnames
[] = {
26457 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26465 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26466 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26470 arg2
= static_cast< wxDouble
>(val2
);
26471 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26472 if (!SWIG_IsOK(ecode3
)) {
26473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26475 arg3
= static_cast< wxDouble
>(val3
);
26476 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26477 if (!SWIG_IsOK(ecode4
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26480 arg4
= static_cast< wxDouble
>(val4
);
26481 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26482 if (!SWIG_IsOK(ecode5
)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26485 arg5
= static_cast< wxDouble
>(val5
);
26486 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26487 if (!SWIG_IsOK(ecode6
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26490 arg6
= static_cast< wxDouble
>(val6
);
26493 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26497 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26500 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 resultobj
= SWIG_Py_Void();
26510 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
= 0;
26512 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "font", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26531 if (!SWIG_IsOK(res2
)) {
26532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26537 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26539 (arg1
)->SetFont((wxFont
const &)*arg2
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_Py_Void();
26549 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
= 0;
26551 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26552 wxColour
*arg2
= 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 char * kwnames
[] = {
26559 (char *) "self",(char *) "col", NULL
26562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26564 if (!SWIG_IsOK(res1
)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26567 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26570 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26573 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= SWIG_Py_Void();
26583 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
= 0;
26585 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26586 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 char * kwnames
[] = {
26594 (char *) "self",(char *) "path", NULL
26597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26599 if (!SWIG_IsOK(res1
)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26602 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26604 if (!SWIG_IsOK(res2
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26607 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26609 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_Py_Void();
26619 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
= 0;
26621 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26622 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26623 int arg3
= (int) wxWINDING_RULE
;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 PyObject
* obj2
= 0 ;
26633 char * kwnames
[] = {
26634 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26642 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26644 if (!SWIG_IsOK(res2
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26647 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26650 if (!SWIG_IsOK(ecode3
)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26653 arg3
= static_cast< int >(val3
);
26656 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_Py_Void();
26666 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
= 0;
26668 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26669 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26670 int arg3
= (int) wxWINDING_RULE
;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 PyObject
* obj2
= 0 ;
26680 char * kwnames
[] = {
26681 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26686 if (!SWIG_IsOK(res1
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26689 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26691 if (!SWIG_IsOK(res2
)) {
26692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26694 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26697 if (!SWIG_IsOK(ecode3
)) {
26698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26700 arg3
= static_cast< int >(val3
);
26703 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_Py_Void();
26713 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26716 wxString
*arg2
= 0 ;
26721 bool temp2
= false ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 PyObject
* obj2
= 0 ;
26729 PyObject
* obj3
= 0 ;
26730 char * kwnames
[] = {
26731 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26736 if (!SWIG_IsOK(res1
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26739 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26741 arg2
= wxString_in_helper(obj1
);
26742 if (arg2
== NULL
) SWIG_fail
;
26745 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26746 if (!SWIG_IsOK(ecode3
)) {
26747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26749 arg3
= static_cast< wxDouble
>(val3
);
26750 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26751 if (!SWIG_IsOK(ecode4
)) {
26752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26754 arg4
= static_cast< wxDouble
>(val4
);
26756 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= SWIG_Py_Void();
26774 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
= 0;
26776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26777 wxString
*arg2
= 0 ;
26783 bool temp2
= false ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 PyObject
* obj3
= 0 ;
26794 PyObject
* obj4
= 0 ;
26795 char * kwnames
[] = {
26796 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26804 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26806 arg2
= wxString_in_helper(obj1
);
26807 if (arg2
== NULL
) SWIG_fail
;
26810 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26811 if (!SWIG_IsOK(ecode3
)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26814 arg3
= static_cast< wxDouble
>(val3
);
26815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26816 if (!SWIG_IsOK(ecode4
)) {
26817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26819 arg4
= static_cast< wxDouble
>(val4
);
26820 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26821 if (!SWIG_IsOK(ecode5
)) {
26822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26824 arg5
= static_cast< wxDouble
>(val5
);
26826 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26829 resultobj
= SWIG_Py_Void();
26844 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26845 PyObject
*resultobj
= 0;
26846 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26847 wxString
*arg2
= 0 ;
26848 wxDouble
*arg3
= (wxDouble
*) 0 ;
26849 wxDouble
*arg4
= (wxDouble
*) 0 ;
26850 wxDouble
*arg5
= (wxDouble
*) 0 ;
26851 wxDouble
*arg6
= (wxDouble
*) 0 ;
26854 bool temp2
= false ;
26856 int res3
= SWIG_TMPOBJ
;
26858 int res4
= SWIG_TMPOBJ
;
26860 int res5
= SWIG_TMPOBJ
;
26862 int res6
= SWIG_TMPOBJ
;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 char * kwnames
[] = {
26866 (char *) "self",(char *) "text", NULL
26873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26875 if (!SWIG_IsOK(res1
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26878 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26880 arg2
= wxString_in_helper(obj1
);
26881 if (arg2
== NULL
) SWIG_fail
;
26885 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_Py_Void();
26889 if (SWIG_IsTmpObj(res3
)) {
26890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26892 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26895 if (SWIG_IsTmpObj(res4
)) {
26896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26898 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26901 if (SWIG_IsTmpObj(res5
)) {
26902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26904 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26907 if (SWIG_IsTmpObj(res6
)) {
26908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26910 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26927 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
= 0;
26929 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26930 wxString
*arg2
= 0 ;
26931 wxArrayDouble result
;
26934 bool temp2
= false ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 char * kwnames
[] = {
26938 (char *) "self",(char *) "text", NULL
26941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26946 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26948 arg2
= wxString_in_helper(obj1
);
26949 if (arg2
== NULL
) SWIG_fail
;
26953 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= wxArrayDouble2PyList_helper(result
);
26973 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
= 0;
26975 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26976 wxBitmap
*arg2
= 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 PyObject
* obj2
= 0 ;
26996 PyObject
* obj3
= 0 ;
26997 PyObject
* obj4
= 0 ;
26998 PyObject
* obj5
= 0 ;
26999 char * kwnames
[] = {
27000 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27008 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27010 if (!SWIG_IsOK(res2
)) {
27011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27016 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27017 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27018 if (!SWIG_IsOK(ecode3
)) {
27019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
27021 arg3
= static_cast< wxDouble
>(val3
);
27022 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27023 if (!SWIG_IsOK(ecode4
)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
27026 arg4
= static_cast< wxDouble
>(val4
);
27027 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27028 if (!SWIG_IsOK(ecode5
)) {
27029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
27031 arg5
= static_cast< wxDouble
>(val5
);
27032 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27033 if (!SWIG_IsOK(ecode6
)) {
27034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
27036 arg6
= static_cast< wxDouble
>(val6
);
27038 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 PyObject
* obj2
= 0 ;
27071 PyObject
* obj3
= 0 ;
27072 PyObject
* obj4
= 0 ;
27073 PyObject
* obj5
= 0 ;
27074 char * kwnames
[] = {
27075 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27083 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27085 if (!SWIG_IsOK(res2
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27091 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27092 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27093 if (!SWIG_IsOK(ecode3
)) {
27094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
27096 arg3
= static_cast< wxDouble
>(val3
);
27097 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27098 if (!SWIG_IsOK(ecode4
)) {
27099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
27101 arg4
= static_cast< wxDouble
>(val4
);
27102 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27103 if (!SWIG_IsOK(ecode5
)) {
27104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
27106 arg5
= static_cast< wxDouble
>(val5
);
27107 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27108 if (!SWIG_IsOK(ecode6
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
27111 arg6
= static_cast< wxDouble
>(val6
);
27113 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_Py_Void();
27123 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
= 0;
27125 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 PyObject
* obj2
= 0 ;
27143 PyObject
* obj3
= 0 ;
27144 PyObject
* obj4
= 0 ;
27145 char * kwnames
[] = {
27146 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27154 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27155 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27156 if (!SWIG_IsOK(ecode2
)) {
27157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
27159 arg2
= static_cast< wxDouble
>(val2
);
27160 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27161 if (!SWIG_IsOK(ecode3
)) {
27162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
27164 arg3
= static_cast< wxDouble
>(val3
);
27165 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27166 if (!SWIG_IsOK(ecode4
)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
27169 arg4
= static_cast< wxDouble
>(val4
);
27170 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27171 if (!SWIG_IsOK(ecode5
)) {
27172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
27174 arg5
= static_cast< wxDouble
>(val5
);
27176 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
= 0;
27188 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27190 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char * kwnames
[] = {
27196 (char *) "self",(char *) "points", NULL
27199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27204 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27206 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27207 if (arg3
== NULL
) SWIG_fail
;
27210 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= SWIG_Py_Void();
27215 if (arg3
) delete [] arg3
;
27220 if (arg3
) delete [] arg3
;
27226 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
= 0;
27228 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27229 PyObject
*arg2
= (PyObject
*) 0 ;
27230 PyObject
*arg3
= (PyObject
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 PyObject
* obj1
= 0 ;
27235 PyObject
* obj2
= 0 ;
27236 char * kwnames
[] = {
27237 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
27240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27245 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27249 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_Py_Void();
27259 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
= 0;
27261 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27263 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27264 int arg4
= (int) wxWINDING_RULE
;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 PyObject
* obj2
= 0 ;
27272 char * kwnames
[] = {
27273 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27281 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27283 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27284 if (arg3
== NULL
) SWIG_fail
;
27287 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27288 if (!SWIG_IsOK(ecode4
)) {
27289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27291 arg4
= static_cast< int >(val4
);
27294 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= SWIG_Py_Void();
27299 if (arg3
) delete [] arg3
;
27304 if (arg3
) delete [] arg3
;
27310 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
= 0;
27312 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 PyObject
* obj2
= 0 ;
27330 PyObject
* obj3
= 0 ;
27331 PyObject
* obj4
= 0 ;
27332 char * kwnames
[] = {
27333 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27342 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27343 if (!SWIG_IsOK(ecode2
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27346 arg2
= static_cast< wxDouble
>(val2
);
27347 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27348 if (!SWIG_IsOK(ecode3
)) {
27349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27351 arg3
= static_cast< wxDouble
>(val3
);
27352 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27353 if (!SWIG_IsOK(ecode4
)) {
27354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27356 arg4
= static_cast< wxDouble
>(val4
);
27357 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27358 if (!SWIG_IsOK(ecode5
)) {
27359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27361 arg5
= static_cast< wxDouble
>(val5
);
27363 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_Py_Void();
27373 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
= 0;
27375 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27390 PyObject
* obj0
= 0 ;
27391 PyObject
* obj1
= 0 ;
27392 PyObject
* obj2
= 0 ;
27393 PyObject
* obj3
= 0 ;
27394 PyObject
* obj4
= 0 ;
27395 char * kwnames
[] = {
27396 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27404 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27405 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27406 if (!SWIG_IsOK(ecode2
)) {
27407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27409 arg2
= static_cast< wxDouble
>(val2
);
27410 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27411 if (!SWIG_IsOK(ecode3
)) {
27412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27414 arg3
= static_cast< wxDouble
>(val3
);
27415 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27416 if (!SWIG_IsOK(ecode4
)) {
27417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27419 arg4
= static_cast< wxDouble
>(val4
);
27420 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27421 if (!SWIG_IsOK(ecode5
)) {
27422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27424 arg5
= static_cast< wxDouble
>(val5
);
27426 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= SWIG_Py_Void();
27436 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
= 0;
27438 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27456 PyObject
* obj0
= 0 ;
27457 PyObject
* obj1
= 0 ;
27458 PyObject
* obj2
= 0 ;
27459 PyObject
* obj3
= 0 ;
27460 PyObject
* obj4
= 0 ;
27461 PyObject
* obj5
= 0 ;
27462 char * kwnames
[] = {
27463 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27471 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27472 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27473 if (!SWIG_IsOK(ecode2
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27476 arg2
= static_cast< wxDouble
>(val2
);
27477 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27478 if (!SWIG_IsOK(ecode3
)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27481 arg3
= static_cast< wxDouble
>(val3
);
27482 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27483 if (!SWIG_IsOK(ecode4
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27486 arg4
= static_cast< wxDouble
>(val4
);
27487 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27488 if (!SWIG_IsOK(ecode5
)) {
27489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27491 arg5
= static_cast< wxDouble
>(val5
);
27492 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27493 if (!SWIG_IsOK(ecode6
)) {
27494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27496 arg6
= static_cast< wxDouble
>(val6
);
27498 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= SWIG_Py_Void();
27508 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27511 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27512 return SWIG_Py_Void();
27515 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
= 0;
27517 wxWindowDC
*arg1
= 0 ;
27518 wxGCDC
*result
= 0 ;
27521 PyObject
* obj0
= 0 ;
27522 char * kwnames
[] = {
27523 (char *) "dc", NULL
27526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27528 if (!SWIG_IsOK(res1
)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27534 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27536 if (!wxPyCheckForApp()) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27549 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27550 PyObject
*resultobj
= 0;
27551 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27554 PyObject
*swig_obj
[1] ;
27556 if (!args
) SWIG_fail
;
27557 swig_obj
[0] = args
;
27558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27559 if (!SWIG_IsOK(res1
)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27562 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 resultobj
= SWIG_Py_Void();
27575 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27578 wxGraphicsContext
*result
= 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27589 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27591 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27601 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
= 0;
27603 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27604 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 char * kwnames
[] = {
27612 (char *) "self",(char *) "ctx", NULL
27615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27620 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27622 if (!SWIG_IsOK(res2
)) {
27623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
27625 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
27627 (arg1
)->SetGraphicsContext(arg2
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_Py_Void();
27637 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27640 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27641 return SWIG_Py_Void();
27644 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 return SWIG_Python_InitShadowInstance(args
);
27648 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27649 PyObject
*resultobj
= 0;
27650 wxOverlay
*result
= 0 ;
27652 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 result
= (wxOverlay
*)new wxOverlay();
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27666 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27667 PyObject
*resultobj
= 0;
27668 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27671 PyObject
*swig_obj
[1] ;
27673 if (!args
) SWIG_fail
;
27674 swig_obj
[0] = args
;
27675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27676 if (!SWIG_IsOK(res1
)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27679 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_Py_Void();
27694 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27695 PyObject
*resultobj
= 0;
27696 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27699 PyObject
*swig_obj
[1] ;
27701 if (!args
) SWIG_fail
;
27702 swig_obj
[0] = args
;
27703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27704 if (!SWIG_IsOK(res1
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27707 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_Py_Void();
27721 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27724 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27725 return SWIG_Py_Void();
27728 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27729 return SWIG_Python_InitShadowInstance(args
);
27732 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27733 PyObject
*resultobj
= 0;
27734 wxOverlay
*arg1
= 0 ;
27735 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27740 wxDCOverlay
*result
= 0 ;
27754 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27762 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27763 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27764 if (!SWIG_IsOK(res2
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27767 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27768 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27769 if (!SWIG_IsOK(ecode3
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27772 arg3
= static_cast< int >(val3
);
27773 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27774 if (!SWIG_IsOK(ecode4
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27777 arg4
= static_cast< int >(val4
);
27778 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27779 if (!SWIG_IsOK(ecode5
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27782 arg5
= static_cast< int >(val5
);
27783 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27784 if (!SWIG_IsOK(ecode6
)) {
27785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27787 arg6
= static_cast< int >(val6
);
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27801 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27802 PyObject
*resultobj
= 0;
27803 wxOverlay
*arg1
= 0 ;
27804 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27805 wxDCOverlay
*result
= 0 ;
27811 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27813 if (!SWIG_IsOK(res1
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27819 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27820 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27821 if (!SWIG_IsOK(res2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27824 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27838 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27842 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27845 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27848 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27852 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27857 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27858 PyObject
*resultobj
= 0;
27859 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27862 PyObject
*swig_obj
[1] ;
27864 if (!args
) SWIG_fail
;
27865 swig_obj
[0] = args
;
27866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27867 if (!SWIG_IsOK(res1
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27870 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= SWIG_Py_Void();
27885 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27898 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27915 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27916 return SWIG_Py_Void();
27919 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27920 return SWIG_Python_InitShadowInstance(args
);
27923 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
= 0;
27927 int arg3
= (int) true ;
27928 int arg4
= (int) 1 ;
27929 wxImageList
*result
= 0 ;
27938 PyObject
* obj0
= 0 ;
27939 PyObject
* obj1
= 0 ;
27940 PyObject
* obj2
= 0 ;
27941 PyObject
* obj3
= 0 ;
27942 char * kwnames
[] = {
27943 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27948 if (!SWIG_IsOK(ecode1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27951 arg1
= static_cast< int >(val1
);
27952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27953 if (!SWIG_IsOK(ecode2
)) {
27954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27956 arg2
= static_cast< int >(val2
);
27958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27959 if (!SWIG_IsOK(ecode3
)) {
27960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27962 arg3
= static_cast< int >(val3
);
27965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27966 if (!SWIG_IsOK(ecode4
)) {
27967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27969 arg4
= static_cast< int >(val4
);
27972 if (!wxPyCheckForApp()) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27985 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27986 PyObject
*resultobj
= 0;
27987 wxImageList
*arg1
= (wxImageList
*) 0 ;
27990 PyObject
*swig_obj
[1] ;
27992 if (!args
) SWIG_fail
;
27993 swig_obj
[0] = args
;
27994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27995 if (!SWIG_IsOK(res1
)) {
27996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27998 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= SWIG_Py_Void();
28013 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
= 0;
28015 wxImageList
*arg1
= (wxImageList
*) 0 ;
28016 wxBitmap
*arg2
= 0 ;
28017 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28018 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 PyObject
* obj2
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
28038 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28040 if (!SWIG_IsOK(res2
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28046 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28048 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28049 if (!SWIG_IsOK(res3
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28055 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_From_int(static_cast< int >(result
));
28070 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
= 0;
28072 wxImageList
*arg1
= (wxImageList
*) 0 ;
28073 wxBitmap
*arg2
= 0 ;
28074 wxColour
*arg3
= 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 PyObject
* obj2
= 0 ;
28084 char * kwnames
[] = {
28085 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
28088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28090 if (!SWIG_IsOK(res1
)) {
28091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
28093 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28095 if (!SWIG_IsOK(res2
)) {
28096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28101 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28104 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_From_int(static_cast< int >(result
));
28119 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
= 0;
28121 wxImageList
*arg1
= (wxImageList
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char * kwnames
[] = {
28131 (char *) "self",(char *) "icon", NULL
28134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
28139 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
28141 if (!SWIG_IsOK(res2
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28147 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_From_int(static_cast< int >(result
));
28161 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
= 0;
28163 wxImageList
*arg1
= (wxImageList
*) 0 ;
28165 SwigValueWrapper
<wxBitmap
> result
;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 char * kwnames
[] = {
28173 (char *) "self",(char *) "index", NULL
28176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28178 if (!SWIG_IsOK(res1
)) {
28179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
28181 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28183 if (!SWIG_IsOK(ecode2
)) {
28184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
28186 arg2
= static_cast< int >(val2
);
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
28200 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= 0;
28202 wxImageList
*arg1
= (wxImageList
*) 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char * kwnames
[] = {
28212 (char *) "self",(char *) "index", NULL
28215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
28220 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28222 if (!SWIG_IsOK(ecode2
)) {
28223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
28225 arg2
= static_cast< int >(val2
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
28239 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= 0;
28241 wxImageList
*arg1
= (wxImageList
*) 0 ;
28243 wxBitmap
*arg3
= 0 ;
28244 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
28245 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 PyObject
* obj2
= 0 ;
28258 PyObject
* obj3
= 0 ;
28259 char * kwnames
[] = {
28260 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
28263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
28268 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28270 if (!SWIG_IsOK(ecode2
)) {
28271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
28273 arg2
= static_cast< int >(val2
);
28274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28275 if (!SWIG_IsOK(res3
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28281 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28283 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28284 if (!SWIG_IsOK(res4
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28290 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28307 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
= 0;
28309 wxImageList
*arg1
= (wxImageList
*) 0 ;
28314 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28315 bool arg7
= (bool) (bool)false ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 PyObject
* obj2
= 0 ;
28334 PyObject
* obj3
= 0 ;
28335 PyObject
* obj4
= 0 ;
28336 PyObject
* obj5
= 0 ;
28337 PyObject
* obj6
= 0 ;
28338 char * kwnames
[] = {
28339 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28344 if (!SWIG_IsOK(res1
)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28347 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28349 if (!SWIG_IsOK(ecode2
)) {
28350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28352 arg2
= static_cast< int >(val2
);
28353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28354 if (!SWIG_IsOK(res3
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28360 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28362 if (!SWIG_IsOK(ecode4
)) {
28363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28365 arg4
= static_cast< int >(val4
);
28366 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28367 if (!SWIG_IsOK(ecode5
)) {
28368 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28370 arg5
= static_cast< int >(val5
);
28372 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28373 if (!SWIG_IsOK(ecode6
)) {
28374 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28376 arg6
= static_cast< int >(val6
);
28379 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28380 if (!SWIG_IsOK(ecode7
)) {
28381 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28383 arg7
= static_cast< bool >(val7
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28400 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28401 PyObject
*resultobj
= 0;
28402 wxImageList
*arg1
= (wxImageList
*) 0 ;
28406 PyObject
*swig_obj
[1] ;
28408 if (!args
) SWIG_fail
;
28409 swig_obj
[0] = args
;
28410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28411 if (!SWIG_IsOK(res1
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28414 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= (int)(arg1
)->GetImageCount();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= SWIG_From_int(static_cast< int >(result
));
28428 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
= 0;
28430 wxImageList
*arg1
= (wxImageList
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char * kwnames
[] = {
28440 (char *) "self",(char *) "index", NULL
28443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28448 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28450 if (!SWIG_IsOK(ecode2
)) {
28451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28453 arg2
= static_cast< int >(val2
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)(arg1
)->Remove(arg2
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxImageList
*arg1
= (wxImageList
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28483 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (bool)(arg1
)->RemoveAll();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28499 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
= 0;
28501 wxImageList
*arg1
= (wxImageList
*) 0 ;
28510 int res3
= SWIG_TMPOBJ
;
28512 int res4
= SWIG_TMPOBJ
;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char * kwnames
[] = {
28516 (char *) "self",(char *) "index", NULL
28521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28523 if (!SWIG_IsOK(res1
)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28526 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28528 if (!SWIG_IsOK(ecode2
)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28531 arg2
= static_cast< int >(val2
);
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 resultobj
= SWIG_Py_Void();
28539 if (SWIG_IsTmpObj(res3
)) {
28540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28545 if (SWIG_IsTmpObj(res4
)) {
28546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28548 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28557 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28560 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28561 return SWIG_Py_Void();
28564 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 return SWIG_Python_InitShadowInstance(args
);
28568 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28569 PyObject
*resultobj
= 0;
28570 wxStockGDI
*result
= 0 ;
28572 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (wxStockGDI
*)new wxStockGDI();
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28586 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28587 PyObject
*resultobj
= 0;
28588 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28591 PyObject
*swig_obj
[1] ;
28593 if (!args
) SWIG_fail
;
28594 swig_obj
[0] = args
;
28595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28599 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= SWIG_Py_Void();
28614 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28615 PyObject
*resultobj
= 0;
28617 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 wxStockGDI::DeleteAll();
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= SWIG_Py_Void();
28631 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28632 PyObject
*resultobj
= 0;
28633 wxStockGDI
*result
= 0 ;
28635 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28640 result
= (wxStockGDI
*) &_result_ref
;
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28652 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
= 0;
28654 wxStockGDI::Item arg1
;
28655 wxBrush
*result
= 0 ;
28658 PyObject
* obj0
= 0 ;
28659 char * kwnames
[] = {
28660 (char *) "item", NULL
28663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28664 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28665 if (!SWIG_IsOK(ecode1
)) {
28666 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28668 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28682 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
= 0;
28684 wxStockGDI::Item arg1
;
28685 wxColour
*result
= 0 ;
28688 PyObject
* obj0
= 0 ;
28689 char * kwnames
[] = {
28690 (char *) "item", NULL
28693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28695 if (!SWIG_IsOK(ecode1
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28698 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28712 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
= 0;
28714 wxStockGDI::Item arg1
;
28715 wxCursor
*result
= 0 ;
28718 PyObject
* obj0
= 0 ;
28719 char * kwnames
[] = {
28720 (char *) "item", NULL
28723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28724 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28725 if (!SWIG_IsOK(ecode1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28728 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28742 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
= 0;
28744 wxStockGDI::Item arg1
;
28745 wxPen
*result
= 0 ;
28748 PyObject
* obj0
= 0 ;
28749 char * kwnames
[] = {
28750 (char *) "item", NULL
28753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28755 if (!SWIG_IsOK(ecode1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28758 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28772 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
= 0;
28774 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28775 wxStockGDI::Item arg2
;
28776 wxFont
*result
= 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char * kwnames
[] = {
28784 (char *) "self",(char *) "item", NULL
28787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28792 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28794 if (!SWIG_IsOK(ecode2
)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28797 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28801 wxPyEndAllowThreads(__tstate
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28811 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28814 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28815 return SWIG_Py_Void();
28818 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28819 return SWIG_Python_InitShadowInstance(args
);
28822 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28823 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28828 SWIGINTERN PyObject
*NullBitmap_get(void) {
28829 PyObject
*pyobj
= 0;
28831 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28836 SWIGINTERN
int NullIcon_set(PyObject
*) {
28837 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28842 SWIGINTERN PyObject
*NullIcon_get(void) {
28843 PyObject
*pyobj
= 0;
28845 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28850 SWIGINTERN
int NullCursor_set(PyObject
*) {
28851 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28856 SWIGINTERN PyObject
*NullCursor_get(void) {
28857 PyObject
*pyobj
= 0;
28859 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28864 SWIGINTERN
int NullPen_set(PyObject
*) {
28865 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28870 SWIGINTERN PyObject
*NullPen_get(void) {
28871 PyObject
*pyobj
= 0;
28873 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28878 SWIGINTERN
int NullBrush_set(PyObject
*) {
28879 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28884 SWIGINTERN PyObject
*NullBrush_get(void) {
28885 PyObject
*pyobj
= 0;
28887 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28892 SWIGINTERN
int NullPalette_set(PyObject
*) {
28893 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28898 SWIGINTERN PyObject
*NullPalette_get(void) {
28899 PyObject
*pyobj
= 0;
28901 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28906 SWIGINTERN
int NullFont_set(PyObject
*) {
28907 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28912 SWIGINTERN PyObject
*NullFont_get(void) {
28913 PyObject
*pyobj
= 0;
28915 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28920 SWIGINTERN
int NullColour_set(PyObject
*) {
28921 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28926 SWIGINTERN PyObject
*NullColour_get(void) {
28927 PyObject
*pyobj
= 0;
28929 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28934 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28935 PyObject
*resultobj
= 0;
28936 wxGDIObjListBase
*result
= 0 ;
28938 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28952 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28953 PyObject
*resultobj
= 0;
28954 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28957 PyObject
*swig_obj
[1] ;
28959 if (!args
) SWIG_fail
;
28960 swig_obj
[0] = args
;
28961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28962 if (!SWIG_IsOK(res1
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28965 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= SWIG_Py_Void();
28980 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28983 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28984 return SWIG_Py_Void();
28987 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28988 return SWIG_Python_InitShadowInstance(args
);
28991 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
= 0;
28993 wxPenList
*arg1
= (wxPenList
*) 0 ;
28994 wxColour
*arg2
= 0 ;
28997 wxPen
*result
= 0 ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 PyObject
* obj2
= 0 ;
29008 PyObject
* obj3
= 0 ;
29009 char * kwnames
[] = {
29010 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
29013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29018 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29024 if (!SWIG_IsOK(ecode3
)) {
29025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
29027 arg3
= static_cast< int >(val3
);
29028 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29029 if (!SWIG_IsOK(ecode4
)) {
29030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
29032 arg4
= static_cast< int >(val4
);
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
29046 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxPenList
*arg1
= (wxPenList
*) 0 ;
29049 wxPen
*arg2
= (wxPen
*) 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 char * kwnames
[] = {
29057 (char *) "self",(char *) "pen", NULL
29060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
29065 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29067 if (!SWIG_IsOK(res2
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
29070 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 (arg1
)->AddPen(arg2
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_Py_Void();
29084 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
= 0;
29086 wxPenList
*arg1
= (wxPenList
*) 0 ;
29087 wxPen
*arg2
= (wxPen
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 char * kwnames
[] = {
29095 (char *) "self",(char *) "pen", NULL
29098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29100 if (!SWIG_IsOK(res1
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29103 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29104 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29105 if (!SWIG_IsOK(res2
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
29108 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 (arg1
)->RemovePen(arg2
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= SWIG_Py_Void();
29122 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29125 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
29126 return SWIG_Py_Void();
29129 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
= 0;
29131 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29132 wxColour
*arg2
= 0 ;
29133 int arg3
= (int) wxSOLID
;
29134 wxBrush
*result
= 0 ;
29140 PyObject
* obj0
= 0 ;
29141 PyObject
* obj1
= 0 ;
29142 PyObject
* obj2
= 0 ;
29143 char * kwnames
[] = {
29144 (char *) "self",(char *) "colour",(char *) "style", NULL
29147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29149 if (!SWIG_IsOK(res1
)) {
29150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29152 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29159 if (!SWIG_IsOK(ecode3
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
29162 arg3
= static_cast< int >(val3
);
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
29177 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29178 PyObject
*resultobj
= 0;
29179 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29180 wxBrush
*arg2
= (wxBrush
*) 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 char * kwnames
[] = {
29188 (char *) "self",(char *) "brush", NULL
29191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29193 if (!SWIG_IsOK(res1
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29196 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29198 if (!SWIG_IsOK(res2
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29201 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 (arg1
)->AddBrush(arg2
);
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= SWIG_Py_Void();
29215 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
= 0;
29217 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29218 wxBrush
*arg2
= (wxBrush
*) 0 ;
29223 PyObject
* obj0
= 0 ;
29224 PyObject
* obj1
= 0 ;
29225 char * kwnames
[] = {
29226 (char *) "self",(char *) "brush", NULL
29229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29231 if (!SWIG_IsOK(res1
)) {
29232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29234 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29236 if (!SWIG_IsOK(res2
)) {
29237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29239 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 (arg1
)->RemoveBrush(arg2
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= SWIG_Py_Void();
29253 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29256 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
29257 return SWIG_Py_Void();
29260 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= 0;
29262 wxFontList
*arg1
= (wxFontList
*) 0 ;
29267 bool arg6
= (bool) false ;
29268 wxString
const &arg7_defvalue
= wxPyEmptyString
;
29269 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29270 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
29271 wxFont
*result
= 0 ;
29284 bool temp7
= false ;
29287 PyObject
* obj0
= 0 ;
29288 PyObject
* obj1
= 0 ;
29289 PyObject
* obj2
= 0 ;
29290 PyObject
* obj3
= 0 ;
29291 PyObject
* obj4
= 0 ;
29292 PyObject
* obj5
= 0 ;
29293 PyObject
* obj6
= 0 ;
29294 PyObject
* obj7
= 0 ;
29295 char * kwnames
[] = {
29296 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29301 if (!SWIG_IsOK(res1
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29304 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29306 if (!SWIG_IsOK(ecode2
)) {
29307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29309 arg2
= static_cast< int >(val2
);
29310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29311 if (!SWIG_IsOK(ecode3
)) {
29312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29314 arg3
= static_cast< int >(val3
);
29315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29316 if (!SWIG_IsOK(ecode4
)) {
29317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29319 arg4
= static_cast< int >(val4
);
29320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29321 if (!SWIG_IsOK(ecode5
)) {
29322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29324 arg5
= static_cast< int >(val5
);
29326 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29327 if (!SWIG_IsOK(ecode6
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29330 arg6
= static_cast< bool >(val6
);
29334 arg7
= wxString_in_helper(obj6
);
29335 if (arg7
== NULL
) SWIG_fail
;
29340 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29341 if (!SWIG_IsOK(ecode8
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29344 arg8
= static_cast< wxFontEncoding
>(val8
);
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29367 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29369 wxFontList
*arg1
= (wxFontList
*) 0 ;
29370 wxFont
*arg2
= (wxFont
*) 0 ;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 char * kwnames
[] = {
29378 (char *) "self",(char *) "font", NULL
29381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29386 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29388 if (!SWIG_IsOK(res2
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29391 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 (arg1
)->AddFont(arg2
);
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_Py_Void();
29405 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
= 0;
29407 wxFontList
*arg1
= (wxFontList
*) 0 ;
29408 wxFont
*arg2
= (wxFont
*) 0 ;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 char * kwnames
[] = {
29416 (char *) "self",(char *) "font", NULL
29419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29421 if (!SWIG_IsOK(res1
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29424 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29425 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29426 if (!SWIG_IsOK(res2
)) {
29427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29429 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 (arg1
)->RemoveFont(arg2
);
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29446 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29447 return SWIG_Py_Void();
29450 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29451 PyObject
*resultobj
= 0;
29452 wxColourDatabase
*result
= 0 ;
29454 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29456 if (!wxPyCheckForApp()) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (wxColourDatabase
*)new wxColourDatabase();
29459 wxPyEndAllowThreads(__tstate
);
29460 if (PyErr_Occurred()) SWIG_fail
;
29462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29469 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29470 PyObject
*resultobj
= 0;
29471 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29474 PyObject
*swig_obj
[1] ;
29476 if (!args
) SWIG_fail
;
29477 swig_obj
[0] = args
;
29478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29479 if (!SWIG_IsOK(res1
)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29482 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29490 resultobj
= SWIG_Py_Void();
29497 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
= 0;
29499 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29500 wxString
*arg2
= 0 ;
29504 bool temp2
= false ;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 char * kwnames
[] = {
29508 (char *) "self",(char *) "name", NULL
29511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29513 if (!SWIG_IsOK(res1
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29516 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29518 arg2
= wxString_in_helper(obj1
);
29519 if (arg2
== NULL
) SWIG_fail
;
29523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29528 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29543 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
= 0;
29545 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29546 wxColour
*arg2
= 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 char * kwnames
[] = {
29554 (char *) "self",(char *) "colour", NULL
29557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29559 if (!SWIG_IsOK(res1
)) {
29560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29562 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29586 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29589 wxString
*arg2
= 0 ;
29590 wxColour
*arg3
= 0 ;
29593 bool temp2
= false ;
29595 PyObject
* obj0
= 0 ;
29596 PyObject
* obj1
= 0 ;
29597 PyObject
* obj2
= 0 ;
29598 char * kwnames
[] = {
29599 (char *) "self",(char *) "name",(char *) "colour", NULL
29602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29607 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29609 arg2
= wxString_in_helper(obj1
);
29610 if (arg2
== NULL
) SWIG_fail
;
29615 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_Py_Void();
29638 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
= 0;
29640 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29641 wxString
*arg2
= 0 ;
29647 bool temp2
= false ;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 PyObject
* obj2
= 0 ;
29657 PyObject
* obj3
= 0 ;
29658 PyObject
* obj4
= 0 ;
29659 char * kwnames
[] = {
29660 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29665 if (!SWIG_IsOK(res1
)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29668 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29670 arg2
= wxString_in_helper(obj1
);
29671 if (arg2
== NULL
) SWIG_fail
;
29674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29675 if (!SWIG_IsOK(ecode3
)) {
29676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29678 arg3
= static_cast< int >(val3
);
29679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29680 if (!SWIG_IsOK(ecode4
)) {
29681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29683 arg4
= static_cast< int >(val4
);
29684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29685 if (!SWIG_IsOK(ecode5
)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29688 arg5
= static_cast< int >(val5
);
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29695 resultobj
= SWIG_Py_Void();
29710 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29713 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29714 return SWIG_Py_Void();
29717 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29718 return SWIG_Python_InitShadowInstance(args
);
29721 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 PyObject
*resultobj
= 0;
29723 wxFontList
*result
= 0 ;
29725 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (wxFontList
*)_wxPyInitTheFontList();
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29739 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 PyObject
*resultobj
= 0;
29741 wxPenList
*result
= 0 ;
29743 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 result
= (wxPenList
*)_wxPyInitThePenList();
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29757 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29758 PyObject
*resultobj
= 0;
29759 wxBrushList
*result
= 0 ;
29761 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29775 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29776 PyObject
*resultobj
= 0;
29777 wxColourDatabase
*result
= 0 ;
29779 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29793 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29794 PyObject
*resultobj
= 0;
29795 wxEffects
*result
= 0 ;
29797 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29800 result
= (wxEffects
*)new wxEffects();
29801 wxPyEndAllowThreads(__tstate
);
29802 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29811 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29812 PyObject
*resultobj
= 0;
29813 wxEffects
*arg1
= (wxEffects
*) 0 ;
29817 PyObject
*swig_obj
[1] ;
29819 if (!args
) SWIG_fail
;
29820 swig_obj
[0] = args
;
29821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29822 if (!SWIG_IsOK(res1
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29825 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29839 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29840 PyObject
*resultobj
= 0;
29841 wxEffects
*arg1
= (wxEffects
*) 0 ;
29845 PyObject
*swig_obj
[1] ;
29847 if (!args
) SWIG_fail
;
29848 swig_obj
[0] = args
;
29849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29853 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29867 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29868 PyObject
*resultobj
= 0;
29869 wxEffects
*arg1
= (wxEffects
*) 0 ;
29873 PyObject
*swig_obj
[1] ;
29875 if (!args
) SWIG_fail
;
29876 swig_obj
[0] = args
;
29877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29881 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29895 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29896 PyObject
*resultobj
= 0;
29897 wxEffects
*arg1
= (wxEffects
*) 0 ;
29901 PyObject
*swig_obj
[1] ;
29903 if (!args
) SWIG_fail
;
29904 swig_obj
[0] = args
;
29905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29909 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29913 wxPyEndAllowThreads(__tstate
);
29914 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29923 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29924 PyObject
*resultobj
= 0;
29925 wxEffects
*arg1
= (wxEffects
*) 0 ;
29929 PyObject
*swig_obj
[1] ;
29931 if (!args
) SWIG_fail
;
29932 swig_obj
[0] = args
;
29933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29934 if (!SWIG_IsOK(res1
)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29937 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29951 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
= 0;
29953 wxEffects
*arg1
= (wxEffects
*) 0 ;
29954 wxColour
*arg2
= 0 ;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 char * kwnames
[] = {
29961 (char *) "self",(char *) "c", NULL
29964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29966 if (!SWIG_IsOK(res1
)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29969 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29972 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= SWIG_Py_Void();
29987 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxEffects
*arg1
= (wxEffects
*) 0 ;
29990 wxColour
*arg2
= 0 ;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 char * kwnames
[] = {
29997 (char *) "self",(char *) "c", NULL
30000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30005 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= SWIG_Py_Void();
30023 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
= 0;
30025 wxEffects
*arg1
= (wxEffects
*) 0 ;
30026 wxColour
*arg2
= 0 ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char * kwnames
[] = {
30033 (char *) "self",(char *) "c", NULL
30036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
30041 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_Py_Void();
30059 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
= 0;
30061 wxEffects
*arg1
= (wxEffects
*) 0 ;
30062 wxColour
*arg2
= 0 ;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 char * kwnames
[] = {
30069 (char *) "self",(char *) "c", NULL
30072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30077 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= SWIG_Py_Void();
30095 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30096 PyObject
*resultobj
= 0;
30097 wxEffects
*arg1
= (wxEffects
*) 0 ;
30098 wxColour
*arg2
= 0 ;
30102 PyObject
* obj0
= 0 ;
30103 PyObject
* obj1
= 0 ;
30104 char * kwnames
[] = {
30105 (char *) "self",(char *) "c", NULL
30108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30110 if (!SWIG_IsOK(res1
)) {
30111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30113 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30116 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_Py_Void();
30131 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
= 0;
30133 wxEffects
*arg1
= (wxEffects
*) 0 ;
30134 wxColour
*arg2
= 0 ;
30135 wxColour
*arg3
= 0 ;
30136 wxColour
*arg4
= 0 ;
30137 wxColour
*arg5
= 0 ;
30138 wxColour
*arg6
= 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 PyObject
* obj2
= 0 ;
30149 PyObject
* obj3
= 0 ;
30150 PyObject
* obj4
= 0 ;
30151 PyObject
* obj5
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
30161 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30164 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30168 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30172 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
30176 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
30180 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_Py_Void();
30195 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
= 0;
30197 wxEffects
*arg1
= (wxEffects
*) 0 ;
30200 int arg4
= (int) 1 ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 PyObject
* obj2
= 0 ;
30211 PyObject
* obj3
= 0 ;
30212 char * kwnames
[] = {
30213 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
30216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
30221 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
30223 if (!SWIG_IsOK(res2
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30229 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30232 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30236 if (!SWIG_IsOK(ecode4
)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
30239 arg4
= static_cast< int >(val4
);
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_Py_Void();
30254 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
= 0;
30256 wxEffects
*arg1
= (wxEffects
*) 0 ;
30259 wxBitmap
*arg4
= 0 ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 PyObject
* obj2
= 0 ;
30271 PyObject
* obj3
= 0 ;
30272 char * kwnames
[] = {
30273 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
30276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30278 if (!SWIG_IsOK(res1
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30281 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30286 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30287 if (!SWIG_IsOK(res3
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30293 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30294 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30295 if (!SWIG_IsOK(res4
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30301 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30317 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30320 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30321 return SWIG_Py_Void();
30324 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 return SWIG_Python_InitShadowInstance(args
);
30328 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30329 PyObject
*resultobj
= 0;
30333 wxSplitterRenderParams
*result
= 0 ;
30340 PyObject
* obj0
= 0 ;
30341 PyObject
* obj1
= 0 ;
30342 PyObject
* obj2
= 0 ;
30343 char * kwnames
[] = {
30344 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30349 if (!SWIG_IsOK(ecode1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30352 arg1
= static_cast< int >(val1
);
30353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30354 if (!SWIG_IsOK(ecode2
)) {
30355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30357 arg2
= static_cast< int >(val2
);
30358 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30359 if (!SWIG_IsOK(ecode3
)) {
30360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30362 arg3
= static_cast< bool >(val3
);
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30376 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30377 PyObject
*resultobj
= 0;
30378 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30381 PyObject
*swig_obj
[1] ;
30383 if (!args
) SWIG_fail
;
30384 swig_obj
[0] = args
;
30385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30389 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_Py_Void();
30404 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30405 PyObject
*resultobj
= 0;
30406 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30410 PyObject
*swig_obj
[1] ;
30412 if (!args
) SWIG_fail
;
30413 swig_obj
[0] = args
;
30414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30418 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30419 result
= (int)(int) ((arg1
)->widthSash
);
30420 resultobj
= SWIG_From_int(static_cast< int >(result
));
30427 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30428 PyObject
*resultobj
= 0;
30429 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30433 PyObject
*swig_obj
[1] ;
30435 if (!args
) SWIG_fail
;
30436 swig_obj
[0] = args
;
30437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30438 if (!SWIG_IsOK(res1
)) {
30439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30441 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30442 result
= (int)(int) ((arg1
)->border
);
30443 resultobj
= SWIG_From_int(static_cast< int >(result
));
30450 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30451 PyObject
*resultobj
= 0;
30452 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30456 PyObject
*swig_obj
[1] ;
30458 if (!args
) SWIG_fail
;
30459 swig_obj
[0] = args
;
30460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30464 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30465 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30466 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30473 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30476 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30477 return SWIG_Py_Void();
30480 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30481 return SWIG_Python_InitShadowInstance(args
);
30484 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30485 PyObject
*resultobj
= 0;
30486 wxHeaderButtonParams
*result
= 0 ;
30488 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30502 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30503 PyObject
*resultobj
= 0;
30504 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30507 PyObject
*swig_obj
[1] ;
30509 if (!args
) SWIG_fail
;
30510 swig_obj
[0] = args
;
30511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30515 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= SWIG_Py_Void();
30530 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30531 PyObject
*resultobj
= 0;
30532 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30533 wxColour
*arg2
= (wxColour
*) 0 ;
30537 PyObject
*swig_obj
[2] ;
30539 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30541 if (!SWIG_IsOK(res1
)) {
30542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30544 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30547 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30549 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30551 resultobj
= SWIG_Py_Void();
30558 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30559 PyObject
*resultobj
= 0;
30560 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30561 wxColour
*result
= 0 ;
30564 PyObject
*swig_obj
[1] ;
30566 if (!args
) SWIG_fail
;
30567 swig_obj
[0] = args
;
30568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30572 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30573 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30581 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30582 PyObject
*resultobj
= 0;
30583 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30584 wxColour
*arg2
= (wxColour
*) 0 ;
30588 PyObject
*swig_obj
[2] ;
30590 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30592 if (!SWIG_IsOK(res1
)) {
30593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30595 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30598 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30600 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30602 resultobj
= SWIG_Py_Void();
30609 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30610 PyObject
*resultobj
= 0;
30611 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30612 wxColour
*result
= 0 ;
30615 PyObject
*swig_obj
[1] ;
30617 if (!args
) SWIG_fail
;
30618 swig_obj
[0] = args
;
30619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30620 if (!SWIG_IsOK(res1
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30623 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30624 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30632 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30633 PyObject
*resultobj
= 0;
30634 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30635 wxString
*arg2
= (wxString
*) 0 ;
30638 bool temp2
= false ;
30639 PyObject
*swig_obj
[2] ;
30641 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30643 if (!SWIG_IsOK(res1
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30646 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30648 arg2
= wxString_in_helper(swig_obj
[1]);
30649 if (arg2
== NULL
) SWIG_fail
;
30652 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30654 resultobj
= SWIG_Py_Void();
30669 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30670 PyObject
*resultobj
= 0;
30671 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30672 wxString
*result
= 0 ;
30675 PyObject
*swig_obj
[1] ;
30677 if (!args
) SWIG_fail
;
30678 swig_obj
[0] = args
;
30679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30680 if (!SWIG_IsOK(res1
)) {
30681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30683 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30684 result
= (wxString
*)& ((arg1
)->m_labelText
);
30687 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30689 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30698 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 PyObject
*resultobj
= 0;
30700 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30701 wxFont
*arg2
= (wxFont
*) 0 ;
30706 PyObject
*swig_obj
[2] ;
30708 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30710 if (!SWIG_IsOK(res1
)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30713 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30714 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30715 if (!SWIG_IsOK(res2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30718 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30719 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30721 resultobj
= SWIG_Py_Void();
30728 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30729 PyObject
*resultobj
= 0;
30730 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30731 wxFont
*result
= 0 ;
30734 PyObject
*swig_obj
[1] ;
30736 if (!args
) SWIG_fail
;
30737 swig_obj
[0] = args
;
30738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30742 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30743 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30751 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30752 PyObject
*resultobj
= 0;
30753 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30754 wxColour
*arg2
= (wxColour
*) 0 ;
30758 PyObject
*swig_obj
[2] ;
30760 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30762 if (!SWIG_IsOK(res1
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30765 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30768 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30770 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30772 resultobj
= SWIG_Py_Void();
30779 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30780 PyObject
*resultobj
= 0;
30781 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30782 wxColour
*result
= 0 ;
30785 PyObject
*swig_obj
[1] ;
30787 if (!args
) SWIG_fail
;
30788 swig_obj
[0] = args
;
30789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30790 if (!SWIG_IsOK(res1
)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30793 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30794 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30802 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30803 PyObject
*resultobj
= 0;
30804 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30805 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30810 PyObject
*swig_obj
[2] ;
30812 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30814 if (!SWIG_IsOK(res1
)) {
30815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30817 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30818 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30819 if (!SWIG_IsOK(res2
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30822 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30823 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30825 resultobj
= SWIG_Py_Void();
30832 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30833 PyObject
*resultobj
= 0;
30834 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30835 wxBitmap
*result
= 0 ;
30838 PyObject
*swig_obj
[1] ;
30840 if (!args
) SWIG_fail
;
30841 swig_obj
[0] = args
;
30842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30846 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30847 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30855 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30856 PyObject
*resultobj
= 0;
30857 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30863 PyObject
*swig_obj
[2] ;
30865 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30867 if (!SWIG_IsOK(res1
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30870 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30871 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30872 if (!SWIG_IsOK(ecode2
)) {
30873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30875 arg2
= static_cast< int >(val2
);
30876 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30878 resultobj
= SWIG_Py_Void();
30885 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30886 PyObject
*resultobj
= 0;
30887 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30891 PyObject
*swig_obj
[1] ;
30893 if (!args
) SWIG_fail
;
30894 swig_obj
[0] = args
;
30895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30896 if (!SWIG_IsOK(res1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30899 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30900 result
= (int) ((arg1
)->m_labelAlignment
);
30901 resultobj
= SWIG_From_int(static_cast< int >(result
));
30908 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30911 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30912 return SWIG_Py_Void();
30915 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30916 return SWIG_Python_InitShadowInstance(args
);
30919 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30920 PyObject
*resultobj
= 0;
30923 wxRendererVersion
*result
= 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 char * kwnames
[] = {
30931 (char *) "version_",(char *) "age_", NULL
30934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30935 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30936 if (!SWIG_IsOK(ecode1
)) {
30937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30939 arg1
= static_cast< int >(val1
);
30940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30941 if (!SWIG_IsOK(ecode2
)) {
30942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30944 arg2
= static_cast< int >(val2
);
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30958 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30959 PyObject
*resultobj
= 0;
30960 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30963 PyObject
*swig_obj
[1] ;
30965 if (!args
) SWIG_fail
;
30966 swig_obj
[0] = args
;
30967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30968 if (!SWIG_IsOK(res1
)) {
30969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30971 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= SWIG_Py_Void();
30986 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30987 PyObject
*resultobj
= 0;
30988 wxRendererVersion
*arg1
= 0 ;
30992 PyObject
* obj0
= 0 ;
30993 char * kwnames
[] = {
30994 (char *) "ver", NULL
30997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30998 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30999 if (!SWIG_IsOK(res1
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
31003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
31005 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31021 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31022 PyObject
*resultobj
= 0;
31023 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31027 PyObject
*swig_obj
[1] ;
31029 if (!args
) SWIG_fail
;
31030 swig_obj
[0] = args
;
31031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31032 if (!SWIG_IsOK(res1
)) {
31033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31035 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31036 result
= (int)(int) ((arg1
)->version
);
31037 resultobj
= SWIG_From_int(static_cast< int >(result
));
31044 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31045 PyObject
*resultobj
= 0;
31046 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31050 PyObject
*swig_obj
[1] ;
31052 if (!args
) SWIG_fail
;
31053 swig_obj
[0] = args
;
31054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31055 if (!SWIG_IsOK(res1
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31058 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31059 result
= (int)(int) ((arg1
)->age
);
31060 resultobj
= SWIG_From_int(static_cast< int >(result
));
31067 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31070 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
31071 return SWIG_Py_Void();
31074 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31075 return SWIG_Python_InitShadowInstance(args
);
31078 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
= 0;
31080 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31081 wxWindow
*arg2
= (wxWindow
*) 0 ;
31084 int arg5
= (int) 0 ;
31085 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31086 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 PyObject
* obj2
= 0 ;
31103 PyObject
* obj3
= 0 ;
31104 PyObject
* obj4
= 0 ;
31105 PyObject
* obj5
= 0 ;
31106 PyObject
* obj6
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31116 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31118 if (!SWIG_IsOK(res2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31123 if (!SWIG_IsOK(res3
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31129 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31132 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31136 if (!SWIG_IsOK(ecode5
)) {
31137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
31139 arg5
= static_cast< int >(val5
);
31142 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31143 if (!SWIG_IsOK(ecode6
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31146 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31149 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31150 if (!SWIG_IsOK(res7
)) {
31151 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31153 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_Py_Void();
31168 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
= 0;
31170 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31171 wxWindow
*arg2
= (wxWindow
*) 0 ;
31174 int arg5
= (int) 0 ;
31175 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31176 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 PyObject
* obj3
= 0 ;
31194 PyObject
* obj4
= 0 ;
31195 PyObject
* obj5
= 0 ;
31196 PyObject
* obj6
= 0 ;
31197 char * kwnames
[] = {
31198 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31206 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31208 if (!SWIG_IsOK(res2
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
31211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31212 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31213 if (!SWIG_IsOK(res3
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31219 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31222 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31225 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31226 if (!SWIG_IsOK(ecode5
)) {
31227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
31229 arg5
= static_cast< int >(val5
);
31232 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31233 if (!SWIG_IsOK(ecode6
)) {
31234 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31236 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31239 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31240 if (!SWIG_IsOK(res7
)) {
31241 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31243 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= SWIG_Py_Void();
31258 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31259 PyObject
*resultobj
= 0;
31260 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31261 wxWindow
*arg2
= (wxWindow
*) 0 ;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 char * kwnames
[] = {
31270 (char *) "self",(char *) "win", NULL
31273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31275 if (!SWIG_IsOK(res1
)) {
31276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31278 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31280 if (!SWIG_IsOK(res2
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31283 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= SWIG_From_int(static_cast< int >(result
));
31297 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
= 0;
31299 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31300 wxWindow
*arg2
= (wxWindow
*) 0 ;
31303 int arg5
= (int) 0 ;
31313 PyObject
* obj0
= 0 ;
31314 PyObject
* obj1
= 0 ;
31315 PyObject
* obj2
= 0 ;
31316 PyObject
* obj3
= 0 ;
31317 PyObject
* obj4
= 0 ;
31318 char * kwnames
[] = {
31319 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31324 if (!SWIG_IsOK(res1
)) {
31325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31327 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31329 if (!SWIG_IsOK(res2
)) {
31330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31333 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31334 if (!SWIG_IsOK(res3
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31340 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31343 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31347 if (!SWIG_IsOK(ecode5
)) {
31348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31350 arg5
= static_cast< int >(val5
);
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= SWIG_Py_Void();
31365 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
= 0;
31367 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31368 wxWindow
*arg2
= (wxWindow
*) 0 ;
31371 int arg5
= (int) 0 ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 PyObject
* obj2
= 0 ;
31384 PyObject
* obj3
= 0 ;
31385 PyObject
* obj4
= 0 ;
31386 char * kwnames
[] = {
31387 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31392 if (!SWIG_IsOK(res1
)) {
31393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31395 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31396 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31397 if (!SWIG_IsOK(res2
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31400 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31402 if (!SWIG_IsOK(res3
)) {
31403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31408 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31411 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31415 if (!SWIG_IsOK(ecode5
)) {
31416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31418 arg5
= static_cast< int >(val5
);
31421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= SWIG_Py_Void();
31433 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
= 0;
31435 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31436 wxWindow
*arg2
= (wxWindow
*) 0 ;
31440 wxOrientation arg6
;
31441 int arg7
= (int) 0 ;
31455 PyObject
* obj0
= 0 ;
31456 PyObject
* obj1
= 0 ;
31457 PyObject
* obj2
= 0 ;
31458 PyObject
* obj3
= 0 ;
31459 PyObject
* obj4
= 0 ;
31460 PyObject
* obj5
= 0 ;
31461 PyObject
* obj6
= 0 ;
31462 char * kwnames
[] = {
31463 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31468 if (!SWIG_IsOK(res1
)) {
31469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31471 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31472 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31473 if (!SWIG_IsOK(res2
)) {
31474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31476 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31477 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31478 if (!SWIG_IsOK(res3
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31484 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31490 if (!SWIG_IsOK(ecode5
)) {
31491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31493 arg5
= static_cast< int >(val5
);
31494 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31495 if (!SWIG_IsOK(ecode6
)) {
31496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31498 arg6
= static_cast< wxOrientation
>(val6
);
31500 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31501 if (!SWIG_IsOK(ecode7
)) {
31502 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31504 arg7
= static_cast< int >(val7
);
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31512 resultobj
= SWIG_Py_Void();
31519 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31520 PyObject
*resultobj
= 0;
31521 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31522 wxWindow
*arg2
= (wxWindow
*) 0 ;
31525 int arg5
= (int) 0 ;
31535 PyObject
* obj0
= 0 ;
31536 PyObject
* obj1
= 0 ;
31537 PyObject
* obj2
= 0 ;
31538 PyObject
* obj3
= 0 ;
31539 PyObject
* obj4
= 0 ;
31540 char * kwnames
[] = {
31541 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31549 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31551 if (!SWIG_IsOK(res2
)) {
31552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31555 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31556 if (!SWIG_IsOK(res3
)) {
31557 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31562 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31565 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31569 if (!SWIG_IsOK(ecode5
)) {
31570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31572 arg5
= static_cast< int >(val5
);
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_Py_Void();
31587 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
= 0;
31589 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31590 wxWindow
*arg2
= (wxWindow
*) 0 ;
31593 int arg5
= (int) 0 ;
31603 PyObject
* obj0
= 0 ;
31604 PyObject
* obj1
= 0 ;
31605 PyObject
* obj2
= 0 ;
31606 PyObject
* obj3
= 0 ;
31607 PyObject
* obj4
= 0 ;
31608 char * kwnames
[] = {
31609 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31614 if (!SWIG_IsOK(res1
)) {
31615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31617 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31619 if (!SWIG_IsOK(res2
)) {
31620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31623 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31624 if (!SWIG_IsOK(res3
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31630 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31633 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31636 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31637 if (!SWIG_IsOK(ecode5
)) {
31638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31640 arg5
= static_cast< int >(val5
);
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= SWIG_Py_Void();
31655 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
= 0;
31657 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31658 wxWindow
*arg2
= (wxWindow
*) 0 ;
31661 int arg5
= (int) 0 ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 PyObject
* obj3
= 0 ;
31675 PyObject
* obj4
= 0 ;
31676 char * kwnames
[] = {
31677 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31682 if (!SWIG_IsOK(res1
)) {
31683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31685 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31687 if (!SWIG_IsOK(res2
)) {
31688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31690 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31691 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31692 if (!SWIG_IsOK(res3
)) {
31693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31698 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31701 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31705 if (!SWIG_IsOK(ecode5
)) {
31706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31708 arg5
= static_cast< int >(val5
);
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 resultobj
= SWIG_Py_Void();
31723 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
= 0;
31725 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31726 wxWindow
*arg2
= (wxWindow
*) 0 ;
31729 int arg5
= (int) 0 ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 PyObject
* obj2
= 0 ;
31742 PyObject
* obj3
= 0 ;
31743 PyObject
* obj4
= 0 ;
31744 char * kwnames
[] = {
31745 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31750 if (!SWIG_IsOK(res1
)) {
31751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31753 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31755 if (!SWIG_IsOK(res2
)) {
31756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31758 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31759 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31760 if (!SWIG_IsOK(res3
)) {
31761 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31766 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31769 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31772 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31773 if (!SWIG_IsOK(ecode5
)) {
31774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31776 arg5
= static_cast< int >(val5
);
31779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31780 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= SWIG_Py_Void();
31791 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
= 0;
31793 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31794 wxWindow
*arg2
= (wxWindow
*) 0 ;
31797 int arg5
= (int) 0 ;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 PyObject
* obj2
= 0 ;
31810 PyObject
* obj3
= 0 ;
31811 PyObject
* obj4
= 0 ;
31812 char * kwnames
[] = {
31813 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31818 if (!SWIG_IsOK(res1
)) {
31819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31821 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31823 if (!SWIG_IsOK(res2
)) {
31824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31828 if (!SWIG_IsOK(res3
)) {
31829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31834 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31837 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31841 if (!SWIG_IsOK(ecode5
)) {
31842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31844 arg5
= static_cast< int >(val5
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= SWIG_Py_Void();
31859 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
= 0;
31861 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31862 wxWindow
*arg2
= (wxWindow
*) 0 ;
31863 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 char * kwnames
[] = {
31871 (char *) "self",(char *) "win", NULL
31874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31876 if (!SWIG_IsOK(res1
)) {
31877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31879 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31881 if (!SWIG_IsOK(res2
)) {
31882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31887 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31888 wxPyEndAllowThreads(__tstate
);
31889 if (PyErr_Occurred()) SWIG_fail
;
31891 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31898 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31899 PyObject
*resultobj
= 0;
31900 wxRendererNative
*result
= 0 ;
31902 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31904 if (!wxPyCheckForApp()) SWIG_fail
;
31905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31908 result
= (wxRendererNative
*) &_result_ref
;
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31920 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31921 PyObject
*resultobj
= 0;
31922 wxRendererNative
*result
= 0 ;
31924 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31926 if (!wxPyCheckForApp()) SWIG_fail
;
31927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31929 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31930 result
= (wxRendererNative
*) &_result_ref
;
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31942 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxRendererNative
*result
= 0 ;
31946 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31948 if (!wxPyCheckForApp()) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31952 result
= (wxRendererNative
*) &_result_ref
;
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31964 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
= 0;
31966 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31967 wxRendererNative
*result
= 0 ;
31970 PyObject
* obj0
= 0 ;
31971 char * kwnames
[] = {
31972 (char *) "renderer", NULL
31975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31977 if (!SWIG_IsOK(res1
)) {
31978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31980 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31982 if (!wxPyCheckForApp()) SWIG_fail
;
31983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31984 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31985 wxPyEndAllowThreads(__tstate
);
31986 if (PyErr_Occurred()) SWIG_fail
;
31988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31995 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31996 PyObject
*resultobj
= 0;
31997 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31998 SwigValueWrapper
<wxRendererVersion
> result
;
32001 PyObject
*swig_obj
[1] ;
32003 if (!args
) SWIG_fail
;
32004 swig_obj
[0] = args
;
32005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
32006 if (!SWIG_IsOK(res1
)) {
32007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
32009 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
32023 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32026 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
32027 return SWIG_Py_Void();
32030 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32031 PyObject
*resultobj
= 0;
32032 wxPseudoDC
*result
= 0 ;
32034 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
32036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32037 result
= (wxPseudoDC
*)new wxPseudoDC();
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
32048 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32049 PyObject
*resultobj
= 0;
32050 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32053 PyObject
*swig_obj
[1] ;
32055 if (!args
) SWIG_fail
;
32056 swig_obj
[0] = args
;
32057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32058 if (!SWIG_IsOK(res1
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32061 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32064 (arg1
)->BeginDrawing();
32065 wxPyEndAllowThreads(__tstate
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= SWIG_Py_Void();
32075 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32076 PyObject
*resultobj
= 0;
32077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32080 PyObject
*swig_obj
[1] ;
32082 if (!args
) SWIG_fail
;
32083 swig_obj
[0] = args
;
32084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32085 if (!SWIG_IsOK(res1
)) {
32086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32091 (arg1
)->EndDrawing();
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32095 resultobj
= SWIG_Py_Void();
32102 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32103 PyObject
*resultobj
= 0;
32104 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32107 PyObject
*swig_obj
[1] ;
32109 if (!args
) SWIG_fail
;
32110 swig_obj
[0] = args
;
32111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
32112 if (!SWIG_IsOK(res1
)) {
32113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32123 resultobj
= SWIG_Py_Void();
32130 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32131 PyObject
*resultobj
= 0;
32132 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32135 PyObject
*swig_obj
[1] ;
32137 if (!args
) SWIG_fail
;
32138 swig_obj
[0] = args
;
32139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32140 if (!SWIG_IsOK(res1
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32143 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 (arg1
)->RemoveAll();
32147 wxPyEndAllowThreads(__tstate
);
32148 if (PyErr_Occurred()) SWIG_fail
;
32150 resultobj
= SWIG_Py_Void();
32157 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 PyObject
*resultobj
= 0;
32159 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32163 PyObject
*swig_obj
[1] ;
32165 if (!args
) SWIG_fail
;
32166 swig_obj
[0] = args
;
32167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32168 if (!SWIG_IsOK(res1
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32171 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (int)(arg1
)->GetLen();
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_From_int(static_cast< int >(result
));
32185 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32186 PyObject
*resultobj
= 0;
32187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32193 PyObject
* obj0
= 0 ;
32194 PyObject
* obj1
= 0 ;
32195 char * kwnames
[] = {
32196 (char *) "self",(char *) "id", NULL
32199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32201 if (!SWIG_IsOK(res1
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32206 if (!SWIG_IsOK(ecode2
)) {
32207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
32209 arg2
= static_cast< int >(val2
);
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 (arg1
)->SetId(arg2
);
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= SWIG_Py_Void();
32223 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
= 0;
32225 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32231 PyObject
* obj0
= 0 ;
32232 PyObject
* obj1
= 0 ;
32233 char * kwnames
[] = {
32234 (char *) "self",(char *) "id", NULL
32237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32239 if (!SWIG_IsOK(res1
)) {
32240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32244 if (!SWIG_IsOK(ecode2
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
32247 arg2
= static_cast< int >(val2
);
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 (arg1
)->ClearId(arg2
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= SWIG_Py_Void();
32261 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
= 0;
32263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32269 PyObject
* obj0
= 0 ;
32270 PyObject
* obj1
= 0 ;
32271 char * kwnames
[] = {
32272 (char *) "self",(char *) "id", NULL
32275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32277 if (!SWIG_IsOK(res1
)) {
32278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32282 if (!SWIG_IsOK(ecode2
)) {
32283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32285 arg2
= static_cast< int >(val2
);
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 (arg1
)->RemoveId(arg2
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= SWIG_Py_Void();
32299 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
= 0;
32301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 PyObject
* obj2
= 0 ;
32316 PyObject
* obj3
= 0 ;
32317 char * kwnames
[] = {
32318 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32326 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32328 if (!SWIG_IsOK(ecode2
)) {
32329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32331 arg2
= static_cast< int >(val2
);
32332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32333 if (!SWIG_IsOK(ecode3
)) {
32334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32336 arg3
= static_cast< int >(val3
);
32337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32338 if (!SWIG_IsOK(ecode4
)) {
32339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32341 arg4
= static_cast< int >(val4
);
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= SWIG_Py_Void();
32355 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
= 0;
32357 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32359 bool arg3
= (bool) true ;
32366 PyObject
* obj0
= 0 ;
32367 PyObject
* obj1
= 0 ;
32368 PyObject
* obj2
= 0 ;
32369 char * kwnames
[] = {
32370 (char *) "self",(char *) "id",(char *) "greyout", NULL
32373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32375 if (!SWIG_IsOK(res1
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32378 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32380 if (!SWIG_IsOK(ecode2
)) {
32381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32383 arg2
= static_cast< int >(val2
);
32385 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32386 if (!SWIG_IsOK(ecode3
)) {
32387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32389 arg3
= static_cast< bool >(val3
);
32392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32393 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32397 resultobj
= SWIG_Py_Void();
32404 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32405 PyObject
*resultobj
= 0;
32406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 char * kwnames
[] = {
32416 (char *) "self",(char *) "id", NULL
32419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32421 if (!SWIG_IsOK(res1
)) {
32422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32426 if (!SWIG_IsOK(ecode2
)) {
32427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32429 arg2
= static_cast< int >(val2
);
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32445 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
= 0;
32447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32450 int arg4
= (int) 1 ;
32451 wxColor
const &arg5_defvalue
= *wxWHITE
;
32452 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32453 PyObject
*result
= 0 ;
32464 PyObject
* obj0
= 0 ;
32465 PyObject
* obj1
= 0 ;
32466 PyObject
* obj2
= 0 ;
32467 PyObject
* obj3
= 0 ;
32468 PyObject
* obj4
= 0 ;
32469 char * kwnames
[] = {
32470 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32475 if (!SWIG_IsOK(res1
)) {
32476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32480 if (!SWIG_IsOK(ecode2
)) {
32481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32483 arg2
= static_cast< int >(val2
);
32484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32485 if (!SWIG_IsOK(ecode3
)) {
32486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32488 arg3
= static_cast< int >(val3
);
32490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32491 if (!SWIG_IsOK(ecode4
)) {
32492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32494 arg4
= static_cast< int >(val4
);
32497 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32498 if (!SWIG_IsOK(res5
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32504 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32507 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32510 resultobj
= result
;
32517 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32518 PyObject
*resultobj
= 0;
32519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32522 PyObject
*result
= 0 ;
32529 PyObject
* obj0
= 0 ;
32530 PyObject
* obj1
= 0 ;
32531 PyObject
* obj2
= 0 ;
32532 char * kwnames
[] = {
32533 (char *) "self",(char *) "x",(char *) "y", NULL
32536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32538 if (!SWIG_IsOK(res1
)) {
32539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32541 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32543 if (!SWIG_IsOK(ecode2
)) {
32544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32546 arg2
= static_cast< int >(val2
);
32547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32548 if (!SWIG_IsOK(ecode3
)) {
32549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32551 arg3
= static_cast< int >(val3
);
32553 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= result
;
32563 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
= 0;
32565 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32567 wxDC
*arg3
= (wxDC
*) 0 ;
32574 PyObject
* obj0
= 0 ;
32575 PyObject
* obj1
= 0 ;
32576 PyObject
* obj2
= 0 ;
32577 char * kwnames
[] = {
32578 (char *) "self",(char *) "id",(char *) "dc", NULL
32581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32583 if (!SWIG_IsOK(res1
)) {
32584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32588 if (!SWIG_IsOK(ecode2
)) {
32589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32591 arg2
= static_cast< int >(val2
);
32592 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32593 if (!SWIG_IsOK(res3
)) {
32594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32596 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32599 (arg1
)->DrawIdToDC(arg2
,arg3
);
32600 wxPyEndAllowThreads(__tstate
);
32601 if (PyErr_Occurred()) SWIG_fail
;
32603 resultobj
= SWIG_Py_Void();
32610 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32611 PyObject
*resultobj
= 0;
32612 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32620 PyObject
* obj0
= 0 ;
32621 PyObject
* obj1
= 0 ;
32622 PyObject
* obj2
= 0 ;
32623 char * kwnames
[] = {
32624 (char *) "self",(char *) "id",(char *) "rect", NULL
32627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32629 if (!SWIG_IsOK(res1
)) {
32630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32634 if (!SWIG_IsOK(ecode2
)) {
32635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32637 arg2
= static_cast< int >(val2
);
32640 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 (arg1
)->SetIdBounds(arg2
,*arg3
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_Py_Void();
32655 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
= 0;
32657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32664 PyObject
* obj0
= 0 ;
32665 PyObject
* obj1
= 0 ;
32666 char * kwnames
[] = {
32667 (char *) "self",(char *) "id", NULL
32670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32672 if (!SWIG_IsOK(res1
)) {
32673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32677 if (!SWIG_IsOK(ecode2
)) {
32678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32680 arg2
= static_cast< int >(val2
);
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32694 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
= 0;
32696 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32697 wxDC
*arg2
= (wxDC
*) 0 ;
32704 PyObject
* obj0
= 0 ;
32705 PyObject
* obj1
= 0 ;
32706 PyObject
* obj2
= 0 ;
32707 char * kwnames
[] = {
32708 (char *) "self",(char *) "dc",(char *) "rect", NULL
32711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32713 if (!SWIG_IsOK(res1
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32716 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32717 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32718 if (!SWIG_IsOK(res2
)) {
32719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32721 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32724 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32728 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 resultobj
= SWIG_Py_Void();
32739 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
= 0;
32741 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32742 wxDC
*arg2
= (wxDC
*) 0 ;
32743 wxRegion
*arg3
= 0 ;
32750 PyObject
* obj0
= 0 ;
32751 PyObject
* obj1
= 0 ;
32752 PyObject
* obj2
= 0 ;
32753 char * kwnames
[] = {
32754 (char *) "self",(char *) "dc",(char *) "region", NULL
32757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32759 if (!SWIG_IsOK(res1
)) {
32760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32762 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32764 if (!SWIG_IsOK(res2
)) {
32765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32767 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32768 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32769 if (!SWIG_IsOK(res3
)) {
32770 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32775 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= SWIG_Py_Void();
32789 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32790 PyObject
*resultobj
= 0;
32791 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32792 wxDC
*arg2
= (wxDC
*) 0 ;
32797 PyObject
* obj0
= 0 ;
32798 PyObject
* obj1
= 0 ;
32799 char * kwnames
[] = {
32800 (char *) "self",(char *) "dc", NULL
32803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32808 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32810 if (!SWIG_IsOK(res2
)) {
32811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32813 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 (arg1
)->DrawToDC(arg2
);
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32820 resultobj
= SWIG_Py_Void();
32827 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32828 PyObject
*resultobj
= 0;
32829 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32832 wxColour
*arg4
= 0 ;
32833 int arg5
= (int) wxFLOOD_SURFACE
;
32843 PyObject
* obj0
= 0 ;
32844 PyObject
* obj1
= 0 ;
32845 PyObject
* obj2
= 0 ;
32846 PyObject
* obj3
= 0 ;
32847 PyObject
* obj4
= 0 ;
32848 char * kwnames
[] = {
32849 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32854 if (!SWIG_IsOK(res1
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32857 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32859 if (!SWIG_IsOK(ecode2
)) {
32860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32862 arg2
= static_cast< int >(val2
);
32863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32864 if (!SWIG_IsOK(ecode3
)) {
32865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32867 arg3
= static_cast< int >(val3
);
32870 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32874 if (!SWIG_IsOK(ecode5
)) {
32875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32877 arg5
= static_cast< int >(val5
);
32880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32881 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= SWIG_Py_Void();
32892 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
= 0;
32894 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32895 wxPoint
*arg2
= 0 ;
32896 wxColour
*arg3
= 0 ;
32897 int arg4
= (int) wxFLOOD_SURFACE
;
32904 PyObject
* obj0
= 0 ;
32905 PyObject
* obj1
= 0 ;
32906 PyObject
* obj2
= 0 ;
32907 PyObject
* obj3
= 0 ;
32908 char * kwnames
[] = {
32909 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32914 if (!SWIG_IsOK(res1
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32920 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32924 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32928 if (!SWIG_IsOK(ecode4
)) {
32929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32931 arg4
= static_cast< int >(val4
);
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32936 wxPyEndAllowThreads(__tstate
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32939 resultobj
= SWIG_Py_Void();
32946 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32947 PyObject
*resultobj
= 0;
32948 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32963 PyObject
* obj0
= 0 ;
32964 PyObject
* obj1
= 0 ;
32965 PyObject
* obj2
= 0 ;
32966 PyObject
* obj3
= 0 ;
32967 PyObject
* obj4
= 0 ;
32968 char * kwnames
[] = {
32969 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32974 if (!SWIG_IsOK(res1
)) {
32975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32979 if (!SWIG_IsOK(ecode2
)) {
32980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32982 arg2
= static_cast< int >(val2
);
32983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32984 if (!SWIG_IsOK(ecode3
)) {
32985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32987 arg3
= static_cast< int >(val3
);
32988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32989 if (!SWIG_IsOK(ecode4
)) {
32990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32992 arg4
= static_cast< int >(val4
);
32993 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32994 if (!SWIG_IsOK(ecode5
)) {
32995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32997 arg5
= static_cast< int >(val5
);
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
33001 wxPyEndAllowThreads(__tstate
);
33002 if (PyErr_Occurred()) SWIG_fail
;
33004 resultobj
= SWIG_Py_Void();
33011 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
= 0;
33013 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33014 wxPoint
*arg2
= 0 ;
33015 wxPoint
*arg3
= 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 PyObject
* obj2
= 0 ;
33023 char * kwnames
[] = {
33024 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
33027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_Py_Void();
33054 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
= 0;
33056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33065 PyObject
* obj0
= 0 ;
33066 PyObject
* obj1
= 0 ;
33067 PyObject
* obj2
= 0 ;
33068 char * kwnames
[] = {
33069 (char *) "self",(char *) "x",(char *) "y", NULL
33072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33074 if (!SWIG_IsOK(res1
)) {
33075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33077 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33079 if (!SWIG_IsOK(ecode2
)) {
33080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
33082 arg2
= static_cast< int >(val2
);
33083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33084 if (!SWIG_IsOK(ecode3
)) {
33085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
33087 arg3
= static_cast< int >(val3
);
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 (arg1
)->CrossHair(arg2
,arg3
);
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33094 resultobj
= SWIG_Py_Void();
33101 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33102 PyObject
*resultobj
= 0;
33103 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33104 wxPoint
*arg2
= 0 ;
33108 PyObject
* obj0
= 0 ;
33109 PyObject
* obj1
= 0 ;
33110 char * kwnames
[] = {
33111 (char *) "self",(char *) "pt", NULL
33114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33116 if (!SWIG_IsOK(res1
)) {
33117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
33127 wxPyEndAllowThreads(__tstate
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33130 resultobj
= SWIG_Py_Void();
33137 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33138 PyObject
*resultobj
= 0;
33139 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33160 PyObject
* obj0
= 0 ;
33161 PyObject
* obj1
= 0 ;
33162 PyObject
* obj2
= 0 ;
33163 PyObject
* obj3
= 0 ;
33164 PyObject
* obj4
= 0 ;
33165 PyObject
* obj5
= 0 ;
33166 PyObject
* obj6
= 0 ;
33167 char * kwnames
[] = {
33168 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
33171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33178 if (!SWIG_IsOK(ecode2
)) {
33179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
33181 arg2
= static_cast< int >(val2
);
33182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33183 if (!SWIG_IsOK(ecode3
)) {
33184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
33186 arg3
= static_cast< int >(val3
);
33187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33188 if (!SWIG_IsOK(ecode4
)) {
33189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
33191 arg4
= static_cast< int >(val4
);
33192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33193 if (!SWIG_IsOK(ecode5
)) {
33194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
33196 arg5
= static_cast< int >(val5
);
33197 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33198 if (!SWIG_IsOK(ecode6
)) {
33199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
33201 arg6
= static_cast< int >(val6
);
33202 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
33203 if (!SWIG_IsOK(ecode7
)) {
33204 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
33206 arg7
= static_cast< int >(val7
);
33208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33209 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33210 wxPyEndAllowThreads(__tstate
);
33211 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= SWIG_Py_Void();
33220 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33221 PyObject
*resultobj
= 0;
33222 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33223 wxPoint
*arg2
= 0 ;
33224 wxPoint
*arg3
= 0 ;
33225 wxPoint
*arg4
= 0 ;
33231 PyObject
* obj0
= 0 ;
33232 PyObject
* obj1
= 0 ;
33233 PyObject
* obj2
= 0 ;
33234 PyObject
* obj3
= 0 ;
33235 char * kwnames
[] = {
33236 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
33239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33241 if (!SWIG_IsOK(res1
)) {
33242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33244 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33247 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33263 resultobj
= SWIG_Py_Void();
33270 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33271 PyObject
*resultobj
= 0;
33272 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33287 PyObject
* obj0
= 0 ;
33288 PyObject
* obj1
= 0 ;
33289 PyObject
* obj2
= 0 ;
33290 PyObject
* obj3
= 0 ;
33291 PyObject
* obj4
= 0 ;
33292 char * kwnames
[] = {
33293 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33298 if (!SWIG_IsOK(res1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33303 if (!SWIG_IsOK(ecode2
)) {
33304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33306 arg2
= static_cast< int >(val2
);
33307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33308 if (!SWIG_IsOK(ecode3
)) {
33309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33311 arg3
= static_cast< int >(val3
);
33312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33313 if (!SWIG_IsOK(ecode4
)) {
33314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33316 arg4
= static_cast< int >(val4
);
33317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33318 if (!SWIG_IsOK(ecode5
)) {
33319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33321 arg5
= static_cast< int >(val5
);
33323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33324 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33325 wxPyEndAllowThreads(__tstate
);
33326 if (PyErr_Occurred()) SWIG_fail
;
33328 resultobj
= SWIG_Py_Void();
33335 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33336 PyObject
*resultobj
= 0;
33337 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 char * kwnames
[] = {
33345 (char *) "self",(char *) "rect", NULL
33348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33350 if (!SWIG_IsOK(res1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33356 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= SWIG_Py_Void();
33371 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33372 PyObject
*resultobj
= 0;
33373 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33394 PyObject
* obj0
= 0 ;
33395 PyObject
* obj1
= 0 ;
33396 PyObject
* obj2
= 0 ;
33397 PyObject
* obj3
= 0 ;
33398 PyObject
* obj4
= 0 ;
33399 PyObject
* obj5
= 0 ;
33400 PyObject
* obj6
= 0 ;
33401 char * kwnames
[] = {
33402 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33407 if (!SWIG_IsOK(res1
)) {
33408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33412 if (!SWIG_IsOK(ecode2
)) {
33413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33415 arg2
= static_cast< int >(val2
);
33416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33417 if (!SWIG_IsOK(ecode3
)) {
33418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33420 arg3
= static_cast< int >(val3
);
33421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33422 if (!SWIG_IsOK(ecode4
)) {
33423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33425 arg4
= static_cast< int >(val4
);
33426 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33427 if (!SWIG_IsOK(ecode5
)) {
33428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33430 arg5
= static_cast< int >(val5
);
33431 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33432 if (!SWIG_IsOK(ecode6
)) {
33433 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33435 arg6
= static_cast< double >(val6
);
33436 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33437 if (!SWIG_IsOK(ecode7
)) {
33438 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33440 arg7
= static_cast< double >(val7
);
33442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= SWIG_Py_Void();
33454 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33455 PyObject
*resultobj
= 0;
33456 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33457 wxPoint
*arg2
= 0 ;
33469 PyObject
* obj0
= 0 ;
33470 PyObject
* obj1
= 0 ;
33471 PyObject
* obj2
= 0 ;
33472 PyObject
* obj3
= 0 ;
33473 PyObject
* obj4
= 0 ;
33474 char * kwnames
[] = {
33475 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33480 if (!SWIG_IsOK(res1
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33490 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33492 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33493 if (!SWIG_IsOK(ecode4
)) {
33494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33496 arg4
= static_cast< double >(val4
);
33497 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33498 if (!SWIG_IsOK(ecode5
)) {
33499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33501 arg5
= static_cast< double >(val5
);
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= SWIG_Py_Void();
33515 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
= 0;
33517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 PyObject
* obj2
= 0 ;
33529 char * kwnames
[] = {
33530 (char *) "self",(char *) "x",(char *) "y", NULL
33533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33538 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33540 if (!SWIG_IsOK(ecode2
)) {
33541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33543 arg2
= static_cast< int >(val2
);
33544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33545 if (!SWIG_IsOK(ecode3
)) {
33546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33548 arg3
= static_cast< int >(val3
);
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 (arg1
)->DrawPoint(arg2
,arg3
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_Py_Void();
33562 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
= 0;
33564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33565 wxPoint
*arg2
= 0 ;
33569 PyObject
* obj0
= 0 ;
33570 PyObject
* obj1
= 0 ;
33571 char * kwnames
[] = {
33572 (char *) "self",(char *) "pt", NULL
33575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33577 if (!SWIG_IsOK(res1
)) {
33578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_Py_Void();
33598 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33599 PyObject
*resultobj
= 0;
33600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33615 PyObject
* obj0
= 0 ;
33616 PyObject
* obj1
= 0 ;
33617 PyObject
* obj2
= 0 ;
33618 PyObject
* obj3
= 0 ;
33619 PyObject
* obj4
= 0 ;
33620 char * kwnames
[] = {
33621 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33631 if (!SWIG_IsOK(ecode2
)) {
33632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33634 arg2
= static_cast< int >(val2
);
33635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33636 if (!SWIG_IsOK(ecode3
)) {
33637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33639 arg3
= static_cast< int >(val3
);
33640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33641 if (!SWIG_IsOK(ecode4
)) {
33642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33644 arg4
= static_cast< int >(val4
);
33645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33646 if (!SWIG_IsOK(ecode5
)) {
33647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33649 arg5
= static_cast< int >(val5
);
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= SWIG_Py_Void();
33663 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33664 PyObject
*resultobj
= 0;
33665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33670 PyObject
* obj0
= 0 ;
33671 PyObject
* obj1
= 0 ;
33672 char * kwnames
[] = {
33673 (char *) "self",(char *) "rect", NULL
33676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33681 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33684 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33688 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_Py_Void();
33699 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
= 0;
33701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33702 wxPoint
*arg2
= 0 ;
33708 PyObject
* obj0
= 0 ;
33709 PyObject
* obj1
= 0 ;
33710 PyObject
* obj2
= 0 ;
33711 char * kwnames
[] = {
33712 (char *) "self",(char *) "pt",(char *) "sz", NULL
33715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33720 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33727 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= SWIG_Py_Void();
33742 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33743 PyObject
*resultobj
= 0;
33744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33762 PyObject
* obj0
= 0 ;
33763 PyObject
* obj1
= 0 ;
33764 PyObject
* obj2
= 0 ;
33765 PyObject
* obj3
= 0 ;
33766 PyObject
* obj4
= 0 ;
33767 PyObject
* obj5
= 0 ;
33768 char * kwnames
[] = {
33769 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33774 if (!SWIG_IsOK(res1
)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33779 if (!SWIG_IsOK(ecode2
)) {
33780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33782 arg2
= static_cast< int >(val2
);
33783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33784 if (!SWIG_IsOK(ecode3
)) {
33785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33787 arg3
= static_cast< int >(val3
);
33788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33789 if (!SWIG_IsOK(ecode4
)) {
33790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33792 arg4
= static_cast< int >(val4
);
33793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33794 if (!SWIG_IsOK(ecode5
)) {
33795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33797 arg5
= static_cast< int >(val5
);
33798 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33799 if (!SWIG_IsOK(ecode6
)) {
33800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33802 arg6
= static_cast< double >(val6
);
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33806 wxPyEndAllowThreads(__tstate
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33809 resultobj
= SWIG_Py_Void();
33816 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
= 0;
33818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33826 PyObject
* obj0
= 0 ;
33827 PyObject
* obj1
= 0 ;
33828 PyObject
* obj2
= 0 ;
33829 char * kwnames
[] = {
33830 (char *) "self",(char *) "r",(char *) "radius", NULL
33833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33835 if (!SWIG_IsOK(res1
)) {
33836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33841 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33843 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33844 if (!SWIG_IsOK(ecode3
)) {
33845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33847 arg3
= static_cast< double >(val3
);
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_Py_Void();
33861 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
= 0;
33863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33864 wxPoint
*arg2
= 0 ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 PyObject
* obj2
= 0 ;
33876 PyObject
* obj3
= 0 ;
33877 char * kwnames
[] = {
33878 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33883 if (!SWIG_IsOK(res1
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33889 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33893 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33895 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33896 if (!SWIG_IsOK(ecode4
)) {
33897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33899 arg4
= static_cast< double >(val4
);
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 resultobj
= SWIG_Py_Void();
33913 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
= 0;
33915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33927 PyObject
* obj0
= 0 ;
33928 PyObject
* obj1
= 0 ;
33929 PyObject
* obj2
= 0 ;
33930 PyObject
* obj3
= 0 ;
33931 char * kwnames
[] = {
33932 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33937 if (!SWIG_IsOK(res1
)) {
33938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33942 if (!SWIG_IsOK(ecode2
)) {
33943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33945 arg2
= static_cast< int >(val2
);
33946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33947 if (!SWIG_IsOK(ecode3
)) {
33948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33950 arg3
= static_cast< int >(val3
);
33951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33952 if (!SWIG_IsOK(ecode4
)) {
33953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33955 arg4
= static_cast< int >(val4
);
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33959 wxPyEndAllowThreads(__tstate
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33962 resultobj
= SWIG_Py_Void();
33969 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33970 PyObject
*resultobj
= 0;
33971 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33972 wxPoint
*arg2
= 0 ;
33979 PyObject
* obj0
= 0 ;
33980 PyObject
* obj1
= 0 ;
33981 PyObject
* obj2
= 0 ;
33982 char * kwnames
[] = {
33983 (char *) "self",(char *) "pt",(char *) "radius", NULL
33986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33988 if (!SWIG_IsOK(res1
)) {
33989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33997 if (!SWIG_IsOK(ecode3
)) {
33998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
34000 arg3
= static_cast< int >(val3
);
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34007 resultobj
= SWIG_Py_Void();
34014 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34015 PyObject
*resultobj
= 0;
34016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34031 PyObject
* obj0
= 0 ;
34032 PyObject
* obj1
= 0 ;
34033 PyObject
* obj2
= 0 ;
34034 PyObject
* obj3
= 0 ;
34035 PyObject
* obj4
= 0 ;
34036 char * kwnames
[] = {
34037 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34042 if (!SWIG_IsOK(res1
)) {
34043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34047 if (!SWIG_IsOK(ecode2
)) {
34048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
34050 arg2
= static_cast< int >(val2
);
34051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34052 if (!SWIG_IsOK(ecode3
)) {
34053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
34055 arg3
= static_cast< int >(val3
);
34056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34057 if (!SWIG_IsOK(ecode4
)) {
34058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
34060 arg4
= static_cast< int >(val4
);
34061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34062 if (!SWIG_IsOK(ecode5
)) {
34063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
34065 arg5
= static_cast< int >(val5
);
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34072 resultobj
= SWIG_Py_Void();
34079 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34080 PyObject
*resultobj
= 0;
34081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34086 PyObject
* obj0
= 0 ;
34087 PyObject
* obj1
= 0 ;
34088 char * kwnames
[] = {
34089 (char *) "self",(char *) "rect", NULL
34092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34094 if (!SWIG_IsOK(res1
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34097 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34100 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= SWIG_Py_Void();
34115 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
= 0;
34117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34118 wxPoint
*arg2
= 0 ;
34124 PyObject
* obj0
= 0 ;
34125 PyObject
* obj1
= 0 ;
34126 PyObject
* obj2
= 0 ;
34127 char * kwnames
[] = {
34128 (char *) "self",(char *) "pt",(char *) "sz", NULL
34131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34143 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_Py_Void();
34158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34172 PyObject
* obj0
= 0 ;
34173 PyObject
* obj1
= 0 ;
34174 PyObject
* obj2
= 0 ;
34175 PyObject
* obj3
= 0 ;
34176 char * kwnames
[] = {
34177 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
34180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34182 if (!SWIG_IsOK(res1
)) {
34183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34187 if (!SWIG_IsOK(res2
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34193 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34195 if (!SWIG_IsOK(ecode3
)) {
34196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
34198 arg3
= static_cast< int >(val3
);
34199 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34200 if (!SWIG_IsOK(ecode4
)) {
34201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
34203 arg4
= static_cast< int >(val4
);
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
34207 wxPyEndAllowThreads(__tstate
);
34208 if (PyErr_Occurred()) SWIG_fail
;
34210 resultobj
= SWIG_Py_Void();
34217 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34218 PyObject
*resultobj
= 0;
34219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34221 wxPoint
*arg3
= 0 ;
34227 PyObject
* obj0
= 0 ;
34228 PyObject
* obj1
= 0 ;
34229 PyObject
* obj2
= 0 ;
34230 char * kwnames
[] = {
34231 (char *) "self",(char *) "icon",(char *) "pt", NULL
34234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34236 if (!SWIG_IsOK(res1
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34241 if (!SWIG_IsOK(res2
)) {
34242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34247 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
34255 wxPyEndAllowThreads(__tstate
);
34256 if (PyErr_Occurred()) SWIG_fail
;
34258 resultobj
= SWIG_Py_Void();
34265 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34266 PyObject
*resultobj
= 0;
34267 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34268 wxBitmap
*arg2
= 0 ;
34271 bool arg5
= (bool) false ;
34282 PyObject
* obj0
= 0 ;
34283 PyObject
* obj1
= 0 ;
34284 PyObject
* obj2
= 0 ;
34285 PyObject
* obj3
= 0 ;
34286 PyObject
* obj4
= 0 ;
34287 char * kwnames
[] = {
34288 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34298 if (!SWIG_IsOK(res2
)) {
34299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34306 if (!SWIG_IsOK(ecode3
)) {
34307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34309 arg3
= static_cast< int >(val3
);
34310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34311 if (!SWIG_IsOK(ecode4
)) {
34312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34314 arg4
= static_cast< int >(val4
);
34316 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34317 if (!SWIG_IsOK(ecode5
)) {
34318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34320 arg5
= static_cast< bool >(val5
);
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34325 wxPyEndAllowThreads(__tstate
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34328 resultobj
= SWIG_Py_Void();
34335 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34336 PyObject
*resultobj
= 0;
34337 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34338 wxBitmap
*arg2
= 0 ;
34339 wxPoint
*arg3
= 0 ;
34340 bool arg4
= (bool) false ;
34348 PyObject
* obj0
= 0 ;
34349 PyObject
* obj1
= 0 ;
34350 PyObject
* obj2
= 0 ;
34351 PyObject
* obj3
= 0 ;
34352 char * kwnames
[] = {
34353 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34358 if (!SWIG_IsOK(res1
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34363 if (!SWIG_IsOK(res2
)) {
34364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34369 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34375 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34376 if (!SWIG_IsOK(ecode4
)) {
34377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34379 arg4
= static_cast< bool >(val4
);
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_Py_Void();
34394 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34397 wxString
*arg2
= 0 ;
34402 bool temp2
= false ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 PyObject
* obj2
= 0 ;
34410 PyObject
* obj3
= 0 ;
34411 char * kwnames
[] = {
34412 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34417 if (!SWIG_IsOK(res1
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34422 arg2
= wxString_in_helper(obj1
);
34423 if (arg2
== NULL
) SWIG_fail
;
34426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34427 if (!SWIG_IsOK(ecode3
)) {
34428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34430 arg3
= static_cast< int >(val3
);
34431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34432 if (!SWIG_IsOK(ecode4
)) {
34433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34435 arg4
= static_cast< int >(val4
);
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34439 wxPyEndAllowThreads(__tstate
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34442 resultobj
= SWIG_Py_Void();
34457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34458 PyObject
*resultobj
= 0;
34459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34460 wxString
*arg2
= 0 ;
34461 wxPoint
*arg3
= 0 ;
34464 bool temp2
= false ;
34466 PyObject
* obj0
= 0 ;
34467 PyObject
* obj1
= 0 ;
34468 PyObject
* obj2
= 0 ;
34469 char * kwnames
[] = {
34470 (char *) "self",(char *) "text",(char *) "pt", NULL
34473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34475 if (!SWIG_IsOK(res1
)) {
34476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34480 arg2
= wxString_in_helper(obj1
);
34481 if (arg2
== NULL
) SWIG_fail
;
34486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 resultobj
= SWIG_Py_Void();
34509 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
= 0;
34511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34512 wxString
*arg2
= 0 ;
34518 bool temp2
= false ;
34525 PyObject
* obj0
= 0 ;
34526 PyObject
* obj1
= 0 ;
34527 PyObject
* obj2
= 0 ;
34528 PyObject
* obj3
= 0 ;
34529 PyObject
* obj4
= 0 ;
34530 char * kwnames
[] = {
34531 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34541 arg2
= wxString_in_helper(obj1
);
34542 if (arg2
== NULL
) SWIG_fail
;
34545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34546 if (!SWIG_IsOK(ecode3
)) {
34547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34549 arg3
= static_cast< int >(val3
);
34550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34551 if (!SWIG_IsOK(ecode4
)) {
34552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34554 arg4
= static_cast< int >(val4
);
34555 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34556 if (!SWIG_IsOK(ecode5
)) {
34557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34559 arg5
= static_cast< double >(val5
);
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_Py_Void();
34581 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
= 0;
34583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34584 wxString
*arg2
= 0 ;
34585 wxPoint
*arg3
= 0 ;
34589 bool temp2
= false ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 PyObject
* obj2
= 0 ;
34596 PyObject
* obj3
= 0 ;
34597 char * kwnames
[] = {
34598 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34603 if (!SWIG_IsOK(res1
)) {
34604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34606 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34608 arg2
= wxString_in_helper(obj1
);
34609 if (arg2
== NULL
) SWIG_fail
;
34614 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34616 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34617 if (!SWIG_IsOK(ecode4
)) {
34618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34620 arg4
= static_cast< double >(val4
);
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= SWIG_Py_Void();
34642 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
= 0;
34644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34646 wxPoint
*arg3
= (wxPoint
*) 0 ;
34647 int arg4
= (int) 0 ;
34648 int arg5
= (int) 0 ;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 PyObject
* obj2
= 0 ;
34658 PyObject
* obj3
= 0 ;
34659 char * kwnames
[] = {
34660 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34665 if (!SWIG_IsOK(res1
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34668 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34670 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34671 if (arg3
== NULL
) SWIG_fail
;
34674 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34675 if (!SWIG_IsOK(ecode4
)) {
34676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34678 arg4
= static_cast< int >(val4
);
34681 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34682 if (!SWIG_IsOK(ecode5
)) {
34683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34685 arg5
= static_cast< int >(val5
);
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34689 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 resultobj
= SWIG_Py_Void();
34695 if (arg3
) delete [] arg3
;
34700 if (arg3
) delete [] arg3
;
34706 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
= 0;
34708 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34710 wxPoint
*arg3
= (wxPoint
*) 0 ;
34711 int arg4
= (int) 0 ;
34712 int arg5
= (int) 0 ;
34713 int arg6
= (int) wxODDEVEN_RULE
;
34722 PyObject
* obj0
= 0 ;
34723 PyObject
* obj1
= 0 ;
34724 PyObject
* obj2
= 0 ;
34725 PyObject
* obj3
= 0 ;
34726 PyObject
* obj4
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34736 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34738 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34739 if (arg3
== NULL
) SWIG_fail
;
34742 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34743 if (!SWIG_IsOK(ecode4
)) {
34744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34746 arg4
= static_cast< int >(val4
);
34749 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34750 if (!SWIG_IsOK(ecode5
)) {
34751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34753 arg5
= static_cast< int >(val5
);
34756 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34757 if (!SWIG_IsOK(ecode6
)) {
34758 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34760 arg6
= static_cast< int >(val6
);
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= SWIG_Py_Void();
34770 if (arg3
) delete [] arg3
;
34775 if (arg3
) delete [] arg3
;
34781 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
= 0;
34783 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34784 wxString
*arg2
= 0 ;
34786 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34787 int arg5
= (int) -1 ;
34790 bool temp2
= false ;
34796 PyObject
* obj0
= 0 ;
34797 PyObject
* obj1
= 0 ;
34798 PyObject
* obj2
= 0 ;
34799 PyObject
* obj3
= 0 ;
34800 PyObject
* obj4
= 0 ;
34801 char * kwnames
[] = {
34802 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34807 if (!SWIG_IsOK(res1
)) {
34808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34812 arg2
= wxString_in_helper(obj1
);
34813 if (arg2
== NULL
) SWIG_fail
;
34818 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34822 if (!SWIG_IsOK(ecode4
)) {
34823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34825 arg4
= static_cast< int >(val4
);
34828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34829 if (!SWIG_IsOK(ecode5
)) {
34830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34832 arg5
= static_cast< int >(val5
);
34835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34836 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34837 wxPyEndAllowThreads(__tstate
);
34838 if (PyErr_Occurred()) SWIG_fail
;
34840 resultobj
= SWIG_Py_Void();
34855 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34856 PyObject
*resultobj
= 0;
34857 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34858 wxString
*arg2
= 0 ;
34859 wxBitmap
*arg3
= 0 ;
34861 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34862 int arg6
= (int) -1 ;
34865 bool temp2
= false ;
34873 PyObject
* obj0
= 0 ;
34874 PyObject
* obj1
= 0 ;
34875 PyObject
* obj2
= 0 ;
34876 PyObject
* obj3
= 0 ;
34877 PyObject
* obj4
= 0 ;
34878 PyObject
* obj5
= 0 ;
34879 char * kwnames
[] = {
34880 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34888 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34890 arg2
= wxString_in_helper(obj1
);
34891 if (arg2
== NULL
) SWIG_fail
;
34894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34895 if (!SWIG_IsOK(res3
)) {
34896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34901 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34904 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34908 if (!SWIG_IsOK(ecode5
)) {
34909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34911 arg5
= static_cast< int >(val5
);
34914 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34915 if (!SWIG_IsOK(ecode6
)) {
34916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34918 arg6
= static_cast< int >(val6
);
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34926 resultobj
= SWIG_Py_Void();
34941 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
= 0;
34943 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34945 wxPoint
*arg3
= (wxPoint
*) 0 ;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 char * kwnames
[] = {
34951 (char *) "self",(char *) "points", NULL
34954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34956 if (!SWIG_IsOK(res1
)) {
34957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34961 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34962 if (arg3
== NULL
) SWIG_fail
;
34965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 (arg1
)->DrawSpline(arg2
,arg3
);
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34970 resultobj
= SWIG_Py_Void();
34972 if (arg3
) delete [] arg3
;
34977 if (arg3
) delete [] arg3
;
34983 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34984 PyObject
*resultobj
= 0;
34985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34988 PyObject
*swig_obj
[1] ;
34990 if (!args
) SWIG_fail
;
34991 swig_obj
[0] = args
;
34992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 resultobj
= SWIG_Py_Void();
35010 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
= 0;
35012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35018 PyObject
* obj0
= 0 ;
35019 PyObject
* obj1
= 0 ;
35020 char * kwnames
[] = {
35021 (char *) "self",(char *) "font", NULL
35024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35026 if (!SWIG_IsOK(res1
)) {
35027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35031 if (!SWIG_IsOK(res2
)) {
35032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35037 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 (arg1
)->SetFont((wxFont
const &)*arg2
);
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35044 resultobj
= SWIG_Py_Void();
35051 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35052 PyObject
*resultobj
= 0;
35053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35059 PyObject
* obj0
= 0 ;
35060 PyObject
* obj1
= 0 ;
35061 char * kwnames
[] = {
35062 (char *) "self",(char *) "pen", NULL
35065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35067 if (!SWIG_IsOK(res1
)) {
35068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
35072 if (!SWIG_IsOK(res2
)) {
35073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35078 arg2
= reinterpret_cast< wxPen
* >(argp2
);
35080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35081 (arg1
)->SetPen((wxPen
const &)*arg2
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 resultobj
= SWIG_Py_Void();
35092 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35093 PyObject
*resultobj
= 0;
35094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35095 wxBrush
*arg2
= 0 ;
35100 PyObject
* obj0
= 0 ;
35101 PyObject
* obj1
= 0 ;
35102 char * kwnames
[] = {
35103 (char *) "self",(char *) "brush", NULL
35106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35108 if (!SWIG_IsOK(res1
)) {
35109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35113 if (!SWIG_IsOK(res2
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35119 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35122 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= SWIG_Py_Void();
35133 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35134 PyObject
*resultobj
= 0;
35135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35136 wxBrush
*arg2
= 0 ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 char * kwnames
[] = {
35144 (char *) "self",(char *) "brush", NULL
35147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35149 if (!SWIG_IsOK(res1
)) {
35150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35152 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35154 if (!SWIG_IsOK(res2
)) {
35155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35160 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 resultobj
= SWIG_Py_Void();
35174 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
= 0;
35176 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35182 PyObject
* obj0
= 0 ;
35183 PyObject
* obj1
= 0 ;
35184 char * kwnames
[] = {
35185 (char *) "self",(char *) "mode", NULL
35188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35190 if (!SWIG_IsOK(res1
)) {
35191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35195 if (!SWIG_IsOK(ecode2
)) {
35196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
35198 arg2
= static_cast< int >(val2
);
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 (arg1
)->SetBackgroundMode(arg2
);
35202 wxPyEndAllowThreads(__tstate
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35205 resultobj
= SWIG_Py_Void();
35212 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35213 PyObject
*resultobj
= 0;
35214 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35215 wxPalette
*arg2
= 0 ;
35220 PyObject
* obj0
= 0 ;
35221 PyObject
* obj1
= 0 ;
35222 char * kwnames
[] = {
35223 (char *) "self",(char *) "palette", NULL
35226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35228 if (!SWIG_IsOK(res1
)) {
35229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35231 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
35233 if (!SWIG_IsOK(res2
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35239 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= SWIG_Py_Void();
35253 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
= 0;
35255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35256 wxColour
*arg2
= 0 ;
35260 PyObject
* obj0
= 0 ;
35261 PyObject
* obj1
= 0 ;
35262 char * kwnames
[] = {
35263 (char *) "self",(char *) "colour", NULL
35266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35268 if (!SWIG_IsOK(res1
)) {
35269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35271 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35274 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35278 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= SWIG_Py_Void();
35289 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
= 0;
35291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35292 wxColour
*arg2
= 0 ;
35296 PyObject
* obj0
= 0 ;
35297 PyObject
* obj1
= 0 ;
35298 char * kwnames
[] = {
35299 (char *) "self",(char *) "colour", NULL
35302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35304 if (!SWIG_IsOK(res1
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35315 wxPyEndAllowThreads(__tstate
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= SWIG_Py_Void();
35325 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
= 0;
35327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 char * kwnames
[] = {
35336 (char *) "self",(char *) "function", NULL
35339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35341 if (!SWIG_IsOK(res1
)) {
35342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35346 if (!SWIG_IsOK(ecode2
)) {
35347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35349 arg2
= static_cast< int >(val2
);
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 (arg1
)->SetLogicalFunction(arg2
);
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35356 resultobj
= SWIG_Py_Void();
35363 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35366 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35367 return SWIG_Py_Void();
35370 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35371 return SWIG_Python_InitShadowInstance(args
);
35374 static PyMethodDef SwigMethods
[] = {
35375 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35376 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35377 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35378 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35379 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35380 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35382 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35384 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35385 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35386 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35387 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35388 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35389 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35394 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35398 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35399 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35400 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35401 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35402 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35403 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35404 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35405 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35406 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35407 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35408 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35410 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35411 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35412 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35413 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35414 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35415 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35416 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35423 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35425 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35426 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35430 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35431 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35434 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35438 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35439 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35440 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35441 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35442 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35443 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35444 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35446 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35452 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35454 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35455 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35456 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35457 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35458 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35459 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35460 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35466 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35470 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35472 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35473 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35476 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35477 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35481 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35482 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35483 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35484 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35485 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35486 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35487 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35488 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35489 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35490 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35491 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35492 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35493 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35494 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35495 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35497 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35498 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35500 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35501 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35503 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35504 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35505 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35506 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35507 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35508 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35509 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35510 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35511 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35512 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35513 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35514 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35515 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35517 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35518 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35524 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35525 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35526 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35528 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35529 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35530 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35532 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35533 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35538 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35540 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35541 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35542 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35543 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35545 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35547 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35548 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35549 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35550 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35551 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35552 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35553 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35555 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35557 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35558 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35559 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35560 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35561 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35563 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35564 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35565 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35566 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35567 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35568 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35570 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35572 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35573 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35575 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35576 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35577 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35578 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35583 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35584 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35589 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35590 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35596 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35599 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35600 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35611 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35614 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35615 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35617 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35618 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35619 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35620 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35621 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35622 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35623 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35624 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35625 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35626 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35627 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35628 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35629 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35630 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35631 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35632 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35633 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35635 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35636 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35637 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35638 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35639 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35640 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35641 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35642 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35652 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35653 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35655 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35656 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35657 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35658 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35659 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35660 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35661 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35662 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35663 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35665 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35666 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35667 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35670 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35671 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35672 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35674 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35675 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35677 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35681 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35683 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35686 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35687 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35688 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35689 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35690 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35692 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35693 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35694 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35695 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35696 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35697 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35698 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35699 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35700 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35701 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35702 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35703 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35704 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35705 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35706 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35707 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35708 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35709 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35710 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35712 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35714 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35715 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35717 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35718 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35719 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35720 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35722 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35723 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35724 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35726 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35727 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35728 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35729 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35730 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35731 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35732 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35736 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35737 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35739 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35740 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35741 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35742 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35743 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35744 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35745 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35746 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35747 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35749 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35752 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35753 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35754 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35755 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35756 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35757 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35758 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35759 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35761 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35765 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35766 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35767 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35769 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35770 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35771 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35773 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35777 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35778 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35779 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35780 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35781 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35782 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35788 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35789 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35790 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35827 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35838 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35839 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35841 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35842 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35843 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35850 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35851 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35852 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35853 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35854 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35859 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35860 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35861 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35862 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35871 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35872 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35873 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35874 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35875 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35876 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35877 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35878 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35879 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35880 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35881 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35882 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35885 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35887 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35889 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35891 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35892 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35895 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35896 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35898 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35900 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35902 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35905 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35906 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35907 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35908 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35909 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35910 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35911 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35913 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35917 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35918 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35920 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35924 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35925 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35926 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35928 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35929 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35930 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35931 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35933 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35934 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35936 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35937 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35939 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35940 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35941 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35942 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35943 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35944 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35945 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35947 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35948 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35950 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35951 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35952 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35954 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35955 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35957 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35959 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35960 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35961 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35962 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35964 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35965 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35967 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35968 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35969 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35970 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35971 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35972 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35974 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35975 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35976 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35978 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35979 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35980 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35984 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35985 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35987 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35988 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35989 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35990 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35991 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35992 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35993 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35994 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35995 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35996 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35997 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35998 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35999 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
36000 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
36001 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36007 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36008 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36012 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36014 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36015 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36016 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36017 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36018 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36020 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36021 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36022 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
36027 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36028 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
36029 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
36030 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36031 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
36032 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
36033 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
36034 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
36035 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
36036 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
36037 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
36038 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
36039 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
36040 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
36041 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
36042 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
36043 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
36045 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36046 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36047 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36048 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36049 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36050 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36051 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36052 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
36053 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36054 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
36055 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36056 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
36057 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
36058 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
36059 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
36060 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
36061 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
36062 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36063 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36065 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
36068 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
36069 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
36070 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
36071 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
36072 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
36073 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36074 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36075 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
36077 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
36081 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36082 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36083 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36084 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
36085 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
36086 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
36087 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36088 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36089 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36090 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36091 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
36092 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
36093 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
36094 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
36095 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
36096 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
36097 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
36098 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
36099 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
36100 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
36101 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
36102 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
36103 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36104 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36105 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36106 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36107 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36108 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36109 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36110 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36111 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
36112 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
36113 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36114 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
36115 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
36116 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
36117 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
36118 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
36119 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
36120 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
36121 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
36122 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
36123 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
36124 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
36125 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
36126 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
36127 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
36128 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
36129 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
36130 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
36131 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
36132 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
36133 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
36134 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
36135 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
36136 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
36137 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
36138 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36139 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
36140 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36141 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
36142 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
36143 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
36144 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
36145 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36146 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36147 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36148 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36149 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36151 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36152 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36153 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
36158 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
36159 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
36160 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36161 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
36162 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
36163 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
36164 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
36165 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
36166 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
36167 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
36168 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
36169 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36170 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36171 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36174 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36178 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36188 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36194 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36195 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36198 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
36222 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
36232 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
36233 { NULL
, NULL
, 0, NULL
}
36237 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36239 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
36240 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
36242 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
36243 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
36245 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
36246 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36248 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
36249 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
36251 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
36252 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
36254 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
36255 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
36257 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
36258 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
36260 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
36261 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
36263 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
36264 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
36266 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
36267 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
36269 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
36270 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
36272 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
36273 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
36275 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
36276 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
36278 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
36279 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
36281 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
36282 return (void *)((wxDC
*) ((wxGCDC
*) x
));
36284 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36285 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36287 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
36288 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
36290 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36291 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36293 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36294 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36296 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36297 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36299 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36300 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36302 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36303 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36305 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36306 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36308 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36309 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36311 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
36312 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36314 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36315 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36317 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36318 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36320 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36321 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36323 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36324 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36326 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36327 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36329 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36330 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36332 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36335 static void *_p_wxPenTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36338 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36341 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36344 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36347 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36350 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36353 static void *_p_wxIconTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36356 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36359 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36362 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) ((wxSizer
*) x
));
36365 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36368 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36371 static void *_p_wxEventTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) ((wxEvent
*) x
));
36374 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36377 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36380 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36383 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36386 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36389 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36392 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36395 static void *_p_wxDCTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) ((wxDC
*) x
));
36398 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36401 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36404 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36407 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36410 static void *_p_wxControlTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36413 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36416 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36419 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36422 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36425 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36428 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36431 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36434 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36437 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) ((wxEffects
*) x
));
36440 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36443 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36446 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36449 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36452 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36455 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36458 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36461 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36464 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36467 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36470 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36473 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36476 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36479 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36482 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36485 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36488 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36491 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36494 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36497 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36500 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36503 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36506 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36509 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36512 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36515 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36518 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36521 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36524 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36527 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36530 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36533 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36536 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36539 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36542 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36545 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36548 static void *_p_wxImageTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) ((wxImage
*) x
));
36551 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36554 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36557 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
36560 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) ((wxImageList
*) x
));
36563 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36566 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36569 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36572 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36575 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36578 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36581 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36584 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36587 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36590 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36593 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36596 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36599 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36600 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36602 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36603 return (void *)((wxObject
*) ((wxMask
*) x
));
36605 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36608 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36609 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36611 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36614 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36615 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36617 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36618 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36620 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36621 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36623 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36626 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36627 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36629 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36630 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36632 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36633 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36635 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36638 static void *_p_wxFontTo_p_wxObject(void *x
) {
36639 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36641 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36642 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36644 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36645 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36647 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36650 static void *_p_wxColourTo_p_wxObject(void *x
) {
36651 return (void *)((wxObject
*) ((wxColour
*) x
));
36653 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36656 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36657 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36659 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36660 return (void *)((wxWindow
*) ((wxControl
*) x
));
36662 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36663 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36665 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36666 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36668 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36669 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36671 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36672 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36674 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36675 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36676 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36677 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};
36678 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36679 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36680 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36681 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36682 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
36683 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36684 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36685 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
36686 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36687 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36688 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36689 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36690 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36691 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36692 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36693 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36694 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36695 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36696 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36697 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36698 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36699 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36700 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36701 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36702 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36703 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36704 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36705 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36706 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36707 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36708 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36709 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36710 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36711 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36712 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36713 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36714 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36715 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36716 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36717 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36718 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36719 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36720 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36721 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36722 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36723 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36724 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36725 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36726 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36727 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36728 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36729 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36730 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36731 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36732 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36733 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36734 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36735 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36736 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36737 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36738 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36739 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36740 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36741 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36742 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36743 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36744 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36745 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36746 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36747 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36748 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36749 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36750 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36751 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36752 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36753 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36754 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36755 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36756 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36757 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36758 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36759 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36760 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36761 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36762 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36763 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36764 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36765 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36766 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36767 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36768 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36769 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36770 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36771 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36772 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36773 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36774 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36775 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36776 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36777 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36778 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36779 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36780 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36781 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36782 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36783 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36784 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36785 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36786 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36787 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36788 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36789 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36790 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36791 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36792 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36793 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36794 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36795 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36796 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36797 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36798 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36799 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36800 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36801 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36802 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36803 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36804 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36805 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36806 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36807 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36808 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36809 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36810 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36811 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36812 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36813 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36814 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36815 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36816 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36817 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36818 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36819 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36820 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36821 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36822 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36823 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36824 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36825 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36826 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36827 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36828 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36829 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36830 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36831 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36833 static swig_type_info
*swig_type_initial
[] = {
36837 &_swigt__p_form_ops_t
,
36839 &_swigt__p_unsigned_char
,
36840 &_swigt__p_unsigned_int
,
36841 &_swigt__p_unsigned_long
,
36843 &_swigt__p_wxANIHandler
,
36844 &_swigt__p_wxAcceleratorTable
,
36845 &_swigt__p_wxActivateEvent
,
36846 &_swigt__p_wxAlphaPixelData
,
36847 &_swigt__p_wxAlphaPixelData_Accessor
,
36848 &_swigt__p_wxAutoBufferedPaintDC
,
36849 &_swigt__p_wxBMPHandler
,
36850 &_swigt__p_wxBitmap
,
36851 &_swigt__p_wxBoxSizer
,
36852 &_swigt__p_wxBrush
,
36853 &_swigt__p_wxBrushList
,
36854 &_swigt__p_wxBufferedDC
,
36855 &_swigt__p_wxBufferedPaintDC
,
36856 &_swigt__p_wxCURHandler
,
36858 &_swigt__p_wxChildFocusEvent
,
36859 &_swigt__p_wxClientDC
,
36860 &_swigt__p_wxClipboardTextEvent
,
36861 &_swigt__p_wxCloseEvent
,
36862 &_swigt__p_wxColor
,
36863 &_swigt__p_wxColour
,
36864 &_swigt__p_wxColourDatabase
,
36865 &_swigt__p_wxCommandEvent
,
36866 &_swigt__p_wxContextMenuEvent
,
36867 &_swigt__p_wxControl
,
36868 &_swigt__p_wxControlWithItems
,
36869 &_swigt__p_wxCursor
,
36871 &_swigt__p_wxDCOverlay
,
36873 &_swigt__p_wxDateEvent
,
36874 &_swigt__p_wxDisplayChangedEvent
,
36875 &_swigt__p_wxDropFilesEvent
,
36876 &_swigt__p_wxDuplexMode
,
36877 &_swigt__p_wxEffects
,
36878 &_swigt__p_wxEncodingConverter
,
36879 &_swigt__p_wxEraseEvent
,
36880 &_swigt__p_wxEvent
,
36881 &_swigt__p_wxEvtHandler
,
36882 &_swigt__p_wxFSFile
,
36883 &_swigt__p_wxFileSystem
,
36884 &_swigt__p_wxFlexGridSizer
,
36885 &_swigt__p_wxFocusEvent
,
36887 &_swigt__p_wxFontList
,
36888 &_swigt__p_wxFontMapper
,
36889 &_swigt__p_wxGBSizerItem
,
36891 &_swigt__p_wxGDIObjListBase
,
36892 &_swigt__p_wxGDIObject
,
36893 &_swigt__p_wxGIFHandler
,
36894 &_swigt__p_wxGraphicsContext
,
36895 &_swigt__p_wxGraphicsPath
,
36896 &_swigt__p_wxGridBagSizer
,
36897 &_swigt__p_wxGridSizer
,
36898 &_swigt__p_wxHeaderButtonParams
,
36899 &_swigt__p_wxICOHandler
,
36901 &_swigt__p_wxIconBundle
,
36902 &_swigt__p_wxIconLocation
,
36903 &_swigt__p_wxIconizeEvent
,
36904 &_swigt__p_wxIdleEvent
,
36905 &_swigt__p_wxImage
,
36906 &_swigt__p_wxImageHandler
,
36907 &_swigt__p_wxImageList
,
36908 &_swigt__p_wxIndividualLayoutConstraint
,
36909 &_swigt__p_wxInitDialogEvent
,
36910 &_swigt__p_wxJPEGHandler
,
36911 &_swigt__p_wxKeyEvent
,
36912 &_swigt__p_wxLanguageInfo
,
36913 &_swigt__p_wxLayoutConstraints
,
36914 &_swigt__p_wxLocale
,
36916 &_swigt__p_wxMaximizeEvent
,
36917 &_swigt__p_wxMemoryDC
,
36919 &_swigt__p_wxMenuBar
,
36920 &_swigt__p_wxMenuEvent
,
36921 &_swigt__p_wxMenuItem
,
36922 &_swigt__p_wxMetaFile
,
36923 &_swigt__p_wxMetaFileDC
,
36924 &_swigt__p_wxMirrorDC
,
36925 &_swigt__p_wxMouseCaptureChangedEvent
,
36926 &_swigt__p_wxMouseCaptureLostEvent
,
36927 &_swigt__p_wxMouseEvent
,
36928 &_swigt__p_wxMoveEvent
,
36929 &_swigt__p_wxNativeEncodingInfo
,
36930 &_swigt__p_wxNativeFontInfo
,
36931 &_swigt__p_wxNativePixelData
,
36932 &_swigt__p_wxNativePixelData_Accessor
,
36933 &_swigt__p_wxNavigationKeyEvent
,
36934 &_swigt__p_wxNcPaintEvent
,
36935 &_swigt__p_wxNotifyEvent
,
36936 &_swigt__p_wxObject
,
36937 &_swigt__p_wxOverlay
,
36938 &_swigt__p_wxPCXHandler
,
36939 &_swigt__p_wxPNGHandler
,
36940 &_swigt__p_wxPNMHandler
,
36941 &_swigt__p_wxPaintDC
,
36942 &_swigt__p_wxPaintEvent
,
36943 &_swigt__p_wxPalette
,
36944 &_swigt__p_wxPaletteChangedEvent
,
36945 &_swigt__p_wxPaperSize
,
36947 &_swigt__p_wxPenList
,
36948 &_swigt__p_wxPixelDataBase
,
36949 &_swigt__p_wxPoint
,
36950 &_swigt__p_wxPoint2D
,
36951 &_swigt__p_wxPostScriptDC
,
36952 &_swigt__p_wxPrintData
,
36953 &_swigt__p_wxPrinterDC
,
36954 &_swigt__p_wxPseudoDC
,
36955 &_swigt__p_wxPyApp
,
36956 &_swigt__p_wxPyCommandEvent
,
36957 &_swigt__p_wxPyEvent
,
36958 &_swigt__p_wxPyFontEnumerator
,
36959 &_swigt__p_wxPyImageHandler
,
36960 &_swigt__p_wxPyLocale
,
36961 &_swigt__p_wxPySizer
,
36962 &_swigt__p_wxPyValidator
,
36963 &_swigt__p_wxQueryNewPaletteEvent
,
36965 &_swigt__p_wxRegion
,
36966 &_swigt__p_wxRegionIterator
,
36967 &_swigt__p_wxRendererNative
,
36968 &_swigt__p_wxRendererVersion
,
36969 &_swigt__p_wxScreenDC
,
36970 &_swigt__p_wxScrollEvent
,
36971 &_swigt__p_wxScrollWinEvent
,
36972 &_swigt__p_wxSetCursorEvent
,
36973 &_swigt__p_wxShowEvent
,
36975 &_swigt__p_wxSizeEvent
,
36976 &_swigt__p_wxSizer
,
36977 &_swigt__p_wxSizerItem
,
36978 &_swigt__p_wxSplitterRenderParams
,
36979 &_swigt__p_wxStaticBoxSizer
,
36980 &_swigt__p_wxStdDialogButtonSizer
,
36981 &_swigt__p_wxStockGDI
,
36982 &_swigt__p_wxString
,
36983 &_swigt__p_wxSysColourChangedEvent
,
36984 &_swigt__p_wxTIFFHandler
,
36985 &_swigt__p_wxUpdateUIEvent
,
36986 &_swigt__p_wxValidator
,
36987 &_swigt__p_wxWindow
,
36988 &_swigt__p_wxWindowCreateEvent
,
36989 &_swigt__p_wxWindowDC
,
36990 &_swigt__p_wxWindowDestroyEvent
,
36991 &_swigt__p_wxXPMHandler
,
36994 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36995 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36996 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36997 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36998 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36999 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37000 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37001 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37002 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37003 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
37004 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37005 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37006 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37007 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
37008 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
37009 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}};
37010 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37011 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37012 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}};
37013 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
37014 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37015 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
37016 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37017 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}};
37018 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37019 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
37020 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37021 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
37022 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
37023 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37024 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
37025 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
37026 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
37027 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}};
37028 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}};
37029 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
37030 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
37031 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
37032 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37033 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
37034 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
37035 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37036 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
37037 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
37038 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}};
37039 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
37040 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}};
37041 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
37042 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
37043 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
37044 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
37045 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
37046 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
37047 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37048 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37049 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37050 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37051 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37052 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37053 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37054 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37055 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37056 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37057 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37058 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37059 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
37060 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37061 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37062 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37063 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37064 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37065 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37066 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37067 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37068 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37069 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37070 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37071 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37072 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37073 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37074 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37075 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37076 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37077 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37078 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37079 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37080 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37081 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37082 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37083 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37084 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37085 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37086 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37087 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37088 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37089 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37090 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37091 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37092 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37093 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
37094 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37095 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37096 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37097 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37098 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37099 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37100 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37101 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
37102 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37103 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37104 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37105 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37106 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37107 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37108 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37109 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37110 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37111 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37112 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37113 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37114 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37115 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37116 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37117 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37118 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37119 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37120 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37121 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37122 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37123 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37124 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}};
37125 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37126 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37127 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
37128 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37129 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
37130 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
37131 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}};
37132 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37133 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
37134 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
37135 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
37136 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
37137 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
37138 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
37139 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
37140 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37141 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
37142 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
37143 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
37144 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
37145 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
37146 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37147 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
37148 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
37149 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37150 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}};
37151 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}};
37153 static swig_cast_info
*swig_cast_initial
[] = {
37157 _swigc__p_form_ops_t
,
37159 _swigc__p_unsigned_char
,
37160 _swigc__p_unsigned_int
,
37161 _swigc__p_unsigned_long
,
37163 _swigc__p_wxANIHandler
,
37164 _swigc__p_wxAcceleratorTable
,
37165 _swigc__p_wxActivateEvent
,
37166 _swigc__p_wxAlphaPixelData
,
37167 _swigc__p_wxAlphaPixelData_Accessor
,
37168 _swigc__p_wxAutoBufferedPaintDC
,
37169 _swigc__p_wxBMPHandler
,
37170 _swigc__p_wxBitmap
,
37171 _swigc__p_wxBoxSizer
,
37173 _swigc__p_wxBrushList
,
37174 _swigc__p_wxBufferedDC
,
37175 _swigc__p_wxBufferedPaintDC
,
37176 _swigc__p_wxCURHandler
,
37178 _swigc__p_wxChildFocusEvent
,
37179 _swigc__p_wxClientDC
,
37180 _swigc__p_wxClipboardTextEvent
,
37181 _swigc__p_wxCloseEvent
,
37183 _swigc__p_wxColour
,
37184 _swigc__p_wxColourDatabase
,
37185 _swigc__p_wxCommandEvent
,
37186 _swigc__p_wxContextMenuEvent
,
37187 _swigc__p_wxControl
,
37188 _swigc__p_wxControlWithItems
,
37189 _swigc__p_wxCursor
,
37191 _swigc__p_wxDCOverlay
,
37193 _swigc__p_wxDateEvent
,
37194 _swigc__p_wxDisplayChangedEvent
,
37195 _swigc__p_wxDropFilesEvent
,
37196 _swigc__p_wxDuplexMode
,
37197 _swigc__p_wxEffects
,
37198 _swigc__p_wxEncodingConverter
,
37199 _swigc__p_wxEraseEvent
,
37201 _swigc__p_wxEvtHandler
,
37202 _swigc__p_wxFSFile
,
37203 _swigc__p_wxFileSystem
,
37204 _swigc__p_wxFlexGridSizer
,
37205 _swigc__p_wxFocusEvent
,
37207 _swigc__p_wxFontList
,
37208 _swigc__p_wxFontMapper
,
37209 _swigc__p_wxGBSizerItem
,
37211 _swigc__p_wxGDIObjListBase
,
37212 _swigc__p_wxGDIObject
,
37213 _swigc__p_wxGIFHandler
,
37214 _swigc__p_wxGraphicsContext
,
37215 _swigc__p_wxGraphicsPath
,
37216 _swigc__p_wxGridBagSizer
,
37217 _swigc__p_wxGridSizer
,
37218 _swigc__p_wxHeaderButtonParams
,
37219 _swigc__p_wxICOHandler
,
37221 _swigc__p_wxIconBundle
,
37222 _swigc__p_wxIconLocation
,
37223 _swigc__p_wxIconizeEvent
,
37224 _swigc__p_wxIdleEvent
,
37226 _swigc__p_wxImageHandler
,
37227 _swigc__p_wxImageList
,
37228 _swigc__p_wxIndividualLayoutConstraint
,
37229 _swigc__p_wxInitDialogEvent
,
37230 _swigc__p_wxJPEGHandler
,
37231 _swigc__p_wxKeyEvent
,
37232 _swigc__p_wxLanguageInfo
,
37233 _swigc__p_wxLayoutConstraints
,
37234 _swigc__p_wxLocale
,
37236 _swigc__p_wxMaximizeEvent
,
37237 _swigc__p_wxMemoryDC
,
37239 _swigc__p_wxMenuBar
,
37240 _swigc__p_wxMenuEvent
,
37241 _swigc__p_wxMenuItem
,
37242 _swigc__p_wxMetaFile
,
37243 _swigc__p_wxMetaFileDC
,
37244 _swigc__p_wxMirrorDC
,
37245 _swigc__p_wxMouseCaptureChangedEvent
,
37246 _swigc__p_wxMouseCaptureLostEvent
,
37247 _swigc__p_wxMouseEvent
,
37248 _swigc__p_wxMoveEvent
,
37249 _swigc__p_wxNativeEncodingInfo
,
37250 _swigc__p_wxNativeFontInfo
,
37251 _swigc__p_wxNativePixelData
,
37252 _swigc__p_wxNativePixelData_Accessor
,
37253 _swigc__p_wxNavigationKeyEvent
,
37254 _swigc__p_wxNcPaintEvent
,
37255 _swigc__p_wxNotifyEvent
,
37256 _swigc__p_wxObject
,
37257 _swigc__p_wxOverlay
,
37258 _swigc__p_wxPCXHandler
,
37259 _swigc__p_wxPNGHandler
,
37260 _swigc__p_wxPNMHandler
,
37261 _swigc__p_wxPaintDC
,
37262 _swigc__p_wxPaintEvent
,
37263 _swigc__p_wxPalette
,
37264 _swigc__p_wxPaletteChangedEvent
,
37265 _swigc__p_wxPaperSize
,
37267 _swigc__p_wxPenList
,
37268 _swigc__p_wxPixelDataBase
,
37270 _swigc__p_wxPoint2D
,
37271 _swigc__p_wxPostScriptDC
,
37272 _swigc__p_wxPrintData
,
37273 _swigc__p_wxPrinterDC
,
37274 _swigc__p_wxPseudoDC
,
37276 _swigc__p_wxPyCommandEvent
,
37277 _swigc__p_wxPyEvent
,
37278 _swigc__p_wxPyFontEnumerator
,
37279 _swigc__p_wxPyImageHandler
,
37280 _swigc__p_wxPyLocale
,
37281 _swigc__p_wxPySizer
,
37282 _swigc__p_wxPyValidator
,
37283 _swigc__p_wxQueryNewPaletteEvent
,
37285 _swigc__p_wxRegion
,
37286 _swigc__p_wxRegionIterator
,
37287 _swigc__p_wxRendererNative
,
37288 _swigc__p_wxRendererVersion
,
37289 _swigc__p_wxScreenDC
,
37290 _swigc__p_wxScrollEvent
,
37291 _swigc__p_wxScrollWinEvent
,
37292 _swigc__p_wxSetCursorEvent
,
37293 _swigc__p_wxShowEvent
,
37295 _swigc__p_wxSizeEvent
,
37297 _swigc__p_wxSizerItem
,
37298 _swigc__p_wxSplitterRenderParams
,
37299 _swigc__p_wxStaticBoxSizer
,
37300 _swigc__p_wxStdDialogButtonSizer
,
37301 _swigc__p_wxStockGDI
,
37302 _swigc__p_wxString
,
37303 _swigc__p_wxSysColourChangedEvent
,
37304 _swigc__p_wxTIFFHandler
,
37305 _swigc__p_wxUpdateUIEvent
,
37306 _swigc__p_wxValidator
,
37307 _swigc__p_wxWindow
,
37308 _swigc__p_wxWindowCreateEvent
,
37309 _swigc__p_wxWindowDC
,
37310 _swigc__p_wxWindowDestroyEvent
,
37311 _swigc__p_wxXPMHandler
,
37315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37317 static swig_const_info swig_const_table
[] = {
37318 {0, 0, 0, 0.0, 0, 0}};
37323 /* -----------------------------------------------------------------------------
37324 * Type initialization:
37325 * This problem is tough by the requirement that no dynamic
37326 * memory is used. Also, since swig_type_info structures store pointers to
37327 * swig_cast_info structures and swig_cast_info structures store pointers back
37328 * to swig_type_info structures, we need some lookup code at initialization.
37329 * The idea is that swig generates all the structures that are needed.
37330 * The runtime then collects these partially filled structures.
37331 * The SWIG_InitializeModule function takes these initial arrays out of
37332 * swig_module, and does all the lookup, filling in the swig_module.types
37333 * array with the correct data and linking the correct swig_cast_info
37334 * structures together.
37336 * The generated swig_type_info structures are assigned staticly to an initial
37337 * array. We just loop though that array, and handle each type individually.
37338 * First we lookup if this type has been already loaded, and if so, use the
37339 * loaded structure instead of the generated one. Then we have to fill in the
37340 * cast linked list. The cast data is initially stored in something like a
37341 * two-dimensional array. Each row corresponds to a type (there are the same
37342 * number of rows as there are in the swig_type_initial array). Each entry in
37343 * a column is one of the swig_cast_info structures for that type.
37344 * The cast_initial array is actually an array of arrays, because each row has
37345 * a variable number of columns. So to actually build the cast linked list,
37346 * we find the array of casts associated with the type, and loop through it
37347 * adding the casts to the list. The one last trick we need to do is making
37348 * sure the type pointer in the swig_cast_info struct is correct.
37350 * First off, we lookup the cast->type name to see if it is already loaded.
37351 * There are three cases to handle:
37352 * 1) If the cast->type has already been loaded AND the type we are adding
37353 * casting info to has not been loaded (it is in this module), THEN we
37354 * replace the cast->type pointer with the type pointer that has already
37356 * 2) If BOTH types (the one we are adding casting info to, and the
37357 * cast->type) are loaded, THEN the cast info has already been loaded by
37358 * the previous module so we just ignore it.
37359 * 3) Finally, if cast->type has not already been loaded, then we add that
37360 * swig_cast_info to the linked list (because the cast->type) pointer will
37362 * ----------------------------------------------------------------------------- */
37372 #define SWIGRUNTIME_DEBUG
37376 SWIG_InitializeModule(void *clientdata
) {
37378 swig_module_info
*module_head
;
37379 static int init_run
= 0;
37381 clientdata
= clientdata
;
37383 if (init_run
) return;
37386 /* Initialize the swig_module */
37387 swig_module
.type_initial
= swig_type_initial
;
37388 swig_module
.cast_initial
= swig_cast_initial
;
37390 /* Try and load any already created modules */
37391 module_head
= SWIG_GetModule(clientdata
);
37393 swig_module
.next
= module_head
->next
;
37394 module_head
->next
= &swig_module
;
37396 /* This is the first module loaded */
37397 swig_module
.next
= &swig_module
;
37398 SWIG_SetModule(clientdata
, &swig_module
);
37401 /* Now work on filling in swig_module.types */
37402 #ifdef SWIGRUNTIME_DEBUG
37403 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37405 for (i
= 0; i
< swig_module
.size
; ++i
) {
37406 swig_type_info
*type
= 0;
37407 swig_type_info
*ret
;
37408 swig_cast_info
*cast
;
37410 #ifdef SWIGRUNTIME_DEBUG
37411 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37414 /* if there is another module already loaded */
37415 if (swig_module
.next
!= &swig_module
) {
37416 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37419 /* Overwrite clientdata field */
37420 #ifdef SWIGRUNTIME_DEBUG
37421 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37423 if (swig_module
.type_initial
[i
]->clientdata
) {
37424 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37425 #ifdef SWIGRUNTIME_DEBUG
37426 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37430 type
= swig_module
.type_initial
[i
];
37433 /* Insert casting types */
37434 cast
= swig_module
.cast_initial
[i
];
37435 while (cast
->type
) {
37436 /* Don't need to add information already in the list */
37438 #ifdef SWIGRUNTIME_DEBUG
37439 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37441 if (swig_module
.next
!= &swig_module
) {
37442 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37443 #ifdef SWIGRUNTIME_DEBUG
37444 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37448 if (type
== swig_module
.type_initial
[i
]) {
37449 #ifdef SWIGRUNTIME_DEBUG
37450 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37455 /* Check for casting already in the list */
37456 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37457 #ifdef SWIGRUNTIME_DEBUG
37458 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37460 if (!ocast
) ret
= 0;
37465 #ifdef SWIGRUNTIME_DEBUG
37466 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37469 type
->cast
->prev
= cast
;
37470 cast
->next
= type
->cast
;
37476 /* Set entry in modules->types array equal to the type */
37477 swig_module
.types
[i
] = type
;
37479 swig_module
.types
[i
] = 0;
37481 #ifdef SWIGRUNTIME_DEBUG
37482 printf("**** SWIG_InitializeModule: Cast List ******\n");
37483 for (i
= 0; i
< swig_module
.size
; ++i
) {
37485 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37486 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37487 while (cast
->type
) {
37488 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37492 printf("---- Total casts: %d\n",j
);
37494 printf("**** SWIG_InitializeModule: Cast List ******\n");
37498 /* This function will propagate the clientdata field of type to
37499 * any new swig_type_info structures that have been added into the list
37500 * of equivalent types. It is like calling
37501 * SWIG_TypeClientData(type, clientdata) a second time.
37504 SWIG_PropagateClientData(void) {
37506 swig_cast_info
*equiv
;
37507 static int init_run
= 0;
37509 if (init_run
) return;
37512 for (i
= 0; i
< swig_module
.size
; i
++) {
37513 if (swig_module
.types
[i
]->clientdata
) {
37514 equiv
= swig_module
.types
[i
]->cast
;
37516 if (!equiv
->converter
) {
37517 if (equiv
->type
&& !equiv
->type
->clientdata
)
37518 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37520 equiv
= equiv
->next
;
37540 /* Python-specific SWIG API */
37541 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37542 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37543 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37545 /* -----------------------------------------------------------------------------
37546 * global variable support code.
37547 * ----------------------------------------------------------------------------- */
37549 typedef struct swig_globalvar
{
37550 char *name
; /* Name of global variable */
37551 PyObject
*(*get_attr
)(void); /* Return the current value */
37552 int (*set_attr
)(PyObject
*); /* Set the value */
37553 struct swig_globalvar
*next
;
37556 typedef struct swig_varlinkobject
{
37558 swig_globalvar
*vars
;
37559 } swig_varlinkobject
;
37561 SWIGINTERN PyObject
*
37562 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37563 return PyString_FromString("<Swig global variables>");
37566 SWIGINTERN PyObject
*
37567 swig_varlink_str(swig_varlinkobject
*v
) {
37568 PyObject
*str
= PyString_FromString("(");
37569 swig_globalvar
*var
;
37570 for (var
= v
->vars
; var
; var
=var
->next
) {
37571 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37572 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37574 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37579 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37580 PyObject
*str
= swig_varlink_str(v
);
37581 fprintf(fp
,"Swig global variables ");
37582 fprintf(fp
,"%s\n", PyString_AsString(str
));
37588 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37589 swig_globalvar
*var
= v
->vars
;
37591 swig_globalvar
*n
= var
->next
;
37598 SWIGINTERN PyObject
*
37599 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37600 PyObject
*res
= NULL
;
37601 swig_globalvar
*var
= v
->vars
;
37603 if (strcmp(var
->name
,n
) == 0) {
37604 res
= (*var
->get_attr
)();
37609 if (res
== NULL
&& !PyErr_Occurred()) {
37610 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37616 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37618 swig_globalvar
*var
= v
->vars
;
37620 if (strcmp(var
->name
,n
) == 0) {
37621 res
= (*var
->set_attr
)(p
);
37626 if (res
== 1 && !PyErr_Occurred()) {
37627 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37632 SWIGINTERN PyTypeObject
*
37633 swig_varlink_type(void) {
37634 static char varlink__doc__
[] = "Swig var link object";
37635 static PyTypeObject varlink_type
;
37636 static int type_init
= 0;
37638 const PyTypeObject tmp
37640 PyObject_HEAD_INIT(NULL
)
37641 0, /* Number of items in variable part (ob_size) */
37642 (char *)"swigvarlink", /* Type name (tp_name) */
37643 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37644 0, /* Itemsize (tp_itemsize) */
37645 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37646 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37647 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37648 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37649 0, /* tp_compare */
37650 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37651 0, /* tp_as_number */
37652 0, /* tp_as_sequence */
37653 0, /* tp_as_mapping */
37656 (reprfunc
)swig_varlink_str
, /* tp_str */
37657 0, /* tp_getattro */
37658 0, /* tp_setattro */
37659 0, /* tp_as_buffer */
37661 varlink__doc__
, /* tp_doc */
37662 0, /* tp_traverse */
37664 0, /* tp_richcompare */
37665 0, /* tp_weaklistoffset */
37666 #if PY_VERSION_HEX >= 0x02020000
37667 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37669 #if PY_VERSION_HEX >= 0x02030000
37672 #ifdef COUNT_ALLOCS
37673 0,0,0,0 /* tp_alloc -> tp_next */
37676 varlink_type
= tmp
;
37677 varlink_type
.ob_type
= &PyType_Type
;
37680 return &varlink_type
;
37683 /* Create a variable linking object for use later */
37684 SWIGINTERN PyObject
*
37685 SWIG_Python_newvarlink(void) {
37686 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37690 return ((PyObject
*) result
);
37694 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37695 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37696 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37698 size_t size
= strlen(name
)+1;
37699 gv
->name
= (char *)malloc(size
);
37701 strncpy(gv
->name
,name
,size
);
37702 gv
->get_attr
= get_attr
;
37703 gv
->set_attr
= set_attr
;
37704 gv
->next
= v
->vars
;
37710 SWIGINTERN PyObject
*
37712 static PyObject
*_SWIG_globals
= 0;
37713 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37714 return _SWIG_globals
;
37717 /* -----------------------------------------------------------------------------
37718 * constants/methods manipulation
37719 * ----------------------------------------------------------------------------- */
37721 /* Install Constants */
37723 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37726 for (i
= 0; constants
[i
].type
; ++i
) {
37727 switch(constants
[i
].type
) {
37728 case SWIG_PY_POINTER
:
37729 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37731 case SWIG_PY_BINARY
:
37732 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37739 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37745 /* -----------------------------------------------------------------------------*/
37746 /* Fix SwigMethods to carry the callback ptrs when needed */
37747 /* -----------------------------------------------------------------------------*/
37750 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37751 swig_const_info
*const_table
,
37752 swig_type_info
**types
,
37753 swig_type_info
**types_initial
) {
37755 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37756 const char *c
= methods
[i
].ml_doc
;
37757 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37759 swig_const_info
*ci
= 0;
37760 const char *name
= c
+ 10;
37761 for (j
= 0; const_table
[j
].type
; ++j
) {
37762 if (strncmp(const_table
[j
].name
, name
,
37763 strlen(const_table
[j
].name
)) == 0) {
37764 ci
= &(const_table
[j
]);
37769 size_t shift
= (ci
->ptype
) - types
;
37770 swig_type_info
*ty
= types_initial
[shift
];
37771 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37772 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37773 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37776 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37778 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37780 strncpy(buff
, "swig_ptr: ", 10);
37782 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37783 methods
[i
].ml_doc
= ndoc
;
37795 /* -----------------------------------------------------------------------------*
37796 * Partial Init method
37797 * -----------------------------------------------------------------------------*/
37802 SWIGEXPORT
void SWIG_init(void) {
37805 /* Fix SwigMethods to carry the callback ptrs when needed */
37806 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37808 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37809 d
= PyModule_GetDict(m
);
37811 SWIG_InitializeModule(0);
37812 SWIG_InstallConstants(d
,swig_const_table
);
37815 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37816 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37817 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37818 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37819 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37820 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37821 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37822 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37823 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37824 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37825 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37826 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37827 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37828 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37829 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37830 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37831 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37832 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37833 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37834 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37835 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37836 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37837 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37838 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37839 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37840 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37841 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37842 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37843 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37844 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37845 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37846 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37847 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37848 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37849 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37850 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37851 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37852 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37853 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37854 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37855 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37856 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37857 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37858 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37859 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37860 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37861 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37862 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37863 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37864 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37865 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37866 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37867 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37868 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37869 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37870 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37871 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37872 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37873 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37874 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37875 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37876 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37877 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37878 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37879 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37880 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37881 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37882 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37883 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37884 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37885 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37886 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37887 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37888 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37889 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37890 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37891 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37892 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37893 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37894 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37895 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37896 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37897 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37900 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37907 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37932 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37933 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37934 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37935 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37936 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37937 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37938 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37939 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37940 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37941 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37942 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37943 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37944 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37945 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37946 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37948 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37950 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37951 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37952 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37953 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37954 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37955 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37956 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37957 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37958 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37959 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37960 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37961 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37962 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37963 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37964 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37965 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37966 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37967 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37968 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37969 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37970 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37971 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37972 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37973 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37974 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37975 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37976 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37977 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37978 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37979 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37980 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37981 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37982 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37983 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37984 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37985 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37986 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37987 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37988 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37989 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37990 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37991 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37992 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37993 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37994 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37995 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37996 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37997 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37998 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37999 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
38000 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
38001 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
38002 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
38003 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
38004 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
38005 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
38006 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
38007 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
38008 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
38009 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
38010 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
38011 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
38012 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
38013 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
38014 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
38015 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
38016 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
38017 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
38018 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
38019 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
38020 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
38021 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
38022 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
38023 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
38024 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
38025 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
38026 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
38027 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
38028 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
38029 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
38030 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
38031 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
38032 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
38033 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
38034 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
38035 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
38036 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
38037 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
38038 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
38039 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
38040 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
38041 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
38042 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
38043 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
38044 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
38045 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
38046 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
38047 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
38048 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
38049 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
38050 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
38051 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
38052 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
38053 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
38054 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
38055 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
38056 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
38057 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
38058 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
38059 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
38060 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
38061 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
38062 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
38063 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
38064 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
38065 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
38066 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
38067 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
38068 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
38069 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
38070 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
38071 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
38072 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
38073 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
38074 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
38075 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
38076 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
38077 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
38078 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
38079 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
38080 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
38081 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
38082 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
38083 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
38084 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
38085 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
38086 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
38087 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
38088 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
38089 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
38090 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
38091 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
38092 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
38093 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
38094 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
38095 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
38096 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
38097 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
38098 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
38099 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
38100 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
38101 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
38102 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
38103 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
38104 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
38105 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
38106 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
38107 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
38108 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
38109 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
38110 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
38111 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
38112 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
38113 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
38114 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
38115 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
38116 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
38117 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
38118 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
38119 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
38120 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
38121 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
38122 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
38123 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
38124 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
38125 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
38126 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
38127 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
38128 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
38129 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
38130 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
38131 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
38132 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
38133 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
38134 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
38135 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
38136 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
38137 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
38138 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
38139 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
38140 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
38141 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
38142 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
38143 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
38144 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
38145 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
38146 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
38147 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
38148 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
38149 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
38150 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
38151 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
38152 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
38153 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
38154 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
38155 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
38156 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
38157 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
38158 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
38159 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
38160 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
38161 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
38162 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
38163 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
38164 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
38165 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
38166 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
38167 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
38168 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
38169 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
38170 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
38171 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
38172 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
38173 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
38174 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
38175 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
38176 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
38177 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
38178 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
38179 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
38180 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
38181 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
38182 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
38183 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
38184 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
38185 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
38186 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
38187 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
38188 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
38189 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
38190 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
38191 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
38192 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
38193 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
38194 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
38195 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
38196 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
38197 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
38198 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
38199 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
38200 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
38201 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
38202 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
38203 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
38204 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
38205 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
38206 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
38207 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
38208 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
38209 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
38210 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
38211 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
38212 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
38213 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
38214 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
38215 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
38216 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
38217 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
38218 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
38219 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
38220 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
38221 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
38222 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
38223 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
38224 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
38225 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
38226 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
38227 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
38228 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
38229 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
38230 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
38231 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
38232 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
38233 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
38234 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
38235 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
38236 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
38237 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
38238 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
38239 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
38240 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38241 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
38242 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
38243 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
38244 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
38245 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
38246 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
38247 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
38248 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
38249 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
38250 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
38251 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
38252 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
38253 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
38254 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
38255 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
38256 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
38257 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
38258 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
38259 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
38260 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
38261 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
38262 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
38263 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
38264 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
38265 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
38266 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
38267 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
38268 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
38270 // Work around a chicken/egg problem in drawlist.cpp
38271 wxPyDrawList_SetAPIPtr();