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_char swig_types[0]
2467 #define SWIGTYPE_p_double swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477 #define SWIGTYPE_p_wxBitmap swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxBrush swig_types[13]
2480 #define SWIGTYPE_p_wxBrushList swig_types[14]
2481 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2482 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2485 #define SWIGTYPE_p_wxClientDC swig_types[19]
2486 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20]
2487 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2488 #define SWIGTYPE_p_wxColour swig_types[22]
2489 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDash swig_types[30]
2497 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEffects swig_types[35]
2502 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2503 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvent swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontList swig_types[45]
2512 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2515 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxImageList swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxLocale swig_types[68]
2535 #define SWIGTYPE_p_wxMask swig_types[69]
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2543 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2544 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2549 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2558 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPalette swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2562 #define SWIGTYPE_p_wxPen swig_types[96]
2563 #define SWIGTYPE_p_wxPenList swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2568 #define SWIGTYPE_p_wxPseudoDC swig_types[102]
2569 #define SWIGTYPE_p_wxPyApp swig_types[103]
2570 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2571 #define SWIGTYPE_p_wxPyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[106]
2573 #define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPySizer swig_types[108]
2575 #define SWIGTYPE_p_wxPyValidator swig_types[109]
2576 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[110]
2577 #define SWIGTYPE_p_wxRect swig_types[111]
2578 #define SWIGTYPE_p_wxRegion swig_types[112]
2579 #define SWIGTYPE_p_wxRegionIterator swig_types[113]
2580 #define SWIGTYPE_p_wxRendererNative swig_types[114]
2581 #define SWIGTYPE_p_wxRendererVersion swig_types[115]
2582 #define SWIGTYPE_p_wxScreenDC swig_types[116]
2583 #define SWIGTYPE_p_wxScrollEvent swig_types[117]
2584 #define SWIGTYPE_p_wxScrollWinEvent swig_types[118]
2585 #define SWIGTYPE_p_wxSetCursorEvent swig_types[119]
2586 #define SWIGTYPE_p_wxShowEvent swig_types[120]
2587 #define SWIGTYPE_p_wxSize swig_types[121]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[122]
2589 #define SWIGTYPE_p_wxSizer swig_types[123]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[124]
2591 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[125]
2592 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[126]
2593 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[127]
2594 #define SWIGTYPE_p_wxStockGDI swig_types[128]
2595 #define SWIGTYPE_p_wxString swig_types[129]
2596 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[130]
2597 #define SWIGTYPE_p_wxTIFFHandler swig_types[131]
2598 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[132]
2599 #define SWIGTYPE_p_wxValidator swig_types[133]
2600 #define SWIGTYPE_p_wxWindow swig_types[134]
2601 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[135]
2602 #define SWIGTYPE_p_wxWindowDC swig_types[136]
2603 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[137]
2604 #define SWIGTYPE_p_wxXPMHandler swig_types[138]
2605 static swig_type_info
*swig_types
[140];
2606 static swig_module_info swig_module
= {swig_types
, 139, 0, 0, 0, 0};
2607 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2608 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2610 /* -------- TYPES TABLE (END) -------- */
2612 #if (PY_VERSION_HEX <= 0x02000000)
2613 # if !defined(SWIG_PYTHON_CLASSIC)
2614 # error "This python version requires to use swig with the '-classic' option"
2617 #if (PY_VERSION_HEX <= 0x02020000)
2618 # error "This python version requires to use swig with the '-nomodern' option"
2620 #if (PY_VERSION_HEX <= 0x02020000)
2621 # error "This python version requires to use swig with the '-nomodernargs' option"
2624 # error "This python version requires to use swig with the '-nofastunpack' option"
2627 /*-----------------------------------------------
2628 @(target):= _gdi_.so
2629 ------------------------------------------------*/
2630 #define SWIG_init init_gdi_
2632 #define SWIG_name "_gdi_"
2634 #define SWIGVERSION 0x010329
2637 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2638 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2641 #include <stdexcept>
2645 class PyObject_ptr
{
2650 PyObject_ptr() :_obj(0)
2654 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2659 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2661 if (initial_ref
) Py_XINCREF(_obj
);
2664 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2666 Py_XINCREF(item
._obj
);
2677 operator PyObject
*() const
2682 PyObject
*operator->() const
2691 struct PyObject_var
: PyObject_ptr
{
2692 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2694 PyObject_var
& operator = (PyObject
* obj
)
2704 #include "wx/wxPython/wxPython.h"
2705 #include "wx/wxPython/pyclasses.h"
2708 static const wxString
wxPyEmptyString(wxEmptyString
);
2710 #define SWIG_From_long PyInt_FromLong
2713 SWIGINTERNINLINE PyObject
*
2714 SWIG_From_int (int value
)
2716 return SWIG_From_long (value
);
2722 # define LLONG_MIN LONG_LONG_MIN
2725 # define LLONG_MAX LONG_LONG_MAX
2728 # define ULLONG_MAX ULONG_LONG_MAX
2733 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2735 if (PyNumber_Check(obj
)) {
2736 if (val
) *val
= PyInt_AsLong(obj
);
2739 return SWIG_TypeError
;
2744 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2747 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2748 return SWIG_TypeError
;
2751 *val
= (unsigned long)v
;
2757 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2760 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
> UCHAR_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< unsigned char >(v
);
2772 SWIGINTERNINLINE PyObject
*
2773 SWIG_From_unsigned_SS_long (unsigned long value
)
2775 return (value
> LONG_MAX
) ?
2776 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2780 SWIGINTERNINLINE PyObject
*
2781 SWIG_From_unsigned_SS_char (unsigned char value
)
2783 return SWIG_From_unsigned_SS_long (value
);
2786 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2787 wxColour temp
, *obj
= &temp
;
2788 if ( other
== Py_None
) return false;
2789 if ( ! wxColour_helper(other
, &obj
) ) {
2793 return self
->operator==(*obj
);
2795 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return true;
2798 if ( ! wxColour_helper(other
, &obj
)) {
2802 return self
->operator!=(*obj
);
2804 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2805 PyObject
* rv
= PyTuple_New(3);
2811 green
= self
->Green();
2812 blue
= self
->Blue();
2814 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2815 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2816 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2819 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2820 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2824 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2827 int res
= SWIG_AsVal_long (obj
, &v
);
2828 if (SWIG_IsOK(res
)) {
2829 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2830 return SWIG_OverflowError
;
2832 if (val
) *val
= static_cast< int >(v
);
2838 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2840 int count
= self
->GetDashes(&dashes
);
2841 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2842 PyObject
* retval
= PyList_New(0);
2843 for (int x
=0; x
<count
; x
++) {
2844 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2845 PyList_Append(retval
, pyint
);
2848 wxPyEndBlockThreads(blocked
);
2851 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2852 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 int size
= PyList_Size(pyDashes
);
2854 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2856 // black magic warning! The array of wxDashes needs to exist as
2857 // long as the pen does because wxPen does not copy the array. So
2858 // stick a copy in a Python string object and attach it to _self,
2859 // and then call SetDashes with a pointer to that array. Then
2860 // when the Python pen object is destroyed the array will be
2862 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2863 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2865 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2867 Py_DECREF(strDashes
);
2868 wxPyEndBlockThreads(blocked
);
2870 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2871 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2873 SWIGINTERNINLINE PyObject
*
2874 SWIG_From_short (short value
)
2876 return SWIG_From_long (value
);
2881 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2884 int res
= SWIG_AsVal_long (obj
, &v
);
2885 if (SWIG_IsOK(res
)) {
2886 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2887 return SWIG_OverflowError
;
2889 if (val
) *val
= static_cast< short >(v
);
2896 #include <wx/image.h>
2898 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2899 char** cArray
= NULL
;
2902 if (!PyList_Check(listOfStrings
)) {
2903 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2906 count
= PyList_Size(listOfStrings
);
2907 cArray
= new char*[count
];
2909 for(int x
=0; x
<count
; x
++) {
2910 // TODO: Need some validation and error checking here
2911 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2917 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2918 char** cArray
= NULL
;
2921 cArray
= ConvertListOfStrings(listOfStrings
);
2924 bmp
= new wxBitmap(cArray
);
2928 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2931 PyString_AsStringAndSize(bits
, &buf
, &length
);
2932 return new wxBitmap(buf
, width
, height
, depth
);
2934 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2935 wxSize
size(self
->GetWidth(), self
->GetHeight());
2938 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2939 wxMask
*mask
= new wxMask(*self
, colour
);
2940 self
->SetMask(mask
);
2942 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2943 self
->SetWidth(size
.x
);
2944 self
->SetHeight(size
.y
);
2946 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2947 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2948 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2950 return new wxMask(bitmap
, *wxBLACK
);
2952 return new wxMask(bitmap
, colour
);
2955 #include <wx/iconbndl.h>
2957 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2958 wxIcon
* icon
= new wxIcon();
2959 icon
->CopyFromBitmap(bmp
);
2962 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 icon
= new wxIcon(cArray
);
2973 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2977 return new wxIconLocation(*filename
);
2980 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2987 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2994 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2996 wxImage
img(cursorName
, type
);
2997 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2998 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2999 return new wxCursor(img
);
3001 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3006 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3009 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3010 return self
->operator bool();
3013 #include <wx/fontutil.h>
3014 #include <wx/fontmap.h>
3015 #include <wx/fontenum.h>
3019 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3021 if (obj
== Py_True
) {
3022 if (val
) *val
= true;
3024 } else if (obj
== Py_False
) {
3025 if (val
) *val
= false;
3029 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3030 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3035 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3036 return self
->ToString();
3039 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3040 static wxNativeEncodingInfo info
;
3041 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3048 SWIGINTERNINLINE PyObject
*
3049 SWIG_From_size_t (size_t value
)
3051 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3055 SWIGINTERNINLINE
int
3056 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3059 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3060 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3064 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3065 wxFontEncoding alt_enc
;
3066 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3067 return PyInt_FromLong(alt_enc
);
3073 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3074 wxNativeFontInfo nfi
;
3075 nfi
.FromString(info
);
3076 return new wxFont(nfi
);
3078 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3079 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3081 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3082 return wxFontBase::New(pixelSize
, family
,
3083 style
, weight
, underlined
,
3086 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3087 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3089 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3090 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3092 class wxPyFontEnumerator
: public wxFontEnumerator
{
3094 wxPyFontEnumerator() {}
3095 ~wxPyFontEnumerator() {}
3097 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3098 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3103 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3104 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3107 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3109 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3111 ret
= wxArrayString2PyList_helper(arr
);
3112 wxPyEndBlockThreads(blocked
);
3115 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3117 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3118 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3119 ret
= wxArrayString2PyList_helper(arr
);
3120 wxPyEndBlockThreads(blocked
);
3126 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3129 loc
= new wxLocale();
3131 loc
= new wxLocale(language
, flags
);
3132 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3133 // for the floating point conversions and such to work right.
3134 #if PY_VERSION_HEX < 0x02040000
3135 setlocale(LC_NUMERIC
, "C");
3139 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3140 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3141 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3142 // for the floating point conversions and such to work right.
3143 #if PY_VERSION_HEX < 0x02040000
3144 setlocale(LC_NUMERIC
, "C");
3148 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3149 bool rc
= self
->Init(language
, flags
);
3150 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3151 // for the floating point conversions and such to work right.
3152 #if PY_VERSION_HEX < 0x02040000
3153 setlocale(LC_NUMERIC
, "C");
3158 #include "wx/wxPython/pydrawxxx.h"
3160 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3162 self
->GetPixel(x
, y
, &col
);
3165 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3167 self
->GetPixel(pt
, &col
);
3172 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3174 if (PyNumber_Check(obj
)) {
3175 if (val
) *val
= PyFloat_AsDouble(obj
);
3178 return SWIG_TypeError
;
3181 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3183 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3186 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3188 self
->GetClippingBox(rect
);
3191 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3193 self
->GetPartialTextExtents(text
, widths
);
3197 #define SWIG_From_double PyFloat_FromDouble
3199 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3200 self
->SetLogicalOrigin(point
.x
, point
.y
);
3202 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3203 self
->SetDeviceOrigin(point
.x
, point
.y
);
3205 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3206 self
->CalcBoundingBox(point
.x
, point
.y
);
3208 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3209 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3211 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3212 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3214 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3215 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3217 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3218 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3220 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3221 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3223 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3224 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3227 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3235 #include <wx/dcbuffer.h>
3238 #include <wx/dcps.h>
3241 #include <wx/metafile.h>
3245 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3246 self
->AddColour(name
, wxColour(red
, green
, blue
));
3249 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3250 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3251 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3252 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3255 #include <wx/effects.h>
3258 #include "wx/renderer.h"
3261 SWIGINTERNINLINE PyObject
*
3262 SWIG_From_bool (bool value
)
3264 return PyBool_FromLong(value
? 1 : 0);
3268 #include "wx/wxPython/pseudodc.h"
3270 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3272 self
->GetIdBounds(id
, rect
);
3278 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3279 PyObject
*resultobj
= 0;
3280 wxGDIObject
*result
= 0 ;
3282 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3284 if (!wxPyCheckForApp()) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (wxGDIObject
*)new wxGDIObject();
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3297 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3298 PyObject
*resultobj
= 0;
3299 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3302 PyObject
*swig_obj
[1] ;
3304 if (!args
) SWIG_fail
;
3306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3307 if (!SWIG_IsOK(res1
)) {
3308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3310 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= SWIG_Py_Void();
3325 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3326 PyObject
*resultobj
= 0;
3327 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3331 PyObject
*swig_obj
[1] ;
3333 if (!args
) SWIG_fail
;
3335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3336 if (!SWIG_IsOK(res1
)) {
3337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3339 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 result
= (bool)(arg1
)->IsNull();
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3355 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3358 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3359 return SWIG_Py_Void();
3362 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3363 return SWIG_Python_InitShadowInstance(args
);
3366 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
= 0;
3368 byte arg1
= (byte
) 0 ;
3369 byte arg2
= (byte
) 0 ;
3370 byte arg3
= (byte
) 0 ;
3371 wxColour
*result
= 0 ;
3372 unsigned char val1
;
3374 unsigned char val2
;
3376 unsigned char val3
;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3380 PyObject
* obj2
= 0 ;
3381 char * kwnames
[] = {
3382 (char *) "red",(char *) "green",(char *) "blue", NULL
3385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3387 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3388 if (!SWIG_IsOK(ecode1
)) {
3389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3391 arg1
= static_cast< byte
>(val1
);
3394 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3395 if (!SWIG_IsOK(ecode2
)) {
3396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3398 arg2
= static_cast< byte
>(val2
);
3401 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3402 if (!SWIG_IsOK(ecode3
)) {
3403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3405 arg3
= static_cast< byte
>(val3
);
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3420 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
= 0;
3422 wxString
*arg1
= 0 ;
3423 wxColour
*result
= 0 ;
3424 bool temp1
= false ;
3425 PyObject
* obj0
= 0 ;
3426 char * kwnames
[] = {
3427 (char *) "colorName", NULL
3430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3432 arg1
= wxString_in_helper(obj0
);
3433 if (arg1
== NULL
) SWIG_fail
;
3437 if (!wxPyCheckForApp()) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3458 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
*resultobj
= 0;
3460 unsigned long arg1
;
3461 wxColour
*result
= 0 ;
3462 unsigned long val1
;
3464 PyObject
* obj0
= 0 ;
3465 char * kwnames
[] = {
3466 (char *) "colRGB", NULL
3469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3470 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3471 if (!SWIG_IsOK(ecode1
)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3474 arg1
= static_cast< unsigned long >(val1
);
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (wxColour
*)new wxColour(arg1
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3488 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3489 PyObject
*resultobj
= 0;
3490 wxColour
*arg1
= (wxColour
*) 0 ;
3493 PyObject
*swig_obj
[1] ;
3495 if (!args
) SWIG_fail
;
3497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3498 if (!SWIG_IsOK(res1
)) {
3499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3501 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= SWIG_Py_Void();
3516 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3517 PyObject
*resultobj
= 0;
3518 wxColour
*arg1
= (wxColour
*) 0 ;
3522 PyObject
*swig_obj
[1] ;
3524 if (!args
) SWIG_fail
;
3526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3527 if (!SWIG_IsOK(res1
)) {
3528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3530 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 result
= (byte
)(arg1
)->Red();
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3544 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3545 PyObject
*resultobj
= 0;
3546 wxColour
*arg1
= (wxColour
*) 0 ;
3550 PyObject
*swig_obj
[1] ;
3552 if (!args
) SWIG_fail
;
3554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3555 if (!SWIG_IsOK(res1
)) {
3556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3558 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 result
= (byte
)(arg1
)->Green();
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3572 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3573 PyObject
*resultobj
= 0;
3574 wxColour
*arg1
= (wxColour
*) 0 ;
3578 PyObject
*swig_obj
[1] ;
3580 if (!args
) SWIG_fail
;
3582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3583 if (!SWIG_IsOK(res1
)) {
3584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3586 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 result
= (byte
)(arg1
)->Blue();
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3600 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3601 PyObject
*resultobj
= 0;
3602 wxColour
*arg1
= (wxColour
*) 0 ;
3606 PyObject
*swig_obj
[1] ;
3608 if (!args
) SWIG_fail
;
3610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3611 if (!SWIG_IsOK(res1
)) {
3612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3614 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (bool)(arg1
)->Ok();
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3630 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
= 0;
3632 wxColour
*arg1
= (wxColour
*) 0 ;
3638 unsigned char val2
;
3640 unsigned char val3
;
3642 unsigned char val4
;
3644 PyObject
* obj0
= 0 ;
3645 PyObject
* obj1
= 0 ;
3646 PyObject
* obj2
= 0 ;
3647 PyObject
* obj3
= 0 ;
3648 char * kwnames
[] = {
3649 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3654 if (!SWIG_IsOK(res1
)) {
3655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3657 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3658 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3659 if (!SWIG_IsOK(ecode2
)) {
3660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3662 arg2
= static_cast< byte
>(val2
);
3663 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3664 if (!SWIG_IsOK(ecode3
)) {
3665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3667 arg3
= static_cast< byte
>(val3
);
3668 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3669 if (!SWIG_IsOK(ecode4
)) {
3670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3672 arg4
= static_cast< byte
>(val4
);
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->Set(arg2
,arg3
,arg4
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 resultobj
= SWIG_Py_Void();
3686 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
= 0;
3688 wxColour
*arg1
= (wxColour
*) 0 ;
3689 unsigned long arg2
;
3692 unsigned long val2
;
3694 PyObject
* obj0
= 0 ;
3695 PyObject
* obj1
= 0 ;
3696 char * kwnames
[] = {
3697 (char *) "self",(char *) "colRGB", NULL
3700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3702 if (!SWIG_IsOK(res1
)) {
3703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3705 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3706 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3707 if (!SWIG_IsOK(ecode2
)) {
3708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3710 arg2
= static_cast< unsigned long >(val2
);
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_Py_Void();
3724 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
= 0;
3726 wxColour
*arg1
= (wxColour
*) 0 ;
3727 wxString
*arg2
= 0 ;
3730 bool temp2
= false ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3733 char * kwnames
[] = {
3734 (char *) "self",(char *) "colourName", NULL
3737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3739 if (!SWIG_IsOK(res1
)) {
3740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3742 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3744 arg2
= wxString_in_helper(obj1
);
3745 if (arg2
== NULL
) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 (arg1
)->InitFromName((wxString
const &)*arg2
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_Py_Void();
3769 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
= 0;
3771 wxColour
*arg1
= (wxColour
*) 0 ;
3772 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3780 char * kwnames
[] = {
3781 (char *) "self",(char *) "flags", NULL
3784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3786 if (!SWIG_IsOK(res1
)) {
3787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3789 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3791 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3792 if (!SWIG_IsOK(ecode2
)) {
3793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3795 arg2
= static_cast< long >(val2
);
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3816 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3817 PyObject
*resultobj
= 0;
3818 wxColour
*arg1
= (wxColour
*) 0 ;
3822 PyObject
*swig_obj
[1] ;
3824 if (!args
) SWIG_fail
;
3826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3827 if (!SWIG_IsOK(res1
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3830 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_From_long(static_cast< long >(result
));
3844 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
= 0;
3846 wxColour
*arg1
= (wxColour
*) 0 ;
3847 PyObject
*arg2
= (PyObject
*) 0 ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3853 char * kwnames
[] = {
3854 (char *) "self",(char *) "other", NULL
3857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3859 if (!SWIG_IsOK(res1
)) {
3860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3862 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3865 result
= (bool)wxColour___eq__(arg1
,arg2
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3877 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
= 0;
3879 wxColour
*arg1
= (wxColour
*) 0 ;
3880 PyObject
*arg2
= (PyObject
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3886 char * kwnames
[] = {
3887 (char *) "self",(char *) "other", NULL
3890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3892 if (!SWIG_IsOK(res1
)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3895 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3898 result
= (bool)wxColour___ne__(arg1
,arg2
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3910 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3911 PyObject
*resultobj
= 0;
3912 wxColour
*arg1
= (wxColour
*) 0 ;
3913 PyObject
*result
= 0 ;
3916 PyObject
*swig_obj
[1] ;
3918 if (!args
) SWIG_fail
;
3920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3921 if (!SWIG_IsOK(res1
)) {
3922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3924 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (PyObject
*)wxColour_Get(arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3938 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3939 PyObject
*resultobj
= 0;
3940 wxColour
*arg1
= (wxColour
*) 0 ;
3941 unsigned long result
;
3944 PyObject
*swig_obj
[1] ;
3946 if (!args
) SWIG_fail
;
3948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3949 if (!SWIG_IsOK(res1
)) {
3950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3952 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (unsigned long)wxColour_GetRGB(arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3966 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3969 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3970 return SWIG_Py_Void();
3973 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 return SWIG_Python_InitShadowInstance(args
);
3977 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
= 0;
3980 unsigned char *arg2
= (unsigned char *) 0 ;
3981 unsigned char *arg3
= (unsigned char *) 0 ;
3982 unsigned char *arg4
= (unsigned char *) 0 ;
3983 wxPalette
*result
= 0 ;
3992 PyObject
* obj0
= 0 ;
3993 PyObject
* obj1
= 0 ;
3994 PyObject
* obj2
= 0 ;
3995 PyObject
* obj3
= 0 ;
3996 char * kwnames
[] = {
3997 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4002 if (!SWIG_IsOK(ecode1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4005 arg1
= static_cast< int >(val1
);
4006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4007 if (!SWIG_IsOK(res2
)) {
4008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4010 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4011 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4012 if (!SWIG_IsOK(res3
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4015 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4016 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4017 if (!SWIG_IsOK(res4
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4020 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4022 if (!wxPyCheckForApp()) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4035 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4036 PyObject
*resultobj
= 0;
4037 wxPalette
*arg1
= (wxPalette
*) 0 ;
4040 PyObject
*swig_obj
[1] ;
4042 if (!args
) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4048 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= SWIG_Py_Void();
4063 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
= 0;
4065 wxPalette
*arg1
= (wxPalette
*) 0 ;
4072 unsigned char val2
;
4074 unsigned char val3
;
4076 unsigned char val4
;
4078 PyObject
* obj0
= 0 ;
4079 PyObject
* obj1
= 0 ;
4080 PyObject
* obj2
= 0 ;
4081 PyObject
* obj3
= 0 ;
4082 char * kwnames
[] = {
4083 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4088 if (!SWIG_IsOK(res1
)) {
4089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4091 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4092 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4093 if (!SWIG_IsOK(ecode2
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4096 arg2
= static_cast< byte
>(val2
);
4097 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4098 if (!SWIG_IsOK(ecode3
)) {
4099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4101 arg3
= static_cast< byte
>(val3
);
4102 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4103 if (!SWIG_IsOK(ecode4
)) {
4104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4106 arg4
= static_cast< byte
>(val4
);
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_From_int(static_cast< int >(result
));
4120 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxPalette
*arg1
= (wxPalette
*) 0 ;
4124 byte
*arg3
= (byte
*) 0 ;
4125 byte
*arg4
= (byte
*) 0 ;
4126 byte
*arg5
= (byte
*) 0 ;
4133 int res3
= SWIG_TMPOBJ
;
4135 int res4
= SWIG_TMPOBJ
;
4137 int res5
= SWIG_TMPOBJ
;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4140 char * kwnames
[] = {
4141 (char *) "self",(char *) "pixel", NULL
4147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4149 if (!SWIG_IsOK(res1
)) {
4150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4152 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4154 if (!SWIG_IsOK(ecode2
)) {
4155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4157 arg2
= static_cast< int >(val2
);
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4167 if (SWIG_IsTmpObj(res3
)) {
4168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4170 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4173 if (SWIG_IsTmpObj(res4
)) {
4174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4176 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4179 if (SWIG_IsTmpObj(res5
)) {
4180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4182 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4191 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4192 PyObject
*resultobj
= 0;
4193 wxPalette
*arg1
= (wxPalette
*) 0 ;
4197 PyObject
*swig_obj
[1] ;
4199 if (!args
) SWIG_fail
;
4201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4202 if (!SWIG_IsOK(res1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4205 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_From_int(static_cast< int >(result
));
4219 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4220 PyObject
*resultobj
= 0;
4221 wxPalette
*arg1
= (wxPalette
*) 0 ;
4225 PyObject
*swig_obj
[1] ;
4227 if (!args
) SWIG_fail
;
4229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4230 if (!SWIG_IsOK(res1
)) {
4231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4233 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)(arg1
)->Ok();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4252 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4253 return SWIG_Py_Void();
4256 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4257 return SWIG_Python_InitShadowInstance(args
);
4260 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
= 0;
4262 wxColour
*arg1
= 0 ;
4263 int arg2
= (int) 1 ;
4264 int arg3
= (int) wxSOLID
;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 char * kwnames
[] = {
4275 (char *) "colour",(char *) "width",(char *) "style", NULL
4278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4281 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4285 if (!SWIG_IsOK(ecode2
)) {
4286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4288 arg2
= static_cast< int >(val2
);
4291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4292 if (!SWIG_IsOK(ecode3
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4295 arg3
= static_cast< int >(val3
);
4298 if (!wxPyCheckForApp()) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4311 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4312 PyObject
*resultobj
= 0;
4313 wxPen
*arg1
= (wxPen
*) 0 ;
4316 PyObject
*swig_obj
[1] ;
4318 if (!args
) SWIG_fail
;
4320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4321 if (!SWIG_IsOK(res1
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4324 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_Py_Void();
4339 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4340 PyObject
*resultobj
= 0;
4341 wxPen
*arg1
= (wxPen
*) 0 ;
4345 PyObject
*swig_obj
[1] ;
4347 if (!args
) SWIG_fail
;
4349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4350 if (!SWIG_IsOK(res1
)) {
4351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4353 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 result
= (int)(arg1
)->GetCap();
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_From_int(static_cast< int >(result
));
4367 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4368 PyObject
*resultobj
= 0;
4369 wxPen
*arg1
= (wxPen
*) 0 ;
4373 PyObject
*swig_obj
[1] ;
4375 if (!args
) SWIG_fail
;
4377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4378 if (!SWIG_IsOK(res1
)) {
4379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4381 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 result
= (arg1
)->GetColour();
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4395 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4396 PyObject
*resultobj
= 0;
4397 wxPen
*arg1
= (wxPen
*) 0 ;
4401 PyObject
*swig_obj
[1] ;
4403 if (!args
) SWIG_fail
;
4405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4406 if (!SWIG_IsOK(res1
)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4409 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4412 result
= (int)(arg1
)->GetJoin();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= SWIG_From_int(static_cast< int >(result
));
4423 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4424 PyObject
*resultobj
= 0;
4425 wxPen
*arg1
= (wxPen
*) 0 ;
4429 PyObject
*swig_obj
[1] ;
4431 if (!args
) SWIG_fail
;
4433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4434 if (!SWIG_IsOK(res1
)) {
4435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4437 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (int)(arg1
)->GetStyle();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 resultobj
= SWIG_From_int(static_cast< int >(result
));
4451 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4452 PyObject
*resultobj
= 0;
4453 wxPen
*arg1
= (wxPen
*) 0 ;
4457 PyObject
*swig_obj
[1] ;
4459 if (!args
) SWIG_fail
;
4461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4462 if (!SWIG_IsOK(res1
)) {
4463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4465 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= (int)(arg1
)->GetWidth();
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_From_int(static_cast< int >(result
));
4479 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4480 PyObject
*resultobj
= 0;
4481 wxPen
*arg1
= (wxPen
*) 0 ;
4485 PyObject
*swig_obj
[1] ;
4487 if (!args
) SWIG_fail
;
4489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4490 if (!SWIG_IsOK(res1
)) {
4491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4493 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (bool)(arg1
)->Ok();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4509 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
= 0;
4511 wxPen
*arg1
= (wxPen
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4519 char * kwnames
[] = {
4520 (char *) "self",(char *) "cap_style", NULL
4523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4525 if (!SWIG_IsOK(res1
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4528 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4530 if (!SWIG_IsOK(ecode2
)) {
4531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4533 arg2
= static_cast< int >(val2
);
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 (arg1
)->SetCap(arg2
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= SWIG_Py_Void();
4547 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
= 0;
4549 wxPen
*arg1
= (wxPen
*) 0 ;
4550 wxColour
*arg2
= 0 ;
4554 PyObject
* obj0
= 0 ;
4555 PyObject
* obj1
= 0 ;
4556 char * kwnames
[] = {
4557 (char *) "self",(char *) "colour", NULL
4560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4565 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 (arg1
)->SetColour(*arg2
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= SWIG_Py_Void();
4583 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
= 0;
4585 wxPen
*arg1
= (wxPen
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 char * kwnames
[] = {
4594 (char *) "self",(char *) "join_style", NULL
4597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4599 if (!SWIG_IsOK(res1
)) {
4600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4602 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4604 if (!SWIG_IsOK(ecode2
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4607 arg2
= static_cast< int >(val2
);
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->SetJoin(arg2
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_Py_Void();
4621 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
= 0;
4623 wxPen
*arg1
= (wxPen
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4631 char * kwnames
[] = {
4632 (char *) "self",(char *) "style", NULL
4635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4640 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4642 if (!SWIG_IsOK(ecode2
)) {
4643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4645 arg2
= static_cast< int >(val2
);
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 (arg1
)->SetStyle(arg2
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= SWIG_Py_Void();
4659 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= 0;
4661 wxPen
*arg1
= (wxPen
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 char * kwnames
[] = {
4670 (char *) "self",(char *) "width", NULL
4673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4678 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4680 if (!SWIG_IsOK(ecode2
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4683 arg2
= static_cast< int >(val2
);
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 (arg1
)->SetWidth(arg2
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_Py_Void();
4697 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
= 0;
4699 wxPen
*arg1
= (wxPen
*) 0 ;
4701 wxDash
*arg3
= (wxDash
*) 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 char * kwnames
[] = {
4707 (char *) "self",(char *) "dashes", NULL
4710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4715 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4717 arg2
= PyList_Size(obj1
);
4718 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4719 if (arg3
== NULL
) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 (arg1
)->SetDashes(arg2
,arg3
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_Py_Void();
4729 if (arg3
) delete [] arg3
;
4734 if (arg3
) delete [] arg3
;
4740 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxPen
*arg1
= (wxPen
*) 0 ;
4743 PyObject
*result
= 0 ;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4754 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4768 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
= 0;
4770 wxPen
*arg1
= (wxPen
*) 0 ;
4771 PyObject
*arg2
= (PyObject
*) 0 ;
4772 PyObject
*arg3
= (PyObject
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4778 char * kwnames
[] = {
4779 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4784 if (!SWIG_IsOK(res1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4787 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxPen__SetDashes(arg1
,arg2
,arg3
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_Py_Void();
4803 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
= 0;
4805 wxPen
*arg1
= (wxPen
*) 0 ;
4806 wxPen
*arg2
= (wxPen
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4814 char * kwnames
[] = {
4815 (char *) "self",(char *) "other", NULL
4818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4820 if (!SWIG_IsOK(res1
)) {
4821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4823 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4825 if (!SWIG_IsOK(res2
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4828 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4844 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
= 0;
4846 wxPen
*arg1
= (wxPen
*) 0 ;
4847 wxPen
*arg2
= (wxPen
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj1
= 0 ;
4855 char * kwnames
[] = {
4856 (char *) "self",(char *) "other", NULL
4859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4861 if (!SWIG_IsOK(res1
)) {
4862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4864 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4866 if (!SWIG_IsOK(res2
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4869 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4885 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4888 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4889 return SWIG_Py_Void();
4892 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4893 return SWIG_Python_InitShadowInstance(args
);
4896 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
= 0;
4898 wxColour
*arg1
= 0 ;
4899 int arg2
= (int) wxSOLID
;
4900 wxBrush
*result
= 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 char * kwnames
[] = {
4907 (char *) "colour",(char *) "style", NULL
4910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4913 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4917 if (!SWIG_IsOK(ecode2
)) {
4918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4920 arg2
= static_cast< int >(val2
);
4923 if (!wxPyCheckForApp()) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4936 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
= 0;
4938 wxBitmap
*arg1
= 0 ;
4939 wxBrush
*result
= 0 ;
4942 PyObject
* obj0
= 0 ;
4943 char * kwnames
[] = {
4944 (char *) "stippleBitmap", NULL
4947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4955 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4957 if (!wxPyCheckForApp()) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4970 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4971 PyObject
*resultobj
= 0;
4972 wxBrush
*arg1
= (wxBrush
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4983 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_Py_Void();
4998 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxBrush
*arg1
= (wxBrush
*) 0 ;
5001 wxColour
*arg2
= 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5007 char * kwnames
[] = {
5008 (char *) "self",(char *) "col", NULL
5011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5016 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 (arg1
)->SetColour((wxColour
const &)*arg2
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_Py_Void();
5034 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
= 0;
5036 wxBrush
*arg1
= (wxBrush
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5044 char * kwnames
[] = {
5045 (char *) "self",(char *) "style", NULL
5048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5050 if (!SWIG_IsOK(res1
)) {
5051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5053 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5055 if (!SWIG_IsOK(ecode2
)) {
5056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5058 arg2
= static_cast< int >(val2
);
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 (arg1
)->SetStyle(arg2
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_Py_Void();
5072 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
= 0;
5074 wxBrush
*arg1
= (wxBrush
*) 0 ;
5075 wxBitmap
*arg2
= 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5082 char * kwnames
[] = {
5083 (char *) "self",(char *) "stipple", NULL
5086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5088 if (!SWIG_IsOK(res1
)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5091 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5093 if (!SWIG_IsOK(res2
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5099 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_Py_Void();
5113 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 PyObject
*resultobj
= 0;
5115 wxBrush
*arg1
= (wxBrush
*) 0 ;
5119 PyObject
*swig_obj
[1] ;
5121 if (!args
) SWIG_fail
;
5123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5124 if (!SWIG_IsOK(res1
)) {
5125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5127 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= ((wxBrush
const *)arg1
)->GetColour();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5141 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5142 PyObject
*resultobj
= 0;
5143 wxBrush
*arg1
= (wxBrush
*) 0 ;
5147 PyObject
*swig_obj
[1] ;
5149 if (!args
) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5155 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_From_int(static_cast< int >(result
));
5169 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5170 PyObject
*resultobj
= 0;
5171 wxBrush
*arg1
= (wxBrush
*) 0 ;
5172 wxBitmap
*result
= 0 ;
5175 PyObject
*swig_obj
[1] ;
5177 if (!args
) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5183 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5197 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5198 PyObject
*resultobj
= 0;
5199 wxBrush
*arg1
= (wxBrush
*) 0 ;
5203 PyObject
*swig_obj
[1] ;
5205 if (!args
) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5211 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5227 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5228 PyObject
*resultobj
= 0;
5229 wxBrush
*arg1
= (wxBrush
*) 0 ;
5233 PyObject
*swig_obj
[1] ;
5235 if (!args
) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5241 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (bool)(arg1
)->Ok();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5257 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5258 PyObject
*resultobj
= 0;
5259 wxBrush
*arg1
= (wxBrush
*) 0 ;
5263 PyObject
*swig_obj
[1] ;
5265 if (!args
) SWIG_fail
;
5267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5268 if (!SWIG_IsOK(res1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5271 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (short)(arg1
)->MacGetTheme();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_From_short(static_cast< short >(result
));
5285 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxBrush
*arg1
= (wxBrush
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "macThemeBrush", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5304 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5305 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5306 if (!SWIG_IsOK(ecode2
)) {
5307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5309 arg2
= static_cast< short >(val2
);
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 (arg1
)->MacSetTheme(arg2
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_Py_Void();
5323 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5326 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5327 return SWIG_Py_Void();
5330 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5331 return SWIG_Python_InitShadowInstance(args
);
5334 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
= 0;
5336 wxString
*arg1
= 0 ;
5337 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5338 wxBitmap
*result
= 0 ;
5339 bool temp1
= false ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 char * kwnames
[] = {
5345 (char *) "name",(char *) "type", NULL
5348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5350 arg1
= wxString_in_helper(obj0
);
5351 if (arg1
== NULL
) SWIG_fail
;
5355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5356 if (!SWIG_IsOK(ecode2
)) {
5357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5359 arg2
= static_cast< wxBitmapType
>(val2
);
5362 if (!wxPyCheckForApp()) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5383 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5384 PyObject
*resultobj
= 0;
5385 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5388 PyObject
*swig_obj
[1] ;
5390 if (!args
) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5396 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_Py_Void();
5411 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= 0;
5415 int arg3
= (int) -1 ;
5416 wxBitmap
*result
= 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "width",(char *) "height",(char *) "depth", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5432 if (!SWIG_IsOK(ecode1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5435 arg1
= static_cast< int >(val1
);
5436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5440 arg2
= static_cast< int >(val2
);
5442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5443 if (!SWIG_IsOK(ecode3
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5446 arg3
= static_cast< int >(val3
);
5449 if (!wxPyCheckForApp()) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5462 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= 0;
5465 wxBitmap
*result
= 0 ;
5468 PyObject
* obj0
= 0 ;
5469 char * kwnames
[] = {
5470 (char *) "icon", NULL
5473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5483 if (!wxPyCheckForApp()) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5496 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
= 0;
5499 int arg2
= (int) -1 ;
5500 wxBitmap
*result
= 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "image",(char *) "depth", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5519 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5522 if (!SWIG_IsOK(ecode2
)) {
5523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5525 arg2
= static_cast< int >(val2
);
5528 if (!wxPyCheckForApp()) SWIG_fail
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5541 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
= 0;
5543 PyObject
*arg1
= (PyObject
*) 0 ;
5544 wxBitmap
*result
= 0 ;
5545 PyObject
* obj0
= 0 ;
5546 char * kwnames
[] = {
5547 (char *) "listOfStrings", NULL
5550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5553 if (!wxPyCheckForApp()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5566 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
= 0;
5568 PyObject
*arg1
= (PyObject
*) 0 ;
5571 int arg4
= (int) 1 ;
5572 wxBitmap
*result
= 0 ;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5581 PyObject
* obj2
= 0 ;
5582 PyObject
* obj3
= 0 ;
5583 char * kwnames
[] = {
5584 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5590 if (!SWIG_IsOK(ecode2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5593 arg2
= static_cast< int >(val2
);
5594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5595 if (!SWIG_IsOK(ecode3
)) {
5596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5598 arg3
= static_cast< int >(val3
);
5600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5601 if (!SWIG_IsOK(ecode4
)) {
5602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5604 arg4
= static_cast< int >(val4
);
5607 if (!wxPyCheckForApp()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5620 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5621 PyObject
*resultobj
= 0;
5622 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5626 PyObject
*swig_obj
[1] ;
5628 if (!args
) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (bool)(arg1
)->Ok();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5650 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 PyObject
*resultobj
= 0;
5652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5656 PyObject
*swig_obj
[1] ;
5658 if (!args
) SWIG_fail
;
5660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5661 if (!SWIG_IsOK(res1
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5664 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (int)(arg1
)->GetWidth();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_From_int(static_cast< int >(result
));
5678 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5679 PyObject
*resultobj
= 0;
5680 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5684 PyObject
*swig_obj
[1] ;
5686 if (!args
) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (int)(arg1
)->GetHeight();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_From_int(static_cast< int >(result
));
5706 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5707 PyObject
*resultobj
= 0;
5708 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5712 PyObject
*swig_obj
[1] ;
5714 if (!args
) SWIG_fail
;
5716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5717 if (!SWIG_IsOK(res1
)) {
5718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5720 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)(arg1
)->GetDepth();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_From_int(static_cast< int >(result
));
5734 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5735 PyObject
*resultobj
= 0;
5736 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5740 PyObject
*swig_obj
[1] ;
5742 if (!args
) SWIG_fail
;
5744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5745 if (!SWIG_IsOK(res1
)) {
5746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5748 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= wxBitmap_GetSize(arg1
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5762 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5763 PyObject
*resultobj
= 0;
5764 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5765 SwigValueWrapper
<wxImage
> result
;
5768 PyObject
*swig_obj
[1] ;
5770 if (!args
) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5776 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5790 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5791 PyObject
*resultobj
= 0;
5792 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5793 wxMask
*result
= 0 ;
5796 PyObject
*swig_obj
[1] ;
5798 if (!args
) SWIG_fail
;
5800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5801 if (!SWIG_IsOK(res1
)) {
5802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5818 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= 0;
5820 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5821 wxMask
*arg2
= (wxMask
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5826 PyObject
* obj1
= 0 ;
5827 char * kwnames
[] = {
5828 (char *) "self",(char *) "mask", NULL
5831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5833 if (!SWIG_IsOK(res1
)) {
5834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5836 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5837 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5838 if (!SWIG_IsOK(res2
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 (arg1
)->SetMask(arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= SWIG_Py_Void();
5854 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
= 0;
5856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5857 wxColour
*arg2
= 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5863 char * kwnames
[] = {
5864 (char *) "self",(char *) "colour", NULL
5867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5869 if (!SWIG_IsOK(res1
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_Py_Void();
5890 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
= 0;
5892 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5894 SwigValueWrapper
<wxBitmap
> result
;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5900 char * kwnames
[] = {
5901 (char *) "self",(char *) "rect", NULL
5904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5909 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5927 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= 0;
5929 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5930 wxString
*arg2
= 0 ;
5932 wxPalette
*arg4
= (wxPalette
*) NULL
;
5936 bool temp2
= false ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 PyObject
* obj2
= 0 ;
5944 PyObject
* obj3
= 0 ;
5945 char * kwnames
[] = {
5946 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5951 if (!SWIG_IsOK(res1
)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5954 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5956 arg2
= wxString_in_helper(obj1
);
5957 if (arg2
== NULL
) SWIG_fail
;
5960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5961 if (!SWIG_IsOK(ecode3
)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5964 arg3
= static_cast< wxBitmapType
>(val3
);
5966 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5967 if (!SWIG_IsOK(res4
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5970 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5995 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= 0;
5997 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5998 wxString
*arg2
= 0 ;
6003 bool temp2
= false ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6009 char * kwnames
[] = {
6010 (char *) "self",(char *) "name",(char *) "type", NULL
6013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6015 if (!SWIG_IsOK(res1
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6018 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6020 arg2
= wxString_in_helper(obj1
);
6021 if (arg2
== NULL
) SWIG_fail
;
6024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6025 if (!SWIG_IsOK(ecode3
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6028 arg3
= static_cast< wxBitmapType
>(val3
);
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6052 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6053 PyObject
*resultobj
= 0;
6054 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6055 wxPalette
*result
= 0 ;
6058 PyObject
*swig_obj
[1] ;
6060 if (!args
) SWIG_fail
;
6062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6063 if (!SWIG_IsOK(res1
)) {
6064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6066 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6080 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
= 0;
6082 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6091 char * kwnames
[] = {
6092 (char *) "self",(char *) "icon", NULL
6095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6097 if (!SWIG_IsOK(res1
)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6100 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6102 if (!SWIG_IsOK(res2
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6108 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6124 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
= 0;
6126 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6134 char * kwnames
[] = {
6135 (char *) "self",(char *) "height", NULL
6138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6140 if (!SWIG_IsOK(res1
)) {
6141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6143 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6145 if (!SWIG_IsOK(ecode2
)) {
6146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6148 arg2
= static_cast< int >(val2
);
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 (arg1
)->SetHeight(arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_Py_Void();
6162 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6172 char * kwnames
[] = {
6173 (char *) "self",(char *) "width", NULL
6176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6178 if (!SWIG_IsOK(res1
)) {
6179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6181 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6183 if (!SWIG_IsOK(ecode2
)) {
6184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6186 arg2
= static_cast< int >(val2
);
6188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6189 (arg1
)->SetWidth(arg2
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= SWIG_Py_Void();
6200 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
= 0;
6202 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6210 char * kwnames
[] = {
6211 (char *) "self",(char *) "depth", NULL
6214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6216 if (!SWIG_IsOK(res1
)) {
6217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6219 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6221 if (!SWIG_IsOK(ecode2
)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6224 arg2
= static_cast< int >(val2
);
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 (arg1
)->SetDepth(arg2
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
= 0;
6240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 char * kwnames
[] = {
6248 (char *) "self",(char *) "size", NULL
6251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6256 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_Py_Void();
6274 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6285 char * kwnames
[] = {
6286 (char *) "self",(char *) "other", NULL
6289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6291 if (!SWIG_IsOK(res1
)) {
6292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6294 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res2
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6299 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6315 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= 0;
6317 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6318 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6324 PyObject
* obj0
= 0 ;
6325 PyObject
* obj1
= 0 ;
6326 char * kwnames
[] = {
6327 (char *) "self",(char *) "other", NULL
6330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6332 if (!SWIG_IsOK(res1
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6335 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6337 if (!SWIG_IsOK(res2
)) {
6338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6340 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6356 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6359 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6360 return SWIG_Py_Void();
6363 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6364 return SWIG_Python_InitShadowInstance(args
);
6367 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
= 0;
6369 wxBitmap
*arg1
= 0 ;
6370 wxColour
const &arg2_defvalue
= wxNullColour
;
6371 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6372 wxMask
*result
= 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 char * kwnames
[] = {
6379 (char *) "bitmap",(char *) "colour", NULL
6382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6390 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6394 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6398 if (!wxPyCheckForApp()) SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6411 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6412 PyObject
*resultobj
= 0;
6413 wxMask
*arg1
= (wxMask
*) 0 ;
6416 PyObject
*swig_obj
[1] ;
6418 if (!args
) SWIG_fail
;
6420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6421 if (!SWIG_IsOK(res1
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6424 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_Py_Void();
6439 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6442 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6443 return SWIG_Py_Void();
6446 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6447 return SWIG_Python_InitShadowInstance(args
);
6450 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
= 0;
6452 wxString
*arg1
= 0 ;
6454 int arg3
= (int) -1 ;
6455 int arg4
= (int) -1 ;
6456 wxIcon
*result
= 0 ;
6457 bool temp1
= false ;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6466 PyObject
* obj2
= 0 ;
6467 PyObject
* obj3
= 0 ;
6468 char * kwnames
[] = {
6469 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6474 arg1
= wxString_in_helper(obj0
);
6475 if (arg1
== NULL
) SWIG_fail
;
6478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6479 if (!SWIG_IsOK(ecode2
)) {
6480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6482 arg2
= static_cast< wxBitmapType
>(val2
);
6484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6485 if (!SWIG_IsOK(ecode3
)) {
6486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6488 arg3
= static_cast< int >(val3
);
6491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6492 if (!SWIG_IsOK(ecode4
)) {
6493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6495 arg4
= static_cast< int >(val4
);
6498 if (!wxPyCheckForApp()) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6519 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6520 PyObject
*resultobj
= 0;
6521 wxIcon
*arg1
= (wxIcon
*) 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6532 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_Py_Void();
6547 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6548 PyObject
*resultobj
= 0;
6549 wxIcon
*result
= 0 ;
6551 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6553 if (!wxPyCheckForApp()) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (wxIcon
*)new wxIcon();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6566 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
= 0;
6568 wxIconLocation
*arg1
= 0 ;
6569 wxIcon
*result
= 0 ;
6572 PyObject
* obj0
= 0 ;
6573 char * kwnames
[] = {
6574 (char *) "loc", NULL
6577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6585 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6587 if (!wxPyCheckForApp()) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6600 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxBitmap
*arg1
= 0 ;
6603 wxIcon
*result
= 0 ;
6606 PyObject
* obj0
= 0 ;
6607 char * kwnames
[] = {
6608 (char *) "bmp", NULL
6611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6612 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6613 if (!SWIG_IsOK(res1
)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6619 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6621 if (!wxPyCheckForApp()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6634 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
= 0;
6636 PyObject
*arg1
= (PyObject
*) 0 ;
6637 wxIcon
*result
= 0 ;
6638 PyObject
* obj0
= 0 ;
6639 char * kwnames
[] = {
6640 (char *) "listOfStrings", NULL
6643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6646 if (!wxPyCheckForApp()) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (wxIcon
*)new_wxIcon(arg1
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6659 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6660 PyObject
*resultobj
= 0;
6661 wxIcon
*arg1
= (wxIcon
*) 0 ;
6665 PyObject
*swig_obj
[1] ;
6667 if (!args
) SWIG_fail
;
6669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6670 if (!SWIG_IsOK(res1
)) {
6671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6673 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= (bool)(arg1
)->Ok();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6690 PyObject
*resultobj
= 0;
6691 wxIcon
*arg1
= (wxIcon
*) 0 ;
6695 PyObject
*swig_obj
[1] ;
6697 if (!args
) SWIG_fail
;
6699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6700 if (!SWIG_IsOK(res1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6703 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (int)(arg1
)->GetWidth();
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_From_int(static_cast< int >(result
));
6717 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6718 PyObject
*resultobj
= 0;
6719 wxIcon
*arg1
= (wxIcon
*) 0 ;
6723 PyObject
*swig_obj
[1] ;
6725 if (!args
) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6731 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (int)(arg1
)->GetHeight();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_From_int(static_cast< int >(result
));
6745 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6746 PyObject
*resultobj
= 0;
6747 wxIcon
*arg1
= (wxIcon
*) 0 ;
6751 PyObject
*swig_obj
[1] ;
6753 if (!args
) SWIG_fail
;
6755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6756 if (!SWIG_IsOK(res1
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6759 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (int)(arg1
)->GetDepth();
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_From_int(static_cast< int >(result
));
6773 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6775 wxIcon
*arg1
= (wxIcon
*) 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6783 char * kwnames
[] = {
6784 (char *) "self",(char *) "w", NULL
6787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6789 if (!SWIG_IsOK(res1
)) {
6790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6792 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6794 if (!SWIG_IsOK(ecode2
)) {
6795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6797 arg2
= static_cast< int >(val2
);
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 (arg1
)->SetWidth(arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_Py_Void();
6811 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxIcon
*arg1
= (wxIcon
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6821 char * kwnames
[] = {
6822 (char *) "self",(char *) "h", NULL
6825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6827 if (!SWIG_IsOK(res1
)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6830 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6832 if (!SWIG_IsOK(ecode2
)) {
6833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6835 arg2
= static_cast< int >(val2
);
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 (arg1
)->SetHeight(arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_Py_Void();
6849 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
= 0;
6851 wxIcon
*arg1
= (wxIcon
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 char * kwnames
[] = {
6860 (char *) "self",(char *) "d", NULL
6863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6865 if (!SWIG_IsOK(res1
)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6868 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6870 if (!SWIG_IsOK(ecode2
)) {
6871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6873 arg2
= static_cast< int >(val2
);
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 (arg1
)->SetDepth(arg2
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_Py_Void();
6887 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
= 0;
6889 wxIcon
*arg1
= (wxIcon
*) 0 ;
6890 wxBitmap
*arg2
= 0 ;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6897 char * kwnames
[] = {
6898 (char *) "self",(char *) "bmp", NULL
6901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6903 if (!SWIG_IsOK(res1
)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6906 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6908 if (!SWIG_IsOK(res2
)) {
6909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6914 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= SWIG_Py_Void();
6928 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6931 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6932 return SWIG_Py_Void();
6935 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6936 return SWIG_Python_InitShadowInstance(args
);
6939 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6942 int arg2
= (int) 0 ;
6943 wxIconLocation
*result
= 0 ;
6944 bool temp1
= false ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "filename",(char *) "num", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6956 arg1
= wxString_in_helper(obj0
);
6957 if (arg1
== NULL
) SWIG_fail
;
6962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6963 if (!SWIG_IsOK(ecode2
)) {
6964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6966 arg2
= static_cast< int >(val2
);
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6989 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6990 PyObject
*resultobj
= 0;
6991 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
6994 PyObject
*swig_obj
[1] ;
6996 if (!args
) SWIG_fail
;
6998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
6999 if (!SWIG_IsOK(res1
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7002 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7018 PyObject
*resultobj
= 0;
7019 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7023 PyObject
*swig_obj
[1] ;
7025 if (!args
) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7031 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7047 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
= 0;
7049 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7050 wxString
*arg2
= 0 ;
7053 bool temp2
= false ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 char * kwnames
[] = {
7057 (char *) "self",(char *) "filename", NULL
7060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7065 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7067 arg2
= wxString_in_helper(obj1
);
7068 if (arg2
== NULL
) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 (arg1
)->SetFileName((wxString
const &)*arg2
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_Py_Void();
7092 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7093 PyObject
*resultobj
= 0;
7094 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7095 wxString
*result
= 0 ;
7098 PyObject
*swig_obj
[1] ;
7100 if (!args
) SWIG_fail
;
7102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7103 if (!SWIG_IsOK(res1
)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7106 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7111 result
= (wxString
*) &_result_ref
;
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7120 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7129 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
= 0;
7131 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 char * kwnames
[] = {
7140 (char *) "self",(char *) "num", NULL
7143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7148 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7150 if (!SWIG_IsOK(ecode2
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7153 arg2
= static_cast< int >(val2
);
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 wxIconLocation_SetIndex(arg1
,arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7167 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7168 PyObject
*resultobj
= 0;
7169 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7173 PyObject
*swig_obj
[1] ;
7175 if (!args
) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7181 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (int)wxIconLocation_GetIndex(arg1
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_From_int(static_cast< int >(result
));
7195 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7198 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7199 return SWIG_Py_Void();
7202 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 return SWIG_Python_InitShadowInstance(args
);
7206 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7207 PyObject
*resultobj
= 0;
7208 wxIconBundle
*result
= 0 ;
7210 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (wxIconBundle
*)new wxIconBundle();
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7224 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
= 0;
7226 wxString
*arg1
= 0 ;
7228 wxIconBundle
*result
= 0 ;
7229 bool temp1
= false ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 char * kwnames
[] = {
7235 (char *) "file",(char *) "type", NULL
7238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 arg1
= wxString_in_helper(obj0
);
7241 if (arg1
== NULL
) SWIG_fail
;
7244 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7245 if (!SWIG_IsOK(ecode2
)) {
7246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7248 arg2
= static_cast< long >(val2
);
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7270 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
= 0;
7273 wxIconBundle
*result
= 0 ;
7276 PyObject
* obj0
= 0 ;
7277 char * kwnames
[] = {
7278 (char *) "icon", NULL
7281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7289 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7303 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7304 PyObject
*resultobj
= 0;
7305 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7308 PyObject
*swig_obj
[1] ;
7310 if (!args
) SWIG_fail
;
7312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7313 if (!SWIG_IsOK(res1
)) {
7314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7316 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_Py_Void();
7331 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
= 0;
7333 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7339 PyObject
* obj0
= 0 ;
7340 PyObject
* obj1
= 0 ;
7341 char * kwnames
[] = {
7342 (char *) "self",(char *) "icon", NULL
7345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7350 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7352 if (!SWIG_IsOK(res2
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7358 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_Py_Void();
7372 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
= 0;
7374 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7375 wxString
*arg2
= 0 ;
7379 bool temp2
= false ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj1
= 0 ;
7384 PyObject
* obj2
= 0 ;
7385 char * kwnames
[] = {
7386 (char *) "self",(char *) "file",(char *) "type", NULL
7389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7391 if (!SWIG_IsOK(res1
)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7394 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7396 arg2
= wxString_in_helper(obj1
);
7397 if (arg2
== NULL
) SWIG_fail
;
7400 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7401 if (!SWIG_IsOK(ecode3
)) {
7402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7404 arg3
= static_cast< long >(val3
);
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_Py_Void();
7426 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
= 0;
7428 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7430 wxIcon
*result
= 0 ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7436 char * kwnames
[] = {
7437 (char *) "self",(char *) "size", NULL
7440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7442 if (!SWIG_IsOK(res1
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7445 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7448 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7454 result
= (wxIcon
*) &_result_ref
;
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 wxIcon
* resultptr
= new wxIcon(*result
);
7461 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7469 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7472 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7473 return SWIG_Py_Void();
7476 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 return SWIG_Python_InitShadowInstance(args
);
7480 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
= 0;
7482 wxString
*arg1
= 0 ;
7484 int arg3
= (int) 0 ;
7485 int arg4
= (int) 0 ;
7486 wxCursor
*result
= 0 ;
7487 bool temp1
= false ;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7496 PyObject
* obj2
= 0 ;
7497 PyObject
* obj3
= 0 ;
7498 char * kwnames
[] = {
7499 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7504 arg1
= wxString_in_helper(obj0
);
7505 if (arg1
== NULL
) SWIG_fail
;
7508 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7509 if (!SWIG_IsOK(ecode2
)) {
7510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7512 arg2
= static_cast< long >(val2
);
7514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7515 if (!SWIG_IsOK(ecode3
)) {
7516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7518 arg3
= static_cast< int >(val3
);
7521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7522 if (!SWIG_IsOK(ecode4
)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7525 arg4
= static_cast< int >(val4
);
7528 if (!wxPyCheckForApp()) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7549 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7550 PyObject
*resultobj
= 0;
7551 wxCursor
*arg1
= (wxCursor
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7562 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_Py_Void();
7577 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
= 0;
7580 wxCursor
*result
= 0 ;
7583 PyObject
* obj0
= 0 ;
7584 char * kwnames
[] = {
7588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7590 if (!SWIG_IsOK(ecode1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7593 arg1
= static_cast< int >(val1
);
7595 if (!wxPyCheckForApp()) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (wxCursor
*)new wxCursor(arg1
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7608 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
= 0;
7611 wxCursor
*result
= 0 ;
7614 PyObject
* obj0
= 0 ;
7615 char * kwnames
[] = {
7616 (char *) "image", NULL
7619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7620 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7621 if (!SWIG_IsOK(res1
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7627 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7629 if (!wxPyCheckForApp()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7642 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7643 PyObject
*resultobj
= 0;
7644 wxCursor
*arg1
= (wxCursor
*) 0 ;
7648 PyObject
*swig_obj
[1] ;
7650 if (!args
) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7656 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= (bool)(arg1
)->Ok();
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7672 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7675 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7676 return SWIG_Py_Void();
7679 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 return SWIG_Python_InitShadowInstance(args
);
7683 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
= 0;
7685 int arg1
= (int) 0 ;
7686 int arg2
= (int) 0 ;
7687 int arg3
= (int) 0 ;
7688 int arg4
= (int) 0 ;
7689 wxRegion
*result
= 0 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7700 PyObject
* obj2
= 0 ;
7701 PyObject
* obj3
= 0 ;
7702 char * kwnames
[] = {
7703 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7709 if (!SWIG_IsOK(ecode1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7712 arg1
= static_cast< int >(val1
);
7715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7716 if (!SWIG_IsOK(ecode2
)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7719 arg2
= static_cast< int >(val2
);
7722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7723 if (!SWIG_IsOK(ecode3
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7726 arg3
= static_cast< int >(val3
);
7729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7730 if (!SWIG_IsOK(ecode4
)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7733 arg4
= static_cast< int >(val4
);
7736 if (!wxPyCheckForApp()) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7749 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
= 0;
7751 wxBitmap
*arg1
= 0 ;
7752 wxRegion
*result
= 0 ;
7755 PyObject
* obj0
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "bmp", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7768 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7770 if (!wxPyCheckForApp()) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7783 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= 0;
7785 wxBitmap
*arg1
= 0 ;
7786 wxColour
*arg2
= 0 ;
7787 int arg3
= (int) 0 ;
7788 wxRegion
*result
= 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 PyObject
* obj2
= 0 ;
7797 char * kwnames
[] = {
7798 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7802 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7803 if (!SWIG_IsOK(res1
)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7809 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7816 if (!SWIG_IsOK(ecode3
)) {
7817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7819 arg3
= static_cast< int >(val3
);
7822 if (!wxPyCheckForApp()) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7835 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
= 0;
7838 wxPoint
*arg2
= (wxPoint
*) 0 ;
7839 int arg3
= (int) wxWINDING_RULE
;
7840 wxRegion
*result
= 0 ;
7843 PyObject
* obj0
= 0 ;
7844 PyObject
* obj1
= 0 ;
7845 char * kwnames
[] = {
7846 (char *) "points",(char *) "fillStyle", NULL
7849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7851 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7852 if (arg2
== NULL
) SWIG_fail
;
7855 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7856 if (!SWIG_IsOK(ecode3
)) {
7857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7859 arg3
= static_cast< int >(val3
);
7862 if (!wxPyCheckForApp()) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7870 if (arg2
) delete [] arg2
;
7875 if (arg2
) delete [] arg2
;
7881 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 PyObject
*resultobj
= 0;
7883 wxRegion
*arg1
= (wxRegion
*) 0 ;
7886 PyObject
*swig_obj
[1] ;
7888 if (!args
) SWIG_fail
;
7890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7891 if (!SWIG_IsOK(res1
)) {
7892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7894 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_Py_Void();
7909 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7910 PyObject
*resultobj
= 0;
7911 wxRegion
*arg1
= (wxRegion
*) 0 ;
7914 PyObject
*swig_obj
[1] ;
7916 if (!args
) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7922 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_Py_Void();
7936 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxRegion
*arg1
= (wxRegion
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 char * kwnames
[] = {
7952 (char *) "self",(char *) "x",(char *) "y", NULL
7955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7960 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7962 if (!SWIG_IsOK(ecode2
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7965 arg2
= static_cast< int >(val2
);
7966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7967 if (!SWIG_IsOK(ecode3
)) {
7968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7970 arg3
= static_cast< int >(val3
);
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7986 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
= 0;
7988 wxRegion
*arg1
= (wxRegion
*) 0 ;
7991 wxRegionContain result
;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8001 char * kwnames
[] = {
8002 (char *) "self",(char *) "x",(char *) "y", NULL
8005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8010 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8012 if (!SWIG_IsOK(ecode2
)) {
8013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8015 arg2
= static_cast< int >(val2
);
8016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8017 if (!SWIG_IsOK(ecode3
)) {
8018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8020 arg3
= static_cast< int >(val3
);
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_From_int(static_cast< int >(result
));
8034 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
= 0;
8036 wxRegion
*arg1
= (wxRegion
*) 0 ;
8038 wxRegionContain result
;
8042 PyObject
* obj0
= 0 ;
8043 PyObject
* obj1
= 0 ;
8044 char * kwnames
[] = {
8045 (char *) "self",(char *) "pt", NULL
8048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8050 if (!SWIG_IsOK(res1
)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8053 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_From_int(static_cast< int >(result
));
8071 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
= 0;
8073 wxRegion
*arg1
= (wxRegion
*) 0 ;
8075 wxRegionContain result
;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8081 char * kwnames
[] = {
8082 (char *) "self",(char *) "rect", NULL
8085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= SWIG_From_int(static_cast< int >(result
));
8108 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= 0;
8110 wxRegion
*arg1
= (wxRegion
*) 0 ;
8115 wxRegionContain result
;
8126 PyObject
* obj0
= 0 ;
8127 PyObject
* obj1
= 0 ;
8128 PyObject
* obj2
= 0 ;
8129 PyObject
* obj3
= 0 ;
8130 PyObject
* obj4
= 0 ;
8131 char * kwnames
[] = {
8132 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8137 if (!SWIG_IsOK(res1
)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8140 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8142 if (!SWIG_IsOK(ecode2
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8145 arg2
= static_cast< int >(val2
);
8146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8147 if (!SWIG_IsOK(ecode3
)) {
8148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8150 arg3
= static_cast< int >(val3
);
8151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8152 if (!SWIG_IsOK(ecode4
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8155 arg4
= static_cast< int >(val4
);
8156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8157 if (!SWIG_IsOK(ecode5
)) {
8158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8160 arg5
= static_cast< int >(val5
);
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= SWIG_From_int(static_cast< int >(result
));
8174 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8175 PyObject
*resultobj
= 0;
8176 wxRegion
*arg1
= (wxRegion
*) 0 ;
8180 PyObject
*swig_obj
[1] ;
8182 if (!args
) SWIG_fail
;
8184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8185 if (!SWIG_IsOK(res1
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8188 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (arg1
)->GetBox();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8202 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
= 0;
8204 wxRegion
*arg1
= (wxRegion
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 PyObject
* obj2
= 0 ;
8223 PyObject
* obj3
= 0 ;
8224 PyObject
* obj4
= 0 ;
8225 char * kwnames
[] = {
8226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8231 if (!SWIG_IsOK(res1
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8234 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8236 if (!SWIG_IsOK(ecode2
)) {
8237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8239 arg2
= static_cast< int >(val2
);
8240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8241 if (!SWIG_IsOK(ecode3
)) {
8242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8244 arg3
= static_cast< int >(val3
);
8245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8246 if (!SWIG_IsOK(ecode4
)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8249 arg4
= static_cast< int >(val4
);
8250 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8251 if (!SWIG_IsOK(ecode5
)) {
8252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8254 arg5
= static_cast< int >(val5
);
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8270 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
= 0;
8272 wxRegion
*arg1
= (wxRegion
*) 0 ;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8280 char * kwnames
[] = {
8281 (char *) "self",(char *) "rect", NULL
8284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8289 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
= 0;
8311 wxRegion
*arg1
= (wxRegion
*) 0 ;
8312 wxRegion
*arg2
= 0 ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8320 char * kwnames
[] = {
8321 (char *) "self",(char *) "region", NULL
8324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8329 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8330 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8331 if (!SWIG_IsOK(res2
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8337 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8353 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxRegion
*arg1
= (wxRegion
*) 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8367 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)(arg1
)->IsEmpty();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8383 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
= 0;
8385 wxRegion
*arg1
= (wxRegion
*) 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8403 PyObject
* obj2
= 0 ;
8404 PyObject
* obj3
= 0 ;
8405 PyObject
* obj4
= 0 ;
8406 char * kwnames
[] = {
8407 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8412 if (!SWIG_IsOK(res1
)) {
8413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8415 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8417 if (!SWIG_IsOK(ecode2
)) {
8418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8420 arg2
= static_cast< int >(val2
);
8421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8422 if (!SWIG_IsOK(ecode3
)) {
8423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8425 arg3
= static_cast< int >(val3
);
8426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8427 if (!SWIG_IsOK(ecode4
)) {
8428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8430 arg4
= static_cast< int >(val4
);
8431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8432 if (!SWIG_IsOK(ecode5
)) {
8433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8435 arg5
= static_cast< int >(val5
);
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8451 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
= 0;
8453 wxRegion
*arg1
= (wxRegion
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 char * kwnames
[] = {
8462 (char *) "self",(char *) "rect", NULL
8465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8467 if (!SWIG_IsOK(res1
)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8470 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
= 0;
8492 wxRegion
*arg1
= (wxRegion
*) 0 ;
8493 wxRegion
*arg2
= 0 ;
8499 PyObject
* obj0
= 0 ;
8500 PyObject
* obj1
= 0 ;
8501 char * kwnames
[] = {
8502 (char *) "self",(char *) "region", NULL
8505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8510 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8512 if (!SWIG_IsOK(res2
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8518 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8534 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
= 0;
8536 wxRegion
*arg1
= (wxRegion
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8555 PyObject
* obj3
= 0 ;
8556 PyObject
* obj4
= 0 ;
8557 char * kwnames
[] = {
8558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8566 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8568 if (!SWIG_IsOK(ecode2
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8571 arg2
= static_cast< int >(val2
);
8572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8573 if (!SWIG_IsOK(ecode3
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8576 arg3
= static_cast< int >(val3
);
8577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8578 if (!SWIG_IsOK(ecode4
)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8581 arg4
= static_cast< int >(val4
);
8582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8583 if (!SWIG_IsOK(ecode5
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8586 arg5
= static_cast< int >(val5
);
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
= 0;
8604 wxRegion
*arg1
= (wxRegion
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "rect", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8624 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8641 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
= 0;
8643 wxRegion
*arg1
= (wxRegion
*) 0 ;
8644 wxRegion
*arg2
= 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 char * kwnames
[] = {
8653 (char *) "self",(char *) "region", NULL
8656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8658 if (!SWIG_IsOK(res1
)) {
8659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8663 if (!SWIG_IsOK(res2
)) {
8664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8669 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8685 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
= 0;
8687 wxRegion
*arg1
= (wxRegion
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8705 PyObject
* obj2
= 0 ;
8706 PyObject
* obj3
= 0 ;
8707 PyObject
* obj4
= 0 ;
8708 char * kwnames
[] = {
8709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8714 if (!SWIG_IsOK(res1
)) {
8715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8717 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8719 if (!SWIG_IsOK(ecode2
)) {
8720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8722 arg2
= static_cast< int >(val2
);
8723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8724 if (!SWIG_IsOK(ecode3
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8727 arg3
= static_cast< int >(val3
);
8728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8729 if (!SWIG_IsOK(ecode4
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8732 arg4
= static_cast< int >(val4
);
8733 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8734 if (!SWIG_IsOK(ecode5
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8737 arg5
= static_cast< int >(val5
);
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8753 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxRegion
*arg1
= (wxRegion
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "rect", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8772 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8775 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8792 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxRegion
*arg1
= (wxRegion
*) 0 ;
8795 wxRegion
*arg2
= 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "self",(char *) "region", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8812 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8814 if (!SWIG_IsOK(res2
)) {
8815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8820 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8836 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8837 PyObject
*resultobj
= 0;
8838 wxRegion
*arg1
= (wxRegion
*) 0 ;
8839 SwigValueWrapper
<wxBitmap
> result
;
8842 PyObject
*swig_obj
[1] ;
8844 if (!args
) SWIG_fail
;
8846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8847 if (!SWIG_IsOK(res1
)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8850 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (arg1
)->ConvertToBitmap();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8864 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxRegion
*arg1
= (wxRegion
*) 0 ;
8867 wxBitmap
*arg2
= 0 ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "self",(char *) "bmp", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8881 if (!SWIG_IsOK(res1
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8886 if (!SWIG_IsOK(res2
)) {
8887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8892 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 wxRegion
*arg1
= (wxRegion
*) 0 ;
8911 wxBitmap
*arg2
= 0 ;
8912 wxColour
*arg3
= 0 ;
8913 int arg4
= (int) 0 ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8925 PyObject
* obj3
= 0 ;
8926 char * kwnames
[] = {
8927 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8932 if (!SWIG_IsOK(res1
)) {
8933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8935 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8937 if (!SWIG_IsOK(res2
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8943 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8946 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8950 if (!SWIG_IsOK(ecode4
)) {
8951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8953 arg4
= static_cast< int >(val4
);
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8970 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8973 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8974 return SWIG_Py_Void();
8977 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 return SWIG_Python_InitShadowInstance(args
);
8981 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
= 0;
8983 wxRegion
*arg1
= 0 ;
8984 wxRegionIterator
*result
= 0 ;
8987 PyObject
* obj0
= 0 ;
8988 char * kwnames
[] = {
8989 (char *) "region", NULL
8992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8993 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
8994 if (!SWIG_IsOK(res1
)) {
8995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
8998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9000 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9002 if (!wxPyCheckForApp()) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9015 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9016 PyObject
*resultobj
= 0;
9017 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9020 PyObject
*swig_obj
[1] ;
9022 if (!args
) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9028 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_Py_Void();
9043 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9044 PyObject
*resultobj
= 0;
9045 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9049 PyObject
*swig_obj
[1] ;
9051 if (!args
) SWIG_fail
;
9053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9054 if (!SWIG_IsOK(res1
)) {
9055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9057 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (int)(arg1
)->GetX();
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= SWIG_From_int(static_cast< int >(result
));
9071 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9072 PyObject
*resultobj
= 0;
9073 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9077 PyObject
*swig_obj
[1] ;
9079 if (!args
) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9085 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (int)(arg1
)->GetY();
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= SWIG_From_int(static_cast< int >(result
));
9099 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9100 PyObject
*resultobj
= 0;
9101 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9105 PyObject
*swig_obj
[1] ;
9107 if (!args
) SWIG_fail
;
9109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9110 if (!SWIG_IsOK(res1
)) {
9111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9113 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (int)(arg1
)->GetW();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_From_int(static_cast< int >(result
));
9127 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9128 PyObject
*resultobj
= 0;
9129 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9133 PyObject
*swig_obj
[1] ;
9135 if (!args
) SWIG_fail
;
9137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9138 if (!SWIG_IsOK(res1
)) {
9139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9141 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 result
= (int)(arg1
)->GetWidth();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_From_int(static_cast< int >(result
));
9155 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9156 PyObject
*resultobj
= 0;
9157 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9161 PyObject
*swig_obj
[1] ;
9163 if (!args
) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9169 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (int)(arg1
)->GetH();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_From_int(static_cast< int >(result
));
9183 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9184 PyObject
*resultobj
= 0;
9185 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9189 PyObject
*swig_obj
[1] ;
9191 if (!args
) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9197 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (int)(arg1
)->GetHeight();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_From_int(static_cast< int >(result
));
9211 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9212 PyObject
*resultobj
= 0;
9213 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9217 PyObject
*swig_obj
[1] ;
9219 if (!args
) SWIG_fail
;
9221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9222 if (!SWIG_IsOK(res1
)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9225 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (arg1
)->GetRect();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9239 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9240 PyObject
*resultobj
= 0;
9241 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9245 PyObject
*swig_obj
[1] ;
9247 if (!args
) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9253 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (bool)(arg1
)->HaveRects();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9269 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9270 PyObject
*resultobj
= 0;
9271 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9274 PyObject
*swig_obj
[1] ;
9276 if (!args
) SWIG_fail
;
9278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9279 if (!SWIG_IsOK(res1
)) {
9280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9282 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_Py_Void();
9296 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9297 PyObject
*resultobj
= 0;
9298 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9309 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 wxRegionIterator_Next(arg1
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_Py_Void();
9323 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9324 PyObject
*resultobj
= 0;
9325 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9329 PyObject
*swig_obj
[1] ;
9331 if (!args
) SWIG_fail
;
9333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9334 if (!SWIG_IsOK(res1
)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9337 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9353 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9356 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9357 return SWIG_Py_Void();
9360 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9361 return SWIG_Python_InitShadowInstance(args
);
9364 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 PyObject
*resultobj
= 0;
9366 wxNativeFontInfo
*result
= 0 ;
9368 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9382 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9383 PyObject
*resultobj
= 0;
9384 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9387 PyObject
*swig_obj
[1] ;
9389 if (!args
) SWIG_fail
;
9391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9392 if (!SWIG_IsOK(res1
)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9395 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_Py_Void();
9410 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9411 PyObject
*resultobj
= 0;
9412 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9415 PyObject
*swig_obj
[1] ;
9417 if (!args
) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9423 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "font", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9456 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9458 if (!SWIG_IsOK(res2
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9464 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 resultobj
= SWIG_Py_Void();
9478 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9479 PyObject
*resultobj
= 0;
9480 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9484 PyObject
*swig_obj
[1] ;
9486 if (!args
) SWIG_fail
;
9488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9489 if (!SWIG_IsOK(res1
)) {
9490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9492 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 resultobj
= SWIG_From_int(static_cast< int >(result
));
9506 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9507 PyObject
*resultobj
= 0;
9508 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9512 PyObject
*swig_obj
[1] ;
9514 if (!args
) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9520 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_From_int(static_cast< int >(result
));
9534 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9535 PyObject
*resultobj
= 0;
9536 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9537 wxFontWeight result
;
9540 PyObject
*swig_obj
[1] ;
9542 if (!args
) SWIG_fail
;
9544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9545 if (!SWIG_IsOK(res1
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9548 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_From_int(static_cast< int >(result
));
9562 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9563 PyObject
*resultobj
= 0;
9564 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9568 PyObject
*swig_obj
[1] ;
9570 if (!args
) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9576 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9592 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9593 PyObject
*resultobj
= 0;
9594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9598 PyObject
*swig_obj
[1] ;
9600 if (!args
) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9606 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9626 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9629 wxFontFamily result
;
9632 PyObject
*swig_obj
[1] ;
9634 if (!args
) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9640 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_From_int(static_cast< int >(result
));
9654 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 PyObject
*resultobj
= 0;
9656 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9657 wxFontEncoding result
;
9660 PyObject
*swig_obj
[1] ;
9662 if (!args
) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9668 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_From_int(static_cast< int >(result
));
9682 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 char * kwnames
[] = {
9693 (char *) "self",(char *) "pointsize", NULL
9696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9701 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9703 if (!SWIG_IsOK(ecode2
)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9706 arg2
= static_cast< int >(val2
);
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetPointSize(arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "style", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9739 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9741 if (!SWIG_IsOK(ecode2
)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9744 arg2
= static_cast< wxFontStyle
>(val2
);
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetStyle(arg2
);
9748 wxPyEndAllowThreads(__tstate
);
9749 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_Py_Void();
9758 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
= 0;
9760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 char * kwnames
[] = {
9769 (char *) "self",(char *) "weight", NULL
9772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9774 if (!SWIG_IsOK(res1
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9777 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9779 if (!SWIG_IsOK(ecode2
)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9782 arg2
= static_cast< wxFontWeight
>(val2
);
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 (arg1
)->SetWeight(arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_Py_Void();
9796 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
= 0;
9798 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 char * kwnames
[] = {
9807 (char *) "self",(char *) "underlined", NULL
9810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9815 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9817 if (!SWIG_IsOK(ecode2
)) {
9818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9820 arg2
= static_cast< bool >(val2
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 (arg1
)->SetUnderlined(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_Py_Void();
9834 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= 0;
9836 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "facename", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9852 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9854 wxString
* sptr
= wxString_in_helper(obj1
);
9855 if (sptr
== NULL
) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (bool)(arg1
)->SetFaceName(arg2
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9874 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
= 0;
9876 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9884 char * kwnames
[] = {
9885 (char *) "self",(char *) "family", NULL
9888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9890 if (!SWIG_IsOK(res1
)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9893 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9895 if (!SWIG_IsOK(ecode2
)) {
9896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9898 arg2
= static_cast< wxFontFamily
>(val2
);
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 (arg1
)->SetFamily(arg2
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_Py_Void();
9912 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
= 0;
9914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9915 wxFontEncoding arg2
;
9920 PyObject
* obj0
= 0 ;
9921 PyObject
* obj1
= 0 ;
9922 char * kwnames
[] = {
9923 (char *) "self",(char *) "encoding", NULL
9926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9931 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9933 if (!SWIG_IsOK(ecode2
)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9936 arg2
= static_cast< wxFontEncoding
>(val2
);
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 (arg1
)->SetEncoding(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= SWIG_Py_Void();
9950 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
= 0;
9952 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9953 wxString
*arg2
= 0 ;
9957 bool temp2
= false ;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 char * kwnames
[] = {
9961 (char *) "self",(char *) "s", NULL
9964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9966 if (!SWIG_IsOK(res1
)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9969 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9971 arg2
= wxString_in_helper(obj1
);
9972 if (arg2
== NULL
) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9998 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9999 PyObject
*resultobj
= 0;
10000 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10004 PyObject
*swig_obj
[1] ;
10006 if (!args
) SWIG_fail
;
10007 swig_obj
[0] = args
;
10008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10009 if (!SWIG_IsOK(res1
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10012 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10032 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10033 PyObject
*resultobj
= 0;
10034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10038 PyObject
*swig_obj
[1] ;
10040 if (!args
) SWIG_fail
;
10041 swig_obj
[0] = args
;
10042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10046 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= wxNativeFontInfo___str__(arg1
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10066 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
= 0;
10068 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10069 wxString
*arg2
= 0 ;
10073 bool temp2
= false ;
10074 PyObject
* obj0
= 0 ;
10075 PyObject
* obj1
= 0 ;
10076 char * kwnames
[] = {
10077 (char *) "self",(char *) "s", NULL
10080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10082 if (!SWIG_IsOK(res1
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10085 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10087 arg2
= wxString_in_helper(obj1
);
10088 if (arg2
== NULL
) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10128 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10148 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10151 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10152 return SWIG_Py_Void();
10155 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10156 return SWIG_Python_InitShadowInstance(args
);
10159 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 PyObject
*resultobj
= 0;
10161 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10162 wxString
*arg2
= (wxString
*) 0 ;
10165 bool temp2
= false ;
10166 PyObject
*swig_obj
[2] ;
10168 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10173 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10175 arg2
= wxString_in_helper(swig_obj
[1]);
10176 if (arg2
== NULL
) SWIG_fail
;
10179 if (arg1
) (arg1
)->facename
= *arg2
;
10181 resultobj
= SWIG_Py_Void();
10196 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10197 PyObject
*resultobj
= 0;
10198 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10199 wxString
*result
= 0 ;
10202 PyObject
*swig_obj
[1] ;
10204 if (!args
) SWIG_fail
;
10205 swig_obj
[0] = args
;
10206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10210 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10211 result
= (wxString
*)& ((arg1
)->facename
);
10214 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10216 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10225 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10226 PyObject
*resultobj
= 0;
10227 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10228 wxFontEncoding arg2
;
10233 PyObject
*swig_obj
[2] ;
10235 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10237 if (!SWIG_IsOK(res1
)) {
10238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10240 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10241 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10242 if (!SWIG_IsOK(ecode2
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10245 arg2
= static_cast< wxFontEncoding
>(val2
);
10246 if (arg1
) (arg1
)->encoding
= arg2
;
10248 resultobj
= SWIG_Py_Void();
10255 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10258 wxFontEncoding result
;
10261 PyObject
*swig_obj
[1] ;
10263 if (!args
) SWIG_fail
;
10264 swig_obj
[0] = args
;
10265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10269 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10270 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10271 resultobj
= SWIG_From_int(static_cast< int >(result
));
10278 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10279 PyObject
*resultobj
= 0;
10280 wxNativeEncodingInfo
*result
= 0 ;
10282 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10296 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10297 PyObject
*resultobj
= 0;
10298 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10301 PyObject
*swig_obj
[1] ;
10303 if (!args
) SWIG_fail
;
10304 swig_obj
[0] = args
;
10305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10306 if (!SWIG_IsOK(res1
)) {
10307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10309 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10324 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
= 0;
10326 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10327 wxString
*arg2
= 0 ;
10331 bool temp2
= false ;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 char * kwnames
[] = {
10335 (char *) "self",(char *) "s", NULL
10338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10343 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10345 arg2
= wxString_in_helper(obj1
);
10346 if (arg2
== NULL
) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10373 PyObject
*resultobj
= 0;
10374 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10378 PyObject
*swig_obj
[1] ;
10380 if (!args
) SWIG_fail
;
10381 swig_obj
[0] = args
;
10382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10383 if (!SWIG_IsOK(res1
)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10386 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10406 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10409 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10410 return SWIG_Py_Void();
10413 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10414 return SWIG_Python_InitShadowInstance(args
);
10417 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
= 0;
10419 wxFontEncoding arg1
;
10420 wxNativeEncodingInfo
*result
= 0 ;
10423 PyObject
* obj0
= 0 ;
10424 char * kwnames
[] = {
10425 (char *) "encoding", NULL
10428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10429 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10430 if (!SWIG_IsOK(ecode1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10433 arg1
= static_cast< wxFontEncoding
>(val1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10447 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxNativeEncodingInfo
*arg1
= 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char * kwnames
[] = {
10455 (char *) "info", NULL
10458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10459 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10460 if (!SWIG_IsOK(res1
)) {
10461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10466 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10482 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10483 PyObject
*resultobj
= 0;
10484 wxFontMapper
*result
= 0 ;
10486 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (wxFontMapper
*)new wxFontMapper();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10500 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10501 PyObject
*resultobj
= 0;
10502 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10505 PyObject
*swig_obj
[1] ;
10507 if (!args
) SWIG_fail
;
10508 swig_obj
[0] = args
;
10509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10510 if (!SWIG_IsOK(res1
)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10513 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= SWIG_Py_Void();
10528 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10529 PyObject
*resultobj
= 0;
10530 wxFontMapper
*result
= 0 ;
10532 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (wxFontMapper
*)wxFontMapper::Get();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10546 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10549 wxFontMapper
*result
= 0 ;
10552 PyObject
* obj0
= 0 ;
10553 char * kwnames
[] = {
10554 (char *) "mapper", NULL
10557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10562 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10576 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
= 0;
10578 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10579 wxString
*arg2
= 0 ;
10580 bool arg3
= (bool) true ;
10581 wxFontEncoding result
;
10584 bool temp2
= false ;
10587 PyObject
* obj0
= 0 ;
10588 PyObject
* obj1
= 0 ;
10589 PyObject
* obj2
= 0 ;
10590 char * kwnames
[] = {
10591 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10596 if (!SWIG_IsOK(res1
)) {
10597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10599 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10601 arg2
= wxString_in_helper(obj1
);
10602 if (arg2
== NULL
) SWIG_fail
;
10606 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10607 if (!SWIG_IsOK(ecode3
)) {
10608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10610 arg3
= static_cast< bool >(val3
);
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= SWIG_From_int(static_cast< int >(result
));
10633 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10634 PyObject
*resultobj
= 0;
10637 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10651 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
= 0;
10654 wxFontEncoding result
;
10657 PyObject
* obj0
= 0 ;
10658 char * kwnames
[] = {
10662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10663 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10664 if (!SWIG_IsOK(ecode1
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10667 arg1
= static_cast< size_t >(val1
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_From_int(static_cast< int >(result
));
10681 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxFontEncoding arg1
;
10687 PyObject
* obj0
= 0 ;
10688 char * kwnames
[] = {
10689 (char *) "encoding", NULL
10692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10693 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10694 if (!SWIG_IsOK(ecode1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10697 arg1
= static_cast< wxFontEncoding
>(val1
);
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= wxFontMapper::GetEncodingName(arg1
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10717 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
= 0;
10719 wxFontEncoding arg1
;
10723 PyObject
* obj0
= 0 ;
10724 char * kwnames
[] = {
10725 (char *) "encoding", NULL
10728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10730 if (!SWIG_IsOK(ecode1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10733 arg1
= static_cast< wxFontEncoding
>(val1
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= wxFontMapper::GetEncodingDescription(arg1
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10753 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxString
*arg1
= 0 ;
10756 wxFontEncoding result
;
10757 bool temp1
= false ;
10758 PyObject
* obj0
= 0 ;
10759 char * kwnames
[] = {
10760 (char *) "name", NULL
10763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10765 arg1
= wxString_in_helper(obj0
);
10766 if (arg1
== NULL
) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= SWIG_From_int(static_cast< int >(result
));
10790 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
= 0;
10792 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10793 wxString
*arg2
= 0 ;
10796 bool temp2
= false ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "prefix", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10808 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10810 arg2
= wxString_in_helper(obj1
);
10811 if (arg2
== NULL
) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_Py_Void();
10835 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10836 PyObject
*resultobj
= 0;
10839 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= wxFontMapper::GetDefaultConfigPath();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10859 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
= 0;
10861 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10862 wxFontEncoding arg2
;
10863 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10864 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10865 bool arg4
= (bool) true ;
10866 PyObject
*result
= 0 ;
10871 bool temp3
= false ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 PyObject
* obj2
= 0 ;
10877 PyObject
* obj3
= 0 ;
10878 char * kwnames
[] = {
10879 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10884 if (!SWIG_IsOK(res1
)) {
10885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10887 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10889 if (!SWIG_IsOK(ecode2
)) {
10890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10892 arg2
= static_cast< wxFontEncoding
>(val2
);
10895 arg3
= wxString_in_helper(obj2
);
10896 if (arg3
== NULL
) SWIG_fail
;
10901 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10902 if (!SWIG_IsOK(ecode4
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10905 arg4
= static_cast< bool >(val4
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
;
10928 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= 0;
10930 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10931 wxFontEncoding arg2
;
10932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10939 bool temp3
= false ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 char * kwnames
[] = {
10944 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10952 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10954 if (!SWIG_IsOK(ecode2
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10957 arg2
= static_cast< wxFontEncoding
>(val2
);
10960 arg3
= wxString_in_helper(obj2
);
10961 if (arg3
== NULL
) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10988 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
= 0;
10990 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10991 wxWindow
*arg2
= (wxWindow
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 char * kwnames
[] = {
10999 (char *) "self",(char *) "parent", NULL
11002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11007 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11009 if (!SWIG_IsOK(res2
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11012 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 (arg1
)->SetDialogParent(arg2
);
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 resultobj
= SWIG_Py_Void();
11026 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
= 0;
11028 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11029 wxString
*arg2
= 0 ;
11032 bool temp2
= false ;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char * kwnames
[] = {
11036 (char *) "self",(char *) "title", NULL
11039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11041 if (!SWIG_IsOK(res1
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11044 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11046 arg2
= wxString_in_helper(obj1
);
11047 if (arg2
== NULL
) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= SWIG_Py_Void();
11071 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11074 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11075 return SWIG_Py_Void();
11078 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 return SWIG_Python_InitShadowInstance(args
);
11082 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11088 bool arg5
= (bool) false ;
11089 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11090 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11091 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11092 wxFont
*result
= 0 ;
11103 bool temp6
= false ;
11106 PyObject
* obj0
= 0 ;
11107 PyObject
* obj1
= 0 ;
11108 PyObject
* obj2
= 0 ;
11109 PyObject
* obj3
= 0 ;
11110 PyObject
* obj4
= 0 ;
11111 PyObject
* obj5
= 0 ;
11112 PyObject
* obj6
= 0 ;
11113 char * kwnames
[] = {
11114 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11119 if (!SWIG_IsOK(ecode1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11122 arg1
= static_cast< int >(val1
);
11123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11124 if (!SWIG_IsOK(ecode2
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11127 arg2
= static_cast< int >(val2
);
11128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11129 if (!SWIG_IsOK(ecode3
)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11132 arg3
= static_cast< int >(val3
);
11133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11134 if (!SWIG_IsOK(ecode4
)) {
11135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11137 arg4
= static_cast< int >(val4
);
11139 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11140 if (!SWIG_IsOK(ecode5
)) {
11141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11143 arg5
= static_cast< bool >(val5
);
11147 arg6
= wxString_in_helper(obj5
);
11148 if (arg6
== NULL
) SWIG_fail
;
11153 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11154 if (!SWIG_IsOK(ecode7
)) {
11155 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11157 arg7
= static_cast< wxFontEncoding
>(val7
);
11160 if (!wxPyCheckForApp()) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11181 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11182 PyObject
*resultobj
= 0;
11183 wxFont
*arg1
= (wxFont
*) 0 ;
11186 PyObject
*swig_obj
[1] ;
11188 if (!args
) SWIG_fail
;
11189 swig_obj
[0] = args
;
11190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11191 if (!SWIG_IsOK(res1
)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11194 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_Py_Void();
11209 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxNativeFontInfo
*arg1
= 0 ;
11212 wxFont
*result
= 0 ;
11215 PyObject
* obj0
= 0 ;
11216 char * kwnames
[] = {
11217 (char *) "info", NULL
11220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11221 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11222 if (!SWIG_IsOK(res1
)) {
11223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11228 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11230 if (!wxPyCheckForApp()) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11243 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
= 0;
11245 wxString
*arg1
= 0 ;
11246 wxFont
*result
= 0 ;
11247 bool temp1
= false ;
11248 PyObject
* obj0
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "info", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11255 arg1
= wxString_in_helper(obj0
);
11256 if (arg1
== NULL
) SWIG_fail
;
11260 if (!wxPyCheckForApp()) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11281 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11284 wxFontFamily arg2
;
11285 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11286 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11287 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11288 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11289 wxFont
*result
= 0 ;
11296 bool temp4
= false ;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 PyObject
* obj2
= 0 ;
11302 PyObject
* obj3
= 0 ;
11303 PyObject
* obj4
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11310 if (!SWIG_IsOK(ecode1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11313 arg1
= static_cast< int >(val1
);
11314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11315 if (!SWIG_IsOK(ecode2
)) {
11316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11318 arg2
= static_cast< wxFontFamily
>(val2
);
11320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11321 if (!SWIG_IsOK(ecode3
)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11324 arg3
= static_cast< int >(val3
);
11328 arg4
= wxString_in_helper(obj3
);
11329 if (arg4
== NULL
) SWIG_fail
;
11334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11335 if (!SWIG_IsOK(ecode5
)) {
11336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11338 arg5
= static_cast< wxFontEncoding
>(val5
);
11341 if (!wxPyCheckForApp()) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11362 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
= 0;
11368 bool arg5
= (bool) false ;
11369 wxString
const &arg6_defvalue
= wxEmptyString
;
11370 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11371 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11372 wxFont
*result
= 0 ;
11382 bool temp6
= false ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 PyObject
* obj3
= 0 ;
11389 PyObject
* obj4
= 0 ;
11390 PyObject
* obj5
= 0 ;
11391 PyObject
* obj6
= 0 ;
11392 char * kwnames
[] = {
11393 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11399 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11402 if (!SWIG_IsOK(ecode2
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11405 arg2
= static_cast< int >(val2
);
11406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11407 if (!SWIG_IsOK(ecode3
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11410 arg3
= static_cast< int >(val3
);
11411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11412 if (!SWIG_IsOK(ecode4
)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11415 arg4
= static_cast< int >(val4
);
11417 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11418 if (!SWIG_IsOK(ecode5
)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11421 arg5
= static_cast< bool >(val5
);
11425 arg6
= wxString_in_helper(obj5
);
11426 if (arg6
== NULL
) SWIG_fail
;
11431 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11432 if (!SWIG_IsOK(ecode7
)) {
11433 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11435 arg7
= static_cast< wxFontEncoding
>(val7
);
11438 if (!wxPyCheckForApp()) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11459 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
= 0;
11462 wxFontFamily arg2
;
11463 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11464 wxString
const &arg4_defvalue
= wxEmptyString
;
11465 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11466 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11467 wxFont
*result
= 0 ;
11473 bool temp4
= false ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 PyObject
* obj2
= 0 ;
11479 PyObject
* obj3
= 0 ;
11480 PyObject
* obj4
= 0 ;
11481 char * kwnames
[] = {
11482 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11488 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11491 if (!SWIG_IsOK(ecode2
)) {
11492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11494 arg2
= static_cast< wxFontFamily
>(val2
);
11496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11497 if (!SWIG_IsOK(ecode3
)) {
11498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11500 arg3
= static_cast< int >(val3
);
11504 arg4
= wxString_in_helper(obj3
);
11505 if (arg4
== NULL
) SWIG_fail
;
11510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11511 if (!SWIG_IsOK(ecode5
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11514 arg5
= static_cast< wxFontEncoding
>(val5
);
11517 if (!wxPyCheckForApp()) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11538 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 PyObject
*resultobj
= 0;
11540 wxFont
*arg1
= (wxFont
*) 0 ;
11544 PyObject
*swig_obj
[1] ;
11546 if (!args
) SWIG_fail
;
11547 swig_obj
[0] = args
;
11548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11552 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (bool)((wxFont
const *)arg1
)->Ok();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11568 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
= 0;
11570 wxFont
*arg1
= (wxFont
*) 0 ;
11571 wxFont
*arg2
= (wxFont
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char * kwnames
[] = {
11580 (char *) "self",(char *) "other", NULL
11583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11585 if (!SWIG_IsOK(res1
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11588 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11590 if (!SWIG_IsOK(res2
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11593 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11609 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
= 0;
11611 wxFont
*arg1
= (wxFont
*) 0 ;
11612 wxFont
*arg2
= (wxFont
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 char * kwnames
[] = {
11621 (char *) "self",(char *) "other", NULL
11624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11626 if (!SWIG_IsOK(res1
)) {
11627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11629 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11631 if (!SWIG_IsOK(res2
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11634 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11650 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11651 PyObject
*resultobj
= 0;
11652 wxFont
*arg1
= (wxFont
*) 0 ;
11656 PyObject
*swig_obj
[1] ;
11658 if (!args
) SWIG_fail
;
11659 swig_obj
[0] = args
;
11660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11661 if (!SWIG_IsOK(res1
)) {
11662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11664 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_int(static_cast< int >(result
));
11678 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxFont
*arg1
= (wxFont
*) 0 ;
11684 PyObject
*swig_obj
[1] ;
11686 if (!args
) SWIG_fail
;
11687 swig_obj
[0] = args
;
11688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11689 if (!SWIG_IsOK(res1
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11692 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11706 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 PyObject
*resultobj
= 0;
11708 wxFont
*arg1
= (wxFont
*) 0 ;
11712 PyObject
*swig_obj
[1] ;
11714 if (!args
) SWIG_fail
;
11715 swig_obj
[0] = args
;
11716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11717 if (!SWIG_IsOK(res1
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11720 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11736 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11737 PyObject
*resultobj
= 0;
11738 wxFont
*arg1
= (wxFont
*) 0 ;
11742 PyObject
*swig_obj
[1] ;
11744 if (!args
) SWIG_fail
;
11745 swig_obj
[0] = args
;
11746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11747 if (!SWIG_IsOK(res1
)) {
11748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11750 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_int(static_cast< int >(result
));
11764 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 PyObject
*resultobj
= 0;
11766 wxFont
*arg1
= (wxFont
*) 0 ;
11770 PyObject
*swig_obj
[1] ;
11772 if (!args
) SWIG_fail
;
11773 swig_obj
[0] = args
;
11774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11778 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_From_int(static_cast< int >(result
));
11792 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxFont
*arg1
= (wxFont
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11806 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxFont
*arg1
= (wxFont
*) 0 ;
11826 PyObject
*swig_obj
[1] ;
11828 if (!args
) SWIG_fail
;
11829 swig_obj
[0] = args
;
11830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11834 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11850 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11851 PyObject
*resultobj
= 0;
11852 wxFont
*arg1
= (wxFont
*) 0 ;
11856 PyObject
*swig_obj
[1] ;
11858 if (!args
) SWIG_fail
;
11859 swig_obj
[0] = args
;
11860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11864 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= ((wxFont
const *)arg1
)->GetFaceName();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11884 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11885 PyObject
*resultobj
= 0;
11886 wxFont
*arg1
= (wxFont
*) 0 ;
11887 wxFontEncoding result
;
11890 PyObject
*swig_obj
[1] ;
11892 if (!args
) SWIG_fail
;
11893 swig_obj
[0] = args
;
11894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11895 if (!SWIG_IsOK(res1
)) {
11896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11898 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_From_int(static_cast< int >(result
));
11912 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxFont
*arg1
= (wxFont
*) 0 ;
11915 wxNativeFontInfo
*result
= 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11940 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11941 PyObject
*resultobj
= 0;
11942 wxFont
*arg1
= (wxFont
*) 0 ;
11946 PyObject
*swig_obj
[1] ;
11948 if (!args
) SWIG_fail
;
11949 swig_obj
[0] = args
;
11950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11951 if (!SWIG_IsOK(res1
)) {
11952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11954 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11970 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11971 PyObject
*resultobj
= 0;
11972 wxFont
*arg1
= (wxFont
*) 0 ;
11976 PyObject
*swig_obj
[1] ;
11978 if (!args
) SWIG_fail
;
11979 swig_obj
[0] = args
;
11980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11984 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12004 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxFont
*arg1
= (wxFont
*) 0 ;
12010 PyObject
*swig_obj
[1] ;
12012 if (!args
) SWIG_fail
;
12013 swig_obj
[0] = args
;
12014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12015 if (!SWIG_IsOK(res1
)) {
12016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12018 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12038 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
= 0;
12040 wxFont
*arg1
= (wxFont
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "pointSize", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12057 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12059 if (!SWIG_IsOK(ecode2
)) {
12060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12062 arg2
= static_cast< int >(val2
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->SetPointSize(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_Py_Void();
12076 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= 0;
12078 wxFont
*arg1
= (wxFont
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 char * kwnames
[] = {
12086 (char *) "self",(char *) "pixelSize", NULL
12089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12091 if (!SWIG_IsOK(res1
)) {
12092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12094 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_Py_Void();
12112 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
= 0;
12114 wxFont
*arg1
= (wxFont
*) 0 ;
12120 PyObject
* obj0
= 0 ;
12121 PyObject
* obj1
= 0 ;
12122 char * kwnames
[] = {
12123 (char *) "self",(char *) "family", NULL
12126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12131 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12133 if (!SWIG_IsOK(ecode2
)) {
12134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12136 arg2
= static_cast< int >(val2
);
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->SetFamily(arg2
);
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= SWIG_Py_Void();
12150 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
= 0;
12152 wxFont
*arg1
= (wxFont
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 char * kwnames
[] = {
12161 (char *) "self",(char *) "style", NULL
12164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12169 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12171 if (!SWIG_IsOK(ecode2
)) {
12172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12174 arg2
= static_cast< int >(val2
);
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 (arg1
)->SetStyle(arg2
);
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= SWIG_Py_Void();
12188 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
= 0;
12190 wxFont
*arg1
= (wxFont
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 char * kwnames
[] = {
12199 (char *) "self",(char *) "weight", NULL
12202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12207 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12209 if (!SWIG_IsOK(ecode2
)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12212 arg2
= static_cast< int >(val2
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 (arg1
)->SetWeight(arg2
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_Py_Void();
12226 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= 0;
12228 wxFont
*arg1
= (wxFont
*) 0 ;
12229 wxString
*arg2
= 0 ;
12233 bool temp2
= false ;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "self",(char *) "faceName", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12245 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12247 arg2
= wxString_in_helper(obj1
);
12248 if (arg2
== NULL
) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12274 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
= 0;
12276 wxFont
*arg1
= (wxFont
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 char * kwnames
[] = {
12285 (char *) "self",(char *) "underlined", NULL
12288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12293 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12295 if (!SWIG_IsOK(ecode2
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12298 arg2
= static_cast< bool >(val2
);
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 (arg1
)->SetUnderlined(arg2
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_Py_Void();
12312 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
= 0;
12314 wxFont
*arg1
= (wxFont
*) 0 ;
12315 wxFontEncoding arg2
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 char * kwnames
[] = {
12323 (char *) "self",(char *) "encoding", NULL
12326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12328 if (!SWIG_IsOK(res1
)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12331 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12333 if (!SWIG_IsOK(ecode2
)) {
12334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12336 arg2
= static_cast< wxFontEncoding
>(val2
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetEncoding(arg2
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_Py_Void();
12350 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
= 0;
12352 wxFont
*arg1
= (wxFont
*) 0 ;
12353 wxNativeFontInfo
*arg2
= 0 ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 char * kwnames
[] = {
12361 (char *) "self",(char *) "info", NULL
12364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12369 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12371 if (!SWIG_IsOK(res2
)) {
12372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12377 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_Py_Void();
12391 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
= 0;
12393 wxFont
*arg1
= (wxFont
*) 0 ;
12394 wxString
*arg2
= 0 ;
12398 bool temp2
= false ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 char * kwnames
[] = {
12402 (char *) "self",(char *) "info", NULL
12405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12407 if (!SWIG_IsOK(res1
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12410 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12412 arg2
= wxString_in_helper(obj1
);
12413 if (arg2
== NULL
) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12439 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
= 0;
12441 wxFont
*arg1
= (wxFont
*) 0 ;
12442 wxString
*arg2
= 0 ;
12446 bool temp2
= false ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char * kwnames
[] = {
12450 (char *) "self",(char *) "info", NULL
12453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12458 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12460 arg2
= wxString_in_helper(obj1
);
12461 if (arg2
== NULL
) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12487 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12488 PyObject
*resultobj
= 0;
12489 wxFont
*arg1
= (wxFont
*) 0 ;
12493 PyObject
*swig_obj
[1] ;
12495 if (!args
) SWIG_fail
;
12496 swig_obj
[0] = args
;
12497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12498 if (!SWIG_IsOK(res1
)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12501 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12521 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12522 PyObject
*resultobj
= 0;
12523 wxFont
*arg1
= (wxFont
*) 0 ;
12527 PyObject
*swig_obj
[1] ;
12529 if (!args
) SWIG_fail
;
12530 swig_obj
[0] = args
;
12531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12532 if (!SWIG_IsOK(res1
)) {
12533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12535 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= ((wxFont
const *)arg1
)->GetStyleString();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12555 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 PyObject
*resultobj
= 0;
12557 wxFont
*arg1
= (wxFont
*) 0 ;
12561 PyObject
*swig_obj
[1] ;
12563 if (!args
) SWIG_fail
;
12564 swig_obj
[0] = args
;
12565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12566 if (!SWIG_IsOK(res1
)) {
12567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12569 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12572 result
= ((wxFont
const *)arg1
)->GetWeightString();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12589 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
= 0;
12591 wxFont
*arg1
= (wxFont
*) 0 ;
12592 bool arg2
= (bool) true ;
12597 PyObject
* obj0
= 0 ;
12598 PyObject
* obj1
= 0 ;
12599 char * kwnames
[] = {
12600 (char *) "self",(char *) "no", NULL
12603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12605 if (!SWIG_IsOK(res1
)) {
12606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12608 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12610 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12611 if (!SWIG_IsOK(ecode2
)) {
12612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12614 arg2
= static_cast< bool >(val2
);
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->SetNoAntiAliasing(arg2
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= SWIG_Py_Void();
12629 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12630 PyObject
*resultobj
= 0;
12631 wxFont
*arg1
= (wxFont
*) 0 ;
12635 PyObject
*swig_obj
[1] ;
12637 if (!args
) SWIG_fail
;
12638 swig_obj
[0] = args
;
12639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12640 if (!SWIG_IsOK(res1
)) {
12641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12643 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12659 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12660 PyObject
*resultobj
= 0;
12661 wxFontEncoding result
;
12663 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12665 if (!wxPyCheckForApp()) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_From_int(static_cast< int >(result
));
12678 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= 0;
12680 wxFontEncoding arg1
;
12683 PyObject
* obj0
= 0 ;
12684 char * kwnames
[] = {
12685 (char *) "encoding", NULL
12688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12689 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12690 if (!SWIG_IsOK(ecode1
)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12693 arg1
= static_cast< wxFontEncoding
>(val1
);
12695 if (!wxPyCheckForApp()) SWIG_fail
;
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 wxFont::SetDefaultEncoding(arg1
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_Py_Void();
12708 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12711 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12712 return SWIG_Py_Void();
12715 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12716 return SWIG_Python_InitShadowInstance(args
);
12719 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12720 PyObject
*resultobj
= 0;
12721 wxPyFontEnumerator
*result
= 0 ;
12723 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12725 if (!wxPyCheckForApp()) SWIG_fail
;
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12738 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12739 PyObject
*resultobj
= 0;
12740 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12743 PyObject
*swig_obj
[1] ;
12745 if (!args
) SWIG_fail
;
12746 swig_obj
[0] = args
;
12747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12748 if (!SWIG_IsOK(res1
)) {
12749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12751 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= SWIG_Py_Void();
12766 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
= 0;
12768 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12769 PyObject
*arg2
= (PyObject
*) 0 ;
12770 PyObject
*arg3
= (PyObject
*) 0 ;
12776 PyObject
* obj0
= 0 ;
12777 PyObject
* obj1
= 0 ;
12778 PyObject
* obj2
= 0 ;
12779 PyObject
* obj3
= 0 ;
12780 char * kwnames
[] = {
12781 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12786 if (!SWIG_IsOK(res1
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12789 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12792 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12793 if (!SWIG_IsOK(ecode4
)) {
12794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12796 arg4
= static_cast< bool >(val4
);
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= SWIG_Py_Void();
12810 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
= 0;
12812 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12813 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12814 bool arg3
= (bool) false ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 char * kwnames
[] = {
12826 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12831 if (!SWIG_IsOK(res1
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12834 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12837 if (!SWIG_IsOK(ecode2
)) {
12838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12840 arg2
= static_cast< wxFontEncoding
>(val2
);
12843 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12844 if (!SWIG_IsOK(ecode3
)) {
12845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12847 arg3
= static_cast< bool >(val3
);
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12864 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12867 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12868 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12872 bool temp2
= false ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "self",(char *) "facename", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12884 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12887 arg2
= wxString_in_helper(obj1
);
12888 if (arg2
== NULL
) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12915 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12916 PyObject
*resultobj
= 0;
12917 PyObject
*result
= 0 ;
12919 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= result
;
12933 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 PyObject
*result
= 0 ;
12937 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= result
;
12951 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
= 0;
12953 wxString
*arg1
= 0 ;
12955 bool temp1
= false ;
12956 PyObject
* obj0
= 0 ;
12957 char * kwnames
[] = {
12958 (char *) "str", NULL
12961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
12963 arg1
= wxString_in_helper(obj0
);
12964 if (arg1
== NULL
) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12990 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12993 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
12994 return SWIG_Py_Void();
12997 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12998 return SWIG_Python_InitShadowInstance(args
);
13001 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 PyObject
*resultobj
= 0;
13003 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13009 PyObject
*swig_obj
[2] ;
13011 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13013 if (!SWIG_IsOK(res1
)) {
13014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13016 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13017 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13018 if (!SWIG_IsOK(ecode2
)) {
13019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13021 arg2
= static_cast< int >(val2
);
13022 if (arg1
) (arg1
)->Language
= arg2
;
13024 resultobj
= SWIG_Py_Void();
13031 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13032 PyObject
*resultobj
= 0;
13033 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13037 PyObject
*swig_obj
[1] ;
13039 if (!args
) SWIG_fail
;
13040 swig_obj
[0] = args
;
13041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13045 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13046 result
= (int) ((arg1
)->Language
);
13047 resultobj
= SWIG_From_int(static_cast< int >(result
));
13054 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13055 PyObject
*resultobj
= 0;
13056 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13057 wxString
*arg2
= (wxString
*) 0 ;
13060 bool temp2
= false ;
13061 PyObject
*swig_obj
[2] ;
13063 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13068 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13070 arg2
= wxString_in_helper(swig_obj
[1]);
13071 if (arg2
== NULL
) SWIG_fail
;
13074 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13076 resultobj
= SWIG_Py_Void();
13091 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13092 PyObject
*resultobj
= 0;
13093 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13094 wxString
*result
= 0 ;
13097 PyObject
*swig_obj
[1] ;
13099 if (!args
) SWIG_fail
;
13100 swig_obj
[0] = args
;
13101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13102 if (!SWIG_IsOK(res1
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13105 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13106 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13109 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13111 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13120 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13121 PyObject
*resultobj
= 0;
13122 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13123 wxString
*arg2
= (wxString
*) 0 ;
13126 bool temp2
= false ;
13127 PyObject
*swig_obj
[2] ;
13129 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13131 if (!SWIG_IsOK(res1
)) {
13132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13134 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13136 arg2
= wxString_in_helper(swig_obj
[1]);
13137 if (arg2
== NULL
) SWIG_fail
;
13140 if (arg1
) (arg1
)->Description
= *arg2
;
13142 resultobj
= SWIG_Py_Void();
13157 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13160 wxString
*result
= 0 ;
13163 PyObject
*swig_obj
[1] ;
13165 if (!args
) SWIG_fail
;
13166 swig_obj
[0] = args
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13171 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13172 result
= (wxString
*)& ((arg1
)->Description
);
13175 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13177 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13186 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13189 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13190 return SWIG_Py_Void();
13193 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
= 0;
13195 int arg1
= (int) -1 ;
13196 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13197 wxLocale
*result
= 0 ;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 char * kwnames
[] = {
13205 (char *) "language",(char *) "flags", NULL
13208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13211 if (!SWIG_IsOK(ecode1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13214 arg1
= static_cast< int >(val1
);
13217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13218 if (!SWIG_IsOK(ecode2
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13221 arg2
= static_cast< int >(val2
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13236 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13237 PyObject
*resultobj
= 0;
13238 wxLocale
*arg1
= (wxLocale
*) 0 ;
13241 PyObject
*swig_obj
[1] ;
13243 if (!args
) SWIG_fail
;
13244 swig_obj
[0] = args
;
13245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13249 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_Py_Void();
13264 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
= 0;
13266 wxLocale
*arg1
= (wxLocale
*) 0 ;
13267 wxString
*arg2
= 0 ;
13268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13270 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13271 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13272 bool arg5
= (bool) true ;
13273 bool arg6
= (bool) false ;
13277 bool temp2
= false ;
13278 bool temp3
= false ;
13279 bool temp4
= false ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 PyObject
* obj2
= 0 ;
13287 PyObject
* obj3
= 0 ;
13288 PyObject
* obj4
= 0 ;
13289 PyObject
* obj5
= 0 ;
13290 char * kwnames
[] = {
13291 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13296 if (!SWIG_IsOK(res1
)) {
13297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13299 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13301 arg2
= wxString_in_helper(obj1
);
13302 if (arg2
== NULL
) SWIG_fail
;
13307 arg3
= wxString_in_helper(obj2
);
13308 if (arg3
== NULL
) SWIG_fail
;
13314 arg4
= wxString_in_helper(obj3
);
13315 if (arg4
== NULL
) SWIG_fail
;
13320 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13321 if (!SWIG_IsOK(ecode5
)) {
13322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13324 arg5
= static_cast< bool >(val5
);
13327 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13328 if (!SWIG_IsOK(ecode6
)) {
13329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13331 arg6
= static_cast< bool >(val6
);
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13372 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
= 0;
13374 wxLocale
*arg1
= (wxLocale
*) 0 ;
13375 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13376 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 PyObject
* obj2
= 0 ;
13387 char * kwnames
[] = {
13388 (char *) "self",(char *) "language",(char *) "flags", NULL
13391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13393 if (!SWIG_IsOK(res1
)) {
13394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13396 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13399 if (!SWIG_IsOK(ecode2
)) {
13400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13402 arg2
= static_cast< int >(val2
);
13405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13406 if (!SWIG_IsOK(ecode3
)) {
13407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13409 arg3
= static_cast< int >(val3
);
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13426 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13427 PyObject
*resultobj
= 0;
13430 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (int)wxLocale::GetSystemLanguage();
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= SWIG_From_int(static_cast< int >(result
));
13444 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13445 PyObject
*resultobj
= 0;
13446 wxFontEncoding result
;
13448 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_From_int(static_cast< int >(result
));
13462 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13463 PyObject
*resultobj
= 0;
13466 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= wxLocale::GetSystemEncodingName();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13486 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13487 PyObject
*resultobj
= 0;
13488 wxLocale
*arg1
= (wxLocale
*) 0 ;
13492 PyObject
*swig_obj
[1] ;
13494 if (!args
) SWIG_fail
;
13495 swig_obj
[0] = args
;
13496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13500 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13516 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 PyObject
*resultobj
= 0;
13518 wxLocale
*arg1
= (wxLocale
*) 0 ;
13522 PyObject
*swig_obj
[1] ;
13524 if (!args
) SWIG_fail
;
13525 swig_obj
[0] = args
;
13526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13527 if (!SWIG_IsOK(res1
)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13530 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= ((wxLocale
const *)arg1
)->GetLocale();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13550 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13551 PyObject
*resultobj
= 0;
13552 wxLocale
*arg1
= (wxLocale
*) 0 ;
13556 PyObject
*swig_obj
[1] ;
13558 if (!args
) SWIG_fail
;
13559 swig_obj
[0] = args
;
13560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13564 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_From_int(static_cast< int >(result
));
13578 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13579 PyObject
*resultobj
= 0;
13580 wxLocale
*arg1
= (wxLocale
*) 0 ;
13584 PyObject
*swig_obj
[1] ;
13586 if (!args
) SWIG_fail
;
13587 swig_obj
[0] = args
;
13588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13592 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= ((wxLocale
const *)arg1
)->GetSysName();
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13612 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13613 PyObject
*resultobj
= 0;
13614 wxLocale
*arg1
= (wxLocale
*) 0 ;
13618 PyObject
*swig_obj
[1] ;
13620 if (!args
) SWIG_fail
;
13621 swig_obj
[0] = args
;
13622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13623 if (!SWIG_IsOK(res1
)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13626 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13646 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
= 0;
13648 wxString
*arg1
= 0 ;
13649 bool temp1
= false ;
13650 PyObject
* obj0
= 0 ;
13651 char * kwnames
[] = {
13652 (char *) "prefix", NULL
13655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13657 arg1
= wxString_in_helper(obj0
);
13658 if (arg1
== NULL
) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= SWIG_Py_Void();
13682 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxLocale
*arg1
= (wxLocale
*) 0 ;
13685 wxString
*arg2
= 0 ;
13689 bool temp2
= false ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "self",(char *) "szDomain", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13701 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13703 arg2
= wxString_in_helper(obj1
);
13704 if (arg2
== NULL
) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13730 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
= 0;
13732 wxLocale
*arg1
= (wxLocale
*) 0 ;
13733 wxString
*arg2
= 0 ;
13737 bool temp2
= false ;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 char * kwnames
[] = {
13741 (char *) "self",(char *) "szDomain", NULL
13744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13746 if (!SWIG_IsOK(res1
)) {
13747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13749 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13751 arg2
= wxString_in_helper(obj1
);
13752 if (arg2
== NULL
) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13778 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13781 wxLanguageInfo
*result
= 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char * kwnames
[] = {
13786 (char *) "lang", NULL
13789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13791 if (!SWIG_IsOK(ecode1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13794 arg1
= static_cast< int >(val1
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13808 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13814 PyObject
* obj0
= 0 ;
13815 char * kwnames
[] = {
13816 (char *) "lang", NULL
13819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13820 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13821 if (!SWIG_IsOK(ecode1
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13824 arg1
= static_cast< int >(val1
);
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= wxLocale::GetLanguageName(arg1
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13844 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
= 0;
13846 wxString
*arg1
= 0 ;
13847 wxLanguageInfo
*result
= 0 ;
13848 bool temp1
= false ;
13849 PyObject
* obj0
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "locale", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13856 arg1
= wxString_in_helper(obj0
);
13857 if (arg1
== NULL
) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13881 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
= 0;
13883 wxLanguageInfo
*arg1
= 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "info", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13892 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13899 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_Py_Void();
13913 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= 0;
13915 wxLocale
*arg1
= (wxLocale
*) 0 ;
13916 wxString
*arg2
= 0 ;
13917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13922 bool temp2
= false ;
13923 bool temp3
= false ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 PyObject
* obj2
= 0 ;
13927 char * kwnames
[] = {
13928 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13933 if (!SWIG_IsOK(res1
)) {
13934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13936 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13938 arg2
= wxString_in_helper(obj1
);
13939 if (arg2
== NULL
) SWIG_fail
;
13944 arg3
= wxString_in_helper(obj2
);
13945 if (arg3
== NULL
) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13984 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 PyObject
*resultobj
= 0;
13986 wxLocale
*arg1
= (wxLocale
*) 0 ;
13987 wxString
*result
= 0 ;
13990 PyObject
*swig_obj
[1] ;
13992 if (!args
) SWIG_fail
;
13993 swig_obj
[0] = args
;
13994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13995 if (!SWIG_IsOK(res1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13998 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14003 result
= (wxString
*) &_result_ref
;
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14012 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14021 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14024 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14025 return SWIG_Py_Void();
14028 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14029 return SWIG_Python_InitShadowInstance(args
);
14032 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14033 PyObject
*resultobj
= 0;
14034 wxLocale
*result
= 0 ;
14036 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxLocale
*)wxGetLocale();
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14050 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14051 PyObject
*resultobj
= 0;
14052 wxString
*arg1
= 0 ;
14054 bool temp1
= false ;
14056 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14058 arg1
= wxString_in_helper(swig_obj
[0]);
14059 if (arg1
== NULL
) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= wxGetTranslation((wxString
const &)*arg1
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14089 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14090 PyObject
*resultobj
= 0;
14091 wxString
*arg1
= 0 ;
14092 wxString
*arg2
= 0 ;
14095 bool temp1
= false ;
14096 bool temp2
= false ;
14100 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14102 arg1
= wxString_in_helper(swig_obj
[0]);
14103 if (arg1
== NULL
) SWIG_fail
;
14107 arg2
= wxString_in_helper(swig_obj
[1]);
14108 if (arg2
== NULL
) SWIG_fail
;
14111 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14112 if (!SWIG_IsOK(ecode3
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14115 arg3
= static_cast< size_t >(val3
);
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14151 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14155 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14158 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14161 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14165 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14170 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxEncodingConverter
*result
= 0 ;
14174 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14188 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14193 PyObject
*swig_obj
[1] ;
14195 if (!args
) SWIG_fail
;
14196 swig_obj
[0] = args
;
14197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14198 if (!SWIG_IsOK(res1
)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14201 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_Py_Void();
14216 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
= 0;
14218 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14219 wxFontEncoding arg2
;
14220 wxFontEncoding arg3
;
14221 int arg4
= (int) wxCONVERT_STRICT
;
14231 PyObject
* obj0
= 0 ;
14232 PyObject
* obj1
= 0 ;
14233 PyObject
* obj2
= 0 ;
14234 PyObject
* obj3
= 0 ;
14235 char * kwnames
[] = {
14236 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14244 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14246 if (!SWIG_IsOK(ecode2
)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14249 arg2
= static_cast< wxFontEncoding
>(val2
);
14250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14251 if (!SWIG_IsOK(ecode3
)) {
14252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14254 arg3
= static_cast< wxFontEncoding
>(val3
);
14256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14257 if (!SWIG_IsOK(ecode4
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14260 arg4
= static_cast< int >(val4
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14277 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
= 0;
14279 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14280 wxString
*arg2
= 0 ;
14284 bool temp2
= false ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char * kwnames
[] = {
14288 (char *) "self",(char *) "input", NULL
14291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14293 if (!SWIG_IsOK(res1
)) {
14294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14296 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14298 arg2
= wxString_in_helper(obj1
);
14299 if (arg2
== NULL
) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14329 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
= 0;
14331 wxFontEncoding arg1
;
14332 int arg2
= (int) wxPLATFORM_CURRENT
;
14333 wxFontEncodingArray result
;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 char * kwnames
[] = {
14341 (char *) "enc",(char *) "platform", NULL
14344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14346 if (!SWIG_IsOK(ecode1
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14349 arg1
= static_cast< wxFontEncoding
>(val1
);
14351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14352 if (!SWIG_IsOK(ecode2
)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14355 arg2
= static_cast< int >(val2
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 resultobj
= PyList_New(0);
14365 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14366 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14367 PyList_Append(resultobj
, number
);
14377 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
= 0;
14379 wxFontEncoding arg1
;
14380 wxFontEncodingArray result
;
14383 PyObject
* obj0
= 0 ;
14384 char * kwnames
[] = {
14385 (char *) "enc", NULL
14388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14390 if (!SWIG_IsOK(ecode1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14393 arg1
= static_cast< wxFontEncoding
>(val1
);
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= PyList_New(0);
14402 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14403 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14404 PyList_Append(resultobj
, number
);
14414 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxFontEncoding arg1
;
14417 wxFontEncoding arg2
;
14423 PyObject
* obj0
= 0 ;
14424 PyObject
* obj1
= 0 ;
14425 char * kwnames
[] = {
14426 (char *) "encIn",(char *) "encOut", NULL
14429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14431 if (!SWIG_IsOK(ecode1
)) {
14432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14434 arg1
= static_cast< wxFontEncoding
>(val1
);
14435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14436 if (!SWIG_IsOK(ecode2
)) {
14437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14439 arg2
= static_cast< wxFontEncoding
>(val2
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14455 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14458 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14459 return SWIG_Py_Void();
14462 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14463 return SWIG_Python_InitShadowInstance(args
);
14466 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14467 PyObject
*resultobj
= 0;
14468 wxDC
*arg1
= (wxDC
*) 0 ;
14471 PyObject
*swig_obj
[1] ;
14473 if (!args
) SWIG_fail
;
14474 swig_obj
[0] = args
;
14475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14476 if (!SWIG_IsOK(res1
)) {
14477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= SWIG_Py_Void();
14494 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
= 0;
14496 wxDC
*arg1
= (wxDC
*) 0 ;
14499 wxColour
*arg4
= 0 ;
14500 int arg5
= (int) wxFLOOD_SURFACE
;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 PyObject
* obj2
= 0 ;
14514 PyObject
* obj3
= 0 ;
14515 PyObject
* obj4
= 0 ;
14516 char * kwnames
[] = {
14517 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14527 if (!SWIG_IsOK(ecode2
)) {
14528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14530 arg2
= static_cast< int >(val2
);
14531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14532 if (!SWIG_IsOK(ecode3
)) {
14533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14535 arg3
= static_cast< int >(val3
);
14538 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14542 if (!SWIG_IsOK(ecode5
)) {
14543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14545 arg5
= static_cast< int >(val5
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14562 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
= 0;
14564 wxDC
*arg1
= (wxDC
*) 0 ;
14565 wxPoint
*arg2
= 0 ;
14566 wxColour
*arg3
= 0 ;
14567 int arg4
= (int) wxFLOOD_SURFACE
;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 PyObject
* obj2
= 0 ;
14578 PyObject
* obj3
= 0 ;
14579 char * kwnames
[] = {
14580 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14595 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14598 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14599 if (!SWIG_IsOK(ecode4
)) {
14600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14602 arg4
= static_cast< int >(val4
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
= 0;
14621 wxDC
*arg1
= (wxDC
*) 0 ;
14623 wxColour
*arg3
= 0 ;
14624 wxColour
*arg4
= 0 ;
14625 wxPoint
*arg5
= 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 PyObject
* obj2
= 0 ;
14635 PyObject
* obj3
= 0 ;
14636 PyObject
* obj4
= 0 ;
14637 char * kwnames
[] = {
14638 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14643 if (!SWIG_IsOK(res1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14653 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14657 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14661 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_Py_Void();
14676 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
= 0;
14678 wxDC
*arg1
= (wxDC
*) 0 ;
14680 wxColour
*arg3
= 0 ;
14681 wxColour
*arg4
= 0 ;
14682 wxDirection arg5
= (wxDirection
) wxEAST
;
14690 PyObject
* obj0
= 0 ;
14691 PyObject
* obj1
= 0 ;
14692 PyObject
* obj2
= 0 ;
14693 PyObject
* obj3
= 0 ;
14694 PyObject
* obj4
= 0 ;
14695 char * kwnames
[] = {
14696 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14711 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14715 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14719 if (!SWIG_IsOK(ecode5
)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14722 arg5
= static_cast< wxDirection
>(val5
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_Py_Void();
14737 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
= 0;
14739 wxDC
*arg1
= (wxDC
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 PyObject
* obj2
= 0 ;
14752 char * kwnames
[] = {
14753 (char *) "self",(char *) "x",(char *) "y", NULL
14756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14763 if (!SWIG_IsOK(ecode2
)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14766 arg2
= static_cast< int >(val2
);
14767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14768 if (!SWIG_IsOK(ecode3
)) {
14769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14771 arg3
= static_cast< int >(val3
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14785 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
= 0;
14787 wxDC
*arg1
= (wxDC
*) 0 ;
14788 wxPoint
*arg2
= 0 ;
14793 PyObject
* obj0
= 0 ;
14794 PyObject
* obj1
= 0 ;
14795 char * kwnames
[] = {
14796 (char *) "self",(char *) "pt", NULL
14799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14801 if (!SWIG_IsOK(res1
)) {
14802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14822 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
= 0;
14824 wxDC
*arg1
= (wxDC
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 PyObject
* obj2
= 0 ;
14842 PyObject
* obj3
= 0 ;
14843 PyObject
* obj4
= 0 ;
14844 char * kwnames
[] = {
14845 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14855 if (!SWIG_IsOK(ecode2
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14858 arg2
= static_cast< int >(val2
);
14859 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14860 if (!SWIG_IsOK(ecode3
)) {
14861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14863 arg3
= static_cast< int >(val3
);
14864 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14865 if (!SWIG_IsOK(ecode4
)) {
14866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14868 arg4
= static_cast< int >(val4
);
14869 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14870 if (!SWIG_IsOK(ecode5
)) {
14871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14873 arg5
= static_cast< int >(val5
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_Py_Void();
14887 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
= 0;
14889 wxDC
*arg1
= (wxDC
*) 0 ;
14890 wxPoint
*arg2
= 0 ;
14891 wxPoint
*arg3
= 0 ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 PyObject
* obj2
= 0 ;
14899 char * kwnames
[] = {
14900 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_Py_Void();
14930 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
= 0;
14932 wxDC
*arg1
= (wxDC
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 PyObject
* obj2
= 0 ;
14944 char * kwnames
[] = {
14945 (char *) "self",(char *) "x",(char *) "y", NULL
14948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14955 if (!SWIG_IsOK(ecode2
)) {
14956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14958 arg2
= static_cast< int >(val2
);
14959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14960 if (!SWIG_IsOK(ecode3
)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14963 arg3
= static_cast< int >(val3
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 (arg1
)->CrossHair(arg2
,arg3
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_Py_Void();
14977 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
= 0;
14979 wxDC
*arg1
= (wxDC
*) 0 ;
14980 wxPoint
*arg2
= 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "pt", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_Py_Void();
15013 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxDC
*arg1
= (wxDC
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 PyObject
* obj2
= 0 ;
15039 PyObject
* obj3
= 0 ;
15040 PyObject
* obj4
= 0 ;
15041 PyObject
* obj5
= 0 ;
15042 PyObject
* obj6
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15054 if (!SWIG_IsOK(ecode2
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15057 arg2
= static_cast< int >(val2
);
15058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15059 if (!SWIG_IsOK(ecode3
)) {
15060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15062 arg3
= static_cast< int >(val3
);
15063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15064 if (!SWIG_IsOK(ecode4
)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15067 arg4
= static_cast< int >(val4
);
15068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15069 if (!SWIG_IsOK(ecode5
)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15072 arg5
= static_cast< int >(val5
);
15073 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15074 if (!SWIG_IsOK(ecode6
)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15077 arg6
= static_cast< int >(val6
);
15078 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15079 if (!SWIG_IsOK(ecode7
)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15082 arg7
= static_cast< int >(val7
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_Py_Void();
15096 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
= 0;
15098 wxDC
*arg1
= (wxDC
*) 0 ;
15099 wxPoint
*arg2
= 0 ;
15100 wxPoint
*arg3
= 0 ;
15101 wxPoint
*arg4
= 0 ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 PyObject
* obj2
= 0 ;
15110 PyObject
* obj3
= 0 ;
15111 char * kwnames
[] = {
15112 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15117 if (!SWIG_IsOK(res1
)) {
15118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15131 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_Py_Void();
15146 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
= 0;
15148 wxDC
*arg1
= (wxDC
*) 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 PyObject
* obj2
= 0 ;
15166 PyObject
* obj3
= 0 ;
15167 PyObject
* obj4
= 0 ;
15168 char * kwnames
[] = {
15169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15174 if (!SWIG_IsOK(res1
)) {
15175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15179 if (!SWIG_IsOK(ecode2
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15182 arg2
= static_cast< int >(val2
);
15183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15184 if (!SWIG_IsOK(ecode3
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15187 arg3
= static_cast< int >(val3
);
15188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15189 if (!SWIG_IsOK(ecode4
)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15192 arg4
= static_cast< int >(val4
);
15193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15194 if (!SWIG_IsOK(ecode5
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15197 arg5
= static_cast< int >(val5
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_Py_Void();
15211 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxDC
*arg1
= (wxDC
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "self",(char *) "rect", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15232 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_Py_Void();
15247 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
= 0;
15249 wxDC
*arg1
= (wxDC
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 PyObject
* obj1
= 0 ;
15272 PyObject
* obj2
= 0 ;
15273 PyObject
* obj3
= 0 ;
15274 PyObject
* obj4
= 0 ;
15275 PyObject
* obj5
= 0 ;
15276 PyObject
* obj6
= 0 ;
15277 char * kwnames
[] = {
15278 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15283 if (!SWIG_IsOK(res1
)) {
15284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15288 if (!SWIG_IsOK(ecode2
)) {
15289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15291 arg2
= static_cast< int >(val2
);
15292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15293 if (!SWIG_IsOK(ecode3
)) {
15294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15296 arg3
= static_cast< int >(val3
);
15297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15298 if (!SWIG_IsOK(ecode4
)) {
15299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15301 arg4
= static_cast< int >(val4
);
15302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15303 if (!SWIG_IsOK(ecode5
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15306 arg5
= static_cast< int >(val5
);
15307 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15308 if (!SWIG_IsOK(ecode6
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15311 arg6
= static_cast< double >(val6
);
15312 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15313 if (!SWIG_IsOK(ecode7
)) {
15314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15316 arg7
= static_cast< double >(val7
);
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_Py_Void();
15330 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
= 0;
15332 wxDC
*arg1
= (wxDC
*) 0 ;
15333 wxPoint
*arg2
= 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 PyObject
* obj2
= 0 ;
15348 PyObject
* obj3
= 0 ;
15349 PyObject
* obj4
= 0 ;
15350 char * kwnames
[] = {
15351 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15356 if (!SWIG_IsOK(res1
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15366 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15368 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15369 if (!SWIG_IsOK(ecode4
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15372 arg4
= static_cast< double >(val4
);
15373 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15374 if (!SWIG_IsOK(ecode5
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15377 arg5
= static_cast< double >(val5
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_Py_Void();
15391 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxDC
*arg1
= (wxDC
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 char * kwnames
[] = {
15406 (char *) "self",(char *) "x",(char *) "y", NULL
15409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15411 if (!SWIG_IsOK(res1
)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15416 if (!SWIG_IsOK(ecode2
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15419 arg2
= static_cast< int >(val2
);
15420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15421 if (!SWIG_IsOK(ecode3
)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15424 arg3
= static_cast< int >(val3
);
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->DrawPoint(arg2
,arg3
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_Py_Void();
15438 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
= 0;
15440 wxDC
*arg1
= (wxDC
*) 0 ;
15441 wxPoint
*arg2
= 0 ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char * kwnames
[] = {
15448 (char *) "self",(char *) "pt", NULL
15451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15453 if (!SWIG_IsOK(res1
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_Py_Void();
15474 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
= 0;
15476 wxDC
*arg1
= (wxDC
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 PyObject
* obj1
= 0 ;
15493 PyObject
* obj2
= 0 ;
15494 PyObject
* obj3
= 0 ;
15495 PyObject
* obj4
= 0 ;
15496 char * kwnames
[] = {
15497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15502 if (!SWIG_IsOK(res1
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15507 if (!SWIG_IsOK(ecode2
)) {
15508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15510 arg2
= static_cast< int >(val2
);
15511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15512 if (!SWIG_IsOK(ecode3
)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15515 arg3
= static_cast< int >(val3
);
15516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15517 if (!SWIG_IsOK(ecode4
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15520 arg4
= static_cast< int >(val4
);
15521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15522 if (!SWIG_IsOK(ecode5
)) {
15523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15525 arg5
= static_cast< int >(val5
);
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_Py_Void();
15539 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
= 0;
15541 wxDC
*arg1
= (wxDC
*) 0 ;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 char * kwnames
[] = {
15549 (char *) "self",(char *) "rect", NULL
15552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15554 if (!SWIG_IsOK(res1
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15560 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_Py_Void();
15575 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= 0;
15577 wxDC
*arg1
= (wxDC
*) 0 ;
15578 wxPoint
*arg2
= 0 ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "self",(char *) "pt",(char *) "sz", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15599 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15603 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= SWIG_Py_Void();
15618 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
= 0;
15620 wxDC
*arg1
= (wxDC
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 PyObject
* obj3
= 0 ;
15642 PyObject
* obj4
= 0 ;
15643 PyObject
* obj5
= 0 ;
15644 char * kwnames
[] = {
15645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15650 if (!SWIG_IsOK(res1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15655 if (!SWIG_IsOK(ecode2
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15658 arg2
= static_cast< int >(val2
);
15659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15660 if (!SWIG_IsOK(ecode3
)) {
15661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15663 arg3
= static_cast< int >(val3
);
15664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15665 if (!SWIG_IsOK(ecode4
)) {
15666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15668 arg4
= static_cast< int >(val4
);
15669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15670 if (!SWIG_IsOK(ecode5
)) {
15671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15673 arg5
= static_cast< int >(val5
);
15674 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15675 if (!SWIG_IsOK(ecode6
)) {
15676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15678 arg6
= static_cast< double >(val6
);
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_Py_Void();
15692 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
= 0;
15694 wxDC
*arg1
= (wxDC
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 PyObject
* obj2
= 0 ;
15705 char * kwnames
[] = {
15706 (char *) "self",(char *) "r",(char *) "radius", NULL
15709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15719 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15720 if (!SWIG_IsOK(ecode3
)) {
15721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15723 arg3
= static_cast< double >(val3
);
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_Py_Void();
15737 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
= 0;
15739 wxDC
*arg1
= (wxDC
*) 0 ;
15740 wxPoint
*arg2
= 0 ;
15749 PyObject
* obj0
= 0 ;
15750 PyObject
* obj1
= 0 ;
15751 PyObject
* obj2
= 0 ;
15752 PyObject
* obj3
= 0 ;
15753 char * kwnames
[] = {
15754 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15759 if (!SWIG_IsOK(res1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15769 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15771 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15772 if (!SWIG_IsOK(ecode4
)) {
15773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15775 arg4
= static_cast< double >(val4
);
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
= 0;
15791 wxDC
*arg1
= (wxDC
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 PyObject
* obj2
= 0 ;
15806 PyObject
* obj3
= 0 ;
15807 char * kwnames
[] = {
15808 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15818 if (!SWIG_IsOK(ecode2
)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15821 arg2
= static_cast< int >(val2
);
15822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15823 if (!SWIG_IsOK(ecode3
)) {
15824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15826 arg3
= static_cast< int >(val3
);
15827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15828 if (!SWIG_IsOK(ecode4
)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15831 arg4
= static_cast< int >(val4
);
15833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15834 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= SWIG_Py_Void();
15845 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
= 0;
15847 wxDC
*arg1
= (wxDC
*) 0 ;
15848 wxPoint
*arg2
= 0 ;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 PyObject
* obj2
= 0 ;
15858 char * kwnames
[] = {
15859 (char *) "self",(char *) "pt",(char *) "radius", NULL
15862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15864 if (!SWIG_IsOK(res1
)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15873 if (!SWIG_IsOK(ecode3
)) {
15874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15876 arg3
= static_cast< int >(val3
);
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_Py_Void();
15890 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 wxDC
*arg1
= (wxDC
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 PyObject
* obj2
= 0 ;
15910 PyObject
* obj3
= 0 ;
15911 PyObject
* obj4
= 0 ;
15912 char * kwnames
[] = {
15913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15923 if (!SWIG_IsOK(ecode2
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15926 arg2
= static_cast< int >(val2
);
15927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15928 if (!SWIG_IsOK(ecode3
)) {
15929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15931 arg3
= static_cast< int >(val3
);
15932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15933 if (!SWIG_IsOK(ecode4
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15936 arg4
= static_cast< int >(val4
);
15937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15938 if (!SWIG_IsOK(ecode5
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15941 arg5
= static_cast< int >(val5
);
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_Py_Void();
15955 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
= 0;
15957 wxDC
*arg1
= (wxDC
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 char * kwnames
[] = {
15965 (char *) "self",(char *) "rect", NULL
15968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15976 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_Py_Void();
15991 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
= 0;
15993 wxDC
*arg1
= (wxDC
*) 0 ;
15994 wxPoint
*arg2
= 0 ;
16000 PyObject
* obj0
= 0 ;
16001 PyObject
* obj1
= 0 ;
16002 PyObject
* obj2
= 0 ;
16003 char * kwnames
[] = {
16004 (char *) "self",(char *) "pt",(char *) "sz", NULL
16007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16019 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_Py_Void();
16034 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxDC
*arg1
= (wxDC
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 PyObject
* obj2
= 0 ;
16051 PyObject
* obj3
= 0 ;
16052 char * kwnames
[] = {
16053 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16058 if (!SWIG_IsOK(res1
)) {
16059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16063 if (!SWIG_IsOK(res2
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16069 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16071 if (!SWIG_IsOK(ecode3
)) {
16072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16074 arg3
= static_cast< int >(val3
);
16075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16076 if (!SWIG_IsOK(ecode4
)) {
16077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16079 arg4
= static_cast< int >(val4
);
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_Py_Void();
16093 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
= 0;
16095 wxDC
*arg1
= (wxDC
*) 0 ;
16097 wxPoint
*arg3
= 0 ;
16103 PyObject
* obj0
= 0 ;
16104 PyObject
* obj1
= 0 ;
16105 PyObject
* obj2
= 0 ;
16106 char * kwnames
[] = {
16107 (char *) "self",(char *) "icon",(char *) "pt", NULL
16110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16117 if (!SWIG_IsOK(res2
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16123 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_Py_Void();
16141 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
= 0;
16143 wxDC
*arg1
= (wxDC
*) 0 ;
16144 wxBitmap
*arg2
= 0 ;
16147 bool arg5
= (bool) false ;
16158 PyObject
* obj0
= 0 ;
16159 PyObject
* obj1
= 0 ;
16160 PyObject
* obj2
= 0 ;
16161 PyObject
* obj3
= 0 ;
16162 PyObject
* obj4
= 0 ;
16163 char * kwnames
[] = {
16164 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16169 if (!SWIG_IsOK(res1
)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16174 if (!SWIG_IsOK(res2
)) {
16175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16180 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16182 if (!SWIG_IsOK(ecode3
)) {
16183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16185 arg3
= static_cast< int >(val3
);
16186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16187 if (!SWIG_IsOK(ecode4
)) {
16188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16190 arg4
= static_cast< int >(val4
);
16192 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16193 if (!SWIG_IsOK(ecode5
)) {
16194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16196 arg5
= static_cast< bool >(val5
);
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= SWIG_Py_Void();
16211 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
= 0;
16213 wxDC
*arg1
= (wxDC
*) 0 ;
16214 wxBitmap
*arg2
= 0 ;
16215 wxPoint
*arg3
= 0 ;
16216 bool arg4
= (bool) false ;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 PyObject
* obj2
= 0 ;
16227 PyObject
* obj3
= 0 ;
16228 char * kwnames
[] = {
16229 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16234 if (!SWIG_IsOK(res1
)) {
16235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16239 if (!SWIG_IsOK(res2
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16245 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16251 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16252 if (!SWIG_IsOK(ecode4
)) {
16253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16255 arg4
= static_cast< bool >(val4
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_Py_Void();
16270 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
= 0;
16272 wxDC
*arg1
= (wxDC
*) 0 ;
16273 wxString
*arg2
= 0 ;
16278 bool temp2
= false ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 PyObject
* obj2
= 0 ;
16286 PyObject
* obj3
= 0 ;
16287 char * kwnames
[] = {
16288 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16293 if (!SWIG_IsOK(res1
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16298 arg2
= wxString_in_helper(obj1
);
16299 if (arg2
== NULL
) SWIG_fail
;
16302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16303 if (!SWIG_IsOK(ecode3
)) {
16304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16306 arg3
= static_cast< int >(val3
);
16307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16308 if (!SWIG_IsOK(ecode4
)) {
16309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16311 arg4
= static_cast< int >(val4
);
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_Py_Void();
16333 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
= 0;
16335 wxDC
*arg1
= (wxDC
*) 0 ;
16336 wxString
*arg2
= 0 ;
16337 wxPoint
*arg3
= 0 ;
16340 bool temp2
= false ;
16342 PyObject
* obj0
= 0 ;
16343 PyObject
* obj1
= 0 ;
16344 PyObject
* obj2
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "self",(char *) "text",(char *) "pt", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16356 arg2
= wxString_in_helper(obj1
);
16357 if (arg2
== NULL
) SWIG_fail
;
16362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_Py_Void();
16385 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= 0;
16387 wxDC
*arg1
= (wxDC
*) 0 ;
16388 wxString
*arg2
= 0 ;
16394 bool temp2
= false ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 PyObject
* obj2
= 0 ;
16404 PyObject
* obj3
= 0 ;
16405 PyObject
* obj4
= 0 ;
16406 char * kwnames
[] = {
16407 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16417 arg2
= wxString_in_helper(obj1
);
16418 if (arg2
== NULL
) SWIG_fail
;
16421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16422 if (!SWIG_IsOK(ecode3
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16425 arg3
= static_cast< int >(val3
);
16426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16427 if (!SWIG_IsOK(ecode4
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16430 arg4
= static_cast< int >(val4
);
16431 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16432 if (!SWIG_IsOK(ecode5
)) {
16433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16435 arg5
= static_cast< double >(val5
);
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_Py_Void();
16457 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
= 0;
16459 wxDC
*arg1
= (wxDC
*) 0 ;
16460 wxString
*arg2
= 0 ;
16461 wxPoint
*arg3
= 0 ;
16465 bool temp2
= false ;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 PyObject
* obj2
= 0 ;
16472 PyObject
* obj3
= 0 ;
16473 char * kwnames
[] = {
16474 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16479 if (!SWIG_IsOK(res1
)) {
16480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16484 arg2
= wxString_in_helper(obj1
);
16485 if (arg2
== NULL
) SWIG_fail
;
16490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16492 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16493 if (!SWIG_IsOK(ecode4
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16496 arg4
= static_cast< double >(val4
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_Py_Void();
16518 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
= 0;
16520 wxDC
*arg1
= (wxDC
*) 0 ;
16525 wxDC
*arg6
= (wxDC
*) 0 ;
16528 int arg9
= (int) wxCOPY
;
16529 bool arg10
= (bool) false ;
16530 int arg11
= (int) -1 ;
16531 int arg12
= (int) -1 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 PyObject
* obj2
= 0 ;
16560 PyObject
* obj3
= 0 ;
16561 PyObject
* obj4
= 0 ;
16562 PyObject
* obj5
= 0 ;
16563 PyObject
* obj6
= 0 ;
16564 PyObject
* obj7
= 0 ;
16565 PyObject
* obj8
= 0 ;
16566 PyObject
* obj9
= 0 ;
16567 PyObject
* obj10
= 0 ;
16568 PyObject
* obj11
= 0 ;
16569 char * kwnames
[] = {
16570 (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
16573 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
;
16574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16575 if (!SWIG_IsOK(res1
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16580 if (!SWIG_IsOK(ecode2
)) {
16581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16583 arg2
= static_cast< int >(val2
);
16584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16585 if (!SWIG_IsOK(ecode3
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16588 arg3
= static_cast< int >(val3
);
16589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16590 if (!SWIG_IsOK(ecode4
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16593 arg4
= static_cast< int >(val4
);
16594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16595 if (!SWIG_IsOK(ecode5
)) {
16596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16598 arg5
= static_cast< int >(val5
);
16599 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16600 if (!SWIG_IsOK(res6
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16603 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16604 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16605 if (!SWIG_IsOK(ecode7
)) {
16606 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16608 arg7
= static_cast< int >(val7
);
16609 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16610 if (!SWIG_IsOK(ecode8
)) {
16611 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16613 arg8
= static_cast< int >(val8
);
16615 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16616 if (!SWIG_IsOK(ecode9
)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16619 arg9
= static_cast< int >(val9
);
16622 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16623 if (!SWIG_IsOK(ecode10
)) {
16624 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16626 arg10
= static_cast< bool >(val10
);
16629 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16630 if (!SWIG_IsOK(ecode11
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16633 arg11
= static_cast< int >(val11
);
16636 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16637 if (!SWIG_IsOK(ecode12
)) {
16638 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16640 arg12
= static_cast< int >(val12
);
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16657 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
= 0;
16659 wxDC
*arg1
= (wxDC
*) 0 ;
16660 wxPoint
*arg2
= 0 ;
16662 wxDC
*arg4
= (wxDC
*) 0 ;
16663 wxPoint
*arg5
= 0 ;
16664 int arg6
= (int) wxCOPY
;
16665 bool arg7
= (bool) false ;
16666 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16667 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 PyObject
* obj2
= 0 ;
16684 PyObject
* obj3
= 0 ;
16685 PyObject
* obj4
= 0 ;
16686 PyObject
* obj5
= 0 ;
16687 PyObject
* obj6
= 0 ;
16688 PyObject
* obj7
= 0 ;
16689 char * kwnames
[] = {
16690 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16695 if (!SWIG_IsOK(res1
)) {
16696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16705 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16707 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16708 if (!SWIG_IsOK(res4
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16711 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16714 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16717 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16718 if (!SWIG_IsOK(ecode6
)) {
16719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16721 arg6
= static_cast< int >(val6
);
16724 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16725 if (!SWIG_IsOK(ecode7
)) {
16726 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16728 arg7
= static_cast< bool >(val7
);
16733 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16751 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
= 0;
16753 wxDC
*arg1
= (wxDC
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 PyObject
* obj2
= 0 ;
16771 PyObject
* obj3
= 0 ;
16772 PyObject
* obj4
= 0 ;
16773 char * kwnames
[] = {
16774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16784 if (!SWIG_IsOK(ecode2
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16787 arg2
= static_cast< int >(val2
);
16788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16789 if (!SWIG_IsOK(ecode3
)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16792 arg3
= static_cast< int >(val3
);
16793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16794 if (!SWIG_IsOK(ecode4
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16797 arg4
= static_cast< int >(val4
);
16798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16799 if (!SWIG_IsOK(ecode5
)) {
16800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16802 arg5
= static_cast< int >(val5
);
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_Py_Void();
16816 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
= 0;
16818 wxDC
*arg1
= (wxDC
*) 0 ;
16819 wxPoint
*arg2
= 0 ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 PyObject
* obj2
= 0 ;
16828 char * kwnames
[] = {
16829 (char *) "self",(char *) "pt",(char *) "sz", NULL
16832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16844 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_Py_Void();
16859 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= 0;
16861 wxDC
*arg1
= (wxDC
*) 0 ;
16862 wxRegion
*arg2
= 0 ;
16867 PyObject
* obj0
= 0 ;
16868 PyObject
* obj1
= 0 ;
16869 char * kwnames
[] = {
16870 (char *) "self",(char *) "region", NULL
16873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16875 if (!SWIG_IsOK(res1
)) {
16876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16880 if (!SWIG_IsOK(res2
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16886 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_Py_Void();
16900 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxDC
*arg1
= (wxDC
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 PyObject
* obj1
= 0 ;
16909 char * kwnames
[] = {
16910 (char *) "self",(char *) "rect", NULL
16913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16915 if (!SWIG_IsOK(res1
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_Py_Void();
16936 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= 0;
16938 wxDC
*arg1
= (wxDC
*) 0 ;
16940 wxPoint
*arg3
= (wxPoint
*) 0 ;
16941 int arg4
= (int) 0 ;
16942 int arg5
= (int) 0 ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 PyObject
* obj3
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16964 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16965 if (arg3
== NULL
) SWIG_fail
;
16968 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16969 if (!SWIG_IsOK(ecode4
)) {
16970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16972 arg4
= static_cast< int >(val4
);
16975 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16976 if (!SWIG_IsOK(ecode5
)) {
16977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16979 arg5
= static_cast< int >(val5
);
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= SWIG_Py_Void();
16989 if (arg3
) delete [] arg3
;
16994 if (arg3
) delete [] arg3
;
17000 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
= 0;
17002 wxDC
*arg1
= (wxDC
*) 0 ;
17004 wxPoint
*arg3
= (wxPoint
*) 0 ;
17005 int arg4
= (int) 0 ;
17006 int arg5
= (int) 0 ;
17007 int arg6
= (int) wxODDEVEN_RULE
;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 PyObject
* obj2
= 0 ;
17019 PyObject
* obj3
= 0 ;
17020 PyObject
* obj4
= 0 ;
17021 char * kwnames
[] = {
17022 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17027 if (!SWIG_IsOK(res1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17032 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17033 if (arg3
== NULL
) SWIG_fail
;
17036 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17037 if (!SWIG_IsOK(ecode4
)) {
17038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17040 arg4
= static_cast< int >(val4
);
17043 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17044 if (!SWIG_IsOK(ecode5
)) {
17045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17047 arg5
= static_cast< int >(val5
);
17050 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17051 if (!SWIG_IsOK(ecode6
)) {
17052 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17054 arg6
= static_cast< int >(val6
);
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= SWIG_Py_Void();
17064 if (arg3
) delete [] arg3
;
17069 if (arg3
) delete [] arg3
;
17075 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
= 0;
17077 wxDC
*arg1
= (wxDC
*) 0 ;
17078 wxString
*arg2
= 0 ;
17080 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17081 int arg5
= (int) -1 ;
17084 bool temp2
= false ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 PyObject
* obj2
= 0 ;
17093 PyObject
* obj3
= 0 ;
17094 PyObject
* obj4
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17101 if (!SWIG_IsOK(res1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17106 arg2
= wxString_in_helper(obj1
);
17107 if (arg2
== NULL
) SWIG_fail
;
17112 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17115 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17116 if (!SWIG_IsOK(ecode4
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17119 arg4
= static_cast< int >(val4
);
17122 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17123 if (!SWIG_IsOK(ecode5
)) {
17124 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17126 arg5
= static_cast< int >(val5
);
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= SWIG_Py_Void();
17149 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
= 0;
17151 wxDC
*arg1
= (wxDC
*) 0 ;
17152 wxString
*arg2
= 0 ;
17153 wxBitmap
*arg3
= 0 ;
17155 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17156 int arg6
= (int) -1 ;
17160 bool temp2
= false ;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 PyObject
* obj2
= 0 ;
17171 PyObject
* obj3
= 0 ;
17172 PyObject
* obj4
= 0 ;
17173 PyObject
* obj5
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17180 if (!SWIG_IsOK(res1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17185 arg2
= wxString_in_helper(obj1
);
17186 if (arg2
== NULL
) SWIG_fail
;
17189 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17190 if (!SWIG_IsOK(res3
)) {
17191 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17196 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17199 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17203 if (!SWIG_IsOK(ecode5
)) {
17204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17206 arg5
= static_cast< int >(val5
);
17209 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17210 if (!SWIG_IsOK(ecode6
)) {
17211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17213 arg6
= static_cast< int >(val6
);
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17236 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxDC
*arg1
= (wxDC
*) 0 ;
17240 wxPoint
*arg3
= (wxPoint
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char * kwnames
[] = {
17246 (char *) "self",(char *) "points", NULL
17249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17256 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17257 if (arg3
== NULL
) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 (arg1
)->DrawSpline(arg2
,arg3
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_Py_Void();
17267 if (arg3
) delete [] arg3
;
17272 if (arg3
) delete [] arg3
;
17278 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17279 PyObject
*resultobj
= 0;
17280 wxDC
*arg1
= (wxDC
*) 0 ;
17283 PyObject
*swig_obj
[1] ;
17285 if (!args
) SWIG_fail
;
17286 swig_obj
[0] = args
;
17287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17288 if (!SWIG_IsOK(res1
)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= SWIG_Py_Void();
17305 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
= 0;
17307 wxDC
*arg1
= (wxDC
*) 0 ;
17308 wxString
*arg2
= 0 ;
17312 bool temp2
= false ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 char * kwnames
[] = {
17316 (char *) "self",(char *) "message", NULL
17319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17321 if (!SWIG_IsOK(res1
)) {
17322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17326 arg2
= wxString_in_helper(obj1
);
17327 if (arg2
== NULL
) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17353 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17354 PyObject
*resultobj
= 0;
17355 wxDC
*arg1
= (wxDC
*) 0 ;
17358 PyObject
*swig_obj
[1] ;
17360 if (!args
) SWIG_fail
;
17361 swig_obj
[0] = args
;
17362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17363 if (!SWIG_IsOK(res1
)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_Py_Void();
17380 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17381 PyObject
*resultobj
= 0;
17382 wxDC
*arg1
= (wxDC
*) 0 ;
17385 PyObject
*swig_obj
[1] ;
17387 if (!args
) SWIG_fail
;
17388 swig_obj
[0] = args
;
17389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17390 if (!SWIG_IsOK(res1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 (arg1
)->StartPage();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= SWIG_Py_Void();
17407 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17408 PyObject
*resultobj
= 0;
17409 wxDC
*arg1
= (wxDC
*) 0 ;
17412 PyObject
*swig_obj
[1] ;
17414 if (!args
) SWIG_fail
;
17415 swig_obj
[0] = args
;
17416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17417 if (!SWIG_IsOK(res1
)) {
17418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= SWIG_Py_Void();
17434 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= 0;
17436 wxDC
*arg1
= (wxDC
*) 0 ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "self",(char *) "font", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17455 if (!SWIG_IsOK(res2
)) {
17456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17461 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 (arg1
)->SetFont((wxFont
const &)*arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_Py_Void();
17475 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
= 0;
17477 wxDC
*arg1
= (wxDC
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "self",(char *) "pen", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17491 if (!SWIG_IsOK(res1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17496 if (!SWIG_IsOK(res2
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17502 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 (arg1
)->SetPen((wxPen
const &)*arg2
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= SWIG_Py_Void();
17516 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
= 0;
17518 wxDC
*arg1
= (wxDC
*) 0 ;
17519 wxBrush
*arg2
= 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char * kwnames
[] = {
17527 (char *) "self",(char *) "brush", NULL
17530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17537 if (!SWIG_IsOK(res2
)) {
17538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17543 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_Py_Void();
17557 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
= 0;
17559 wxDC
*arg1
= (wxDC
*) 0 ;
17560 wxBrush
*arg2
= 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char * kwnames
[] = {
17568 (char *) "self",(char *) "brush", NULL
17571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17573 if (!SWIG_IsOK(res1
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17578 if (!SWIG_IsOK(res2
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17584 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= SWIG_Py_Void();
17598 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
= 0;
17600 wxDC
*arg1
= (wxDC
*) 0 ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "self",(char *) "mode", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17619 if (!SWIG_IsOK(ecode2
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17622 arg2
= static_cast< int >(val2
);
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 (arg1
)->SetBackgroundMode(arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_Py_Void();
17636 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
= 0;
17638 wxDC
*arg1
= (wxDC
*) 0 ;
17639 wxPalette
*arg2
= 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char * kwnames
[] = {
17647 (char *) "self",(char *) "palette", NULL
17650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17652 if (!SWIG_IsOK(res1
)) {
17653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17657 if (!SWIG_IsOK(res2
)) {
17658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17663 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_Py_Void();
17677 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17678 PyObject
*resultobj
= 0;
17679 wxDC
*arg1
= (wxDC
*) 0 ;
17682 PyObject
*swig_obj
[1] ;
17684 if (!args
) SWIG_fail
;
17685 swig_obj
[0] = args
;
17686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 (arg1
)->DestroyClippingRegion();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_Py_Void();
17704 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17705 PyObject
*resultobj
= 0;
17706 wxDC
*arg1
= (wxDC
*) 0 ;
17707 int *arg2
= (int *) 0 ;
17708 int *arg3
= (int *) 0 ;
17709 int *arg4
= (int *) 0 ;
17710 int *arg5
= (int *) 0 ;
17714 int res2
= SWIG_TMPOBJ
;
17716 int res3
= SWIG_TMPOBJ
;
17718 int res4
= SWIG_TMPOBJ
;
17720 int res5
= SWIG_TMPOBJ
;
17721 PyObject
*swig_obj
[1] ;
17727 if (!args
) SWIG_fail
;
17728 swig_obj
[0] = args
;
17729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_Py_Void();
17741 if (SWIG_IsTmpObj(res2
)) {
17742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17744 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17747 if (SWIG_IsTmpObj(res3
)) {
17748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17750 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17753 if (SWIG_IsTmpObj(res4
)) {
17754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17756 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17759 if (SWIG_IsTmpObj(res5
)) {
17760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17762 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17771 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17772 PyObject
*resultobj
= 0;
17773 wxDC
*arg1
= (wxDC
*) 0 ;
17777 PyObject
*swig_obj
[1] ;
17779 if (!args
) SWIG_fail
;
17780 swig_obj
[0] = args
;
17781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17782 if (!SWIG_IsOK(res1
)) {
17783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= wxDC_GetClippingRect(arg1
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17799 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17800 PyObject
*resultobj
= 0;
17801 wxDC
*arg1
= (wxDC
*) 0 ;
17805 PyObject
*swig_obj
[1] ;
17807 if (!args
) SWIG_fail
;
17808 swig_obj
[0] = args
;
17809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17810 if (!SWIG_IsOK(res1
)) {
17811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17817 wxPyEndAllowThreads(__tstate
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17820 resultobj
= SWIG_From_int(static_cast< int >(result
));
17827 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17828 PyObject
*resultobj
= 0;
17829 wxDC
*arg1
= (wxDC
*) 0 ;
17833 PyObject
*swig_obj
[1] ;
17835 if (!args
) SWIG_fail
;
17836 swig_obj
[0] = args
;
17837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17838 if (!SWIG_IsOK(res1
)) {
17839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_From_int(static_cast< int >(result
));
17855 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
= 0;
17857 wxDC
*arg1
= (wxDC
*) 0 ;
17858 wxString
*arg2
= 0 ;
17859 int *arg3
= (int *) 0 ;
17860 int *arg4
= (int *) 0 ;
17863 bool temp2
= false ;
17865 int res3
= SWIG_TMPOBJ
;
17867 int res4
= SWIG_TMPOBJ
;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char * kwnames
[] = {
17871 (char *) "self",(char *) "string", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17883 arg2
= wxString_in_helper(obj1
);
17884 if (arg2
== NULL
) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_Py_Void();
17894 if (SWIG_IsTmpObj(res3
)) {
17895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17900 if (SWIG_IsTmpObj(res4
)) {
17901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17903 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17920 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
= 0;
17922 wxDC
*arg1
= (wxDC
*) 0 ;
17923 wxString
*arg2
= 0 ;
17924 int *arg3
= (int *) 0 ;
17925 int *arg4
= (int *) 0 ;
17926 int *arg5
= (int *) 0 ;
17927 int *arg6
= (int *) 0 ;
17928 wxFont
*arg7
= (wxFont
*) NULL
;
17931 bool temp2
= false ;
17933 int res3
= SWIG_TMPOBJ
;
17935 int res4
= SWIG_TMPOBJ
;
17937 int res5
= SWIG_TMPOBJ
;
17939 int res6
= SWIG_TMPOBJ
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 PyObject
* obj2
= 0 ;
17945 char * kwnames
[] = {
17946 (char *) "self",(char *) "string",(char *) "font", NULL
17953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17955 if (!SWIG_IsOK(res1
)) {
17956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17960 arg2
= wxString_in_helper(obj1
);
17961 if (arg2
== NULL
) SWIG_fail
;
17965 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17966 if (!SWIG_IsOK(res7
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17969 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_Py_Void();
17978 if (SWIG_IsTmpObj(res3
)) {
17979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17981 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17984 if (SWIG_IsTmpObj(res4
)) {
17985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17987 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17990 if (SWIG_IsTmpObj(res5
)) {
17991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17993 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17996 if (SWIG_IsTmpObj(res6
)) {
17997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
17999 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18016 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxDC
*arg1
= (wxDC
*) 0 ;
18019 wxString
*arg2
= 0 ;
18020 int *arg3
= (int *) 0 ;
18021 int *arg4
= (int *) 0 ;
18022 int *arg5
= (int *) 0 ;
18023 wxFont
*arg6
= (wxFont
*) NULL
;
18026 bool temp2
= false ;
18028 int res3
= SWIG_TMPOBJ
;
18030 int res4
= SWIG_TMPOBJ
;
18032 int res5
= SWIG_TMPOBJ
;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 PyObject
* obj2
= 0 ;
18038 char * kwnames
[] = {
18039 (char *) "self",(char *) "text",(char *) "font", NULL
18045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18052 arg2
= wxString_in_helper(obj1
);
18053 if (arg2
== NULL
) SWIG_fail
;
18057 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18058 if (!SWIG_IsOK(res6
)) {
18059 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18061 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_Py_Void();
18070 if (SWIG_IsTmpObj(res3
)) {
18071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18073 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18076 if (SWIG_IsTmpObj(res4
)) {
18077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18079 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18082 if (SWIG_IsTmpObj(res5
)) {
18083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18085 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18102 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
= 0;
18104 wxDC
*arg1
= (wxDC
*) 0 ;
18105 wxString
*arg2
= 0 ;
18109 bool temp2
= false ;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 char * kwnames
[] = {
18113 (char *) "self",(char *) "text", NULL
18116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18118 if (!SWIG_IsOK(res1
)) {
18119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18123 arg2
= wxString_in_helper(obj1
);
18124 if (arg2
== NULL
) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= PyList_New(0);
18136 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18137 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18138 PyList_Append(resultobj
, val
);
18156 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18157 PyObject
*resultobj
= 0;
18158 wxDC
*arg1
= (wxDC
*) 0 ;
18162 PyObject
*swig_obj
[1] ;
18164 if (!args
) SWIG_fail
;
18165 swig_obj
[0] = args
;
18166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18167 if (!SWIG_IsOK(res1
)) {
18168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (arg1
)->GetSize();
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18184 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18185 PyObject
*resultobj
= 0;
18186 wxDC
*arg1
= (wxDC
*) 0 ;
18187 int *arg2
= (int *) 0 ;
18188 int *arg3
= (int *) 0 ;
18192 int res2
= SWIG_TMPOBJ
;
18194 int res3
= SWIG_TMPOBJ
;
18195 PyObject
*swig_obj
[1] ;
18199 if (!args
) SWIG_fail
;
18200 swig_obj
[0] = args
;
18201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 (arg1
)->GetSize(arg2
,arg3
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_Py_Void();
18213 if (SWIG_IsTmpObj(res2
)) {
18214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18219 if (SWIG_IsTmpObj(res3
)) {
18220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18231 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18232 PyObject
*resultobj
= 0;
18233 wxDC
*arg1
= (wxDC
*) 0 ;
18237 PyObject
*swig_obj
[1] ;
18239 if (!args
) SWIG_fail
;
18240 swig_obj
[0] = args
;
18241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18242 if (!SWIG_IsOK(res1
)) {
18243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18259 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18260 PyObject
*resultobj
= 0;
18261 wxDC
*arg1
= (wxDC
*) 0 ;
18262 int *arg2
= (int *) 0 ;
18263 int *arg3
= (int *) 0 ;
18267 int res2
= SWIG_TMPOBJ
;
18269 int res3
= SWIG_TMPOBJ
;
18270 PyObject
*swig_obj
[1] ;
18274 if (!args
) SWIG_fail
;
18275 swig_obj
[0] = args
;
18276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_Py_Void();
18288 if (SWIG_IsTmpObj(res2
)) {
18289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18291 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18294 if (SWIG_IsTmpObj(res3
)) {
18295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18297 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18306 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
= 0;
18308 wxDC
*arg1
= (wxDC
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 char * kwnames
[] = {
18318 (char *) "self",(char *) "x", NULL
18321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18323 if (!SWIG_IsOK(res1
)) {
18324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18328 if (!SWIG_IsOK(ecode2
)) {
18329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18331 arg2
= static_cast< int >(val2
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_From_int(static_cast< int >(result
));
18345 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
= 0;
18347 wxDC
*arg1
= (wxDC
*) 0 ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char * kwnames
[] = {
18357 (char *) "self",(char *) "y", NULL
18360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18362 if (!SWIG_IsOK(res1
)) {
18363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18367 if (!SWIG_IsOK(ecode2
)) {
18368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18370 arg2
= static_cast< int >(val2
);
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= SWIG_From_int(static_cast< int >(result
));
18384 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
= 0;
18386 wxDC
*arg1
= (wxDC
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 char * kwnames
[] = {
18396 (char *) "self",(char *) "x", NULL
18399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18401 if (!SWIG_IsOK(res1
)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18406 if (!SWIG_IsOK(ecode2
)) {
18407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18409 arg2
= static_cast< int >(val2
);
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_From_int(static_cast< int >(result
));
18423 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
= 0;
18425 wxDC
*arg1
= (wxDC
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "y", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18445 if (!SWIG_IsOK(ecode2
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18448 arg2
= static_cast< int >(val2
);
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_From_int(static_cast< int >(result
));
18462 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
= 0;
18464 wxDC
*arg1
= (wxDC
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char * kwnames
[] = {
18474 (char *) "self",(char *) "x", NULL
18477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18479 if (!SWIG_IsOK(res1
)) {
18480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18484 if (!SWIG_IsOK(ecode2
)) {
18485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18487 arg2
= static_cast< int >(val2
);
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_From_int(static_cast< int >(result
));
18501 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
= 0;
18503 wxDC
*arg1
= (wxDC
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 char * kwnames
[] = {
18513 (char *) "self",(char *) "y", NULL
18516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18518 if (!SWIG_IsOK(res1
)) {
18519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18523 if (!SWIG_IsOK(ecode2
)) {
18524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18526 arg2
= static_cast< int >(val2
);
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_From_int(static_cast< int >(result
));
18540 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= 0;
18542 wxDC
*arg1
= (wxDC
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char * kwnames
[] = {
18552 (char *) "self",(char *) "x", NULL
18555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18557 if (!SWIG_IsOK(res1
)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18562 if (!SWIG_IsOK(ecode2
)) {
18563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18565 arg2
= static_cast< int >(val2
);
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_From_int(static_cast< int >(result
));
18579 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
= 0;
18581 wxDC
*arg1
= (wxDC
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 char * kwnames
[] = {
18591 (char *) "self",(char *) "y", NULL
18594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18596 if (!SWIG_IsOK(res1
)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18601 if (!SWIG_IsOK(ecode2
)) {
18602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18604 arg2
= static_cast< int >(val2
);
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_From_int(static_cast< int >(result
));
18618 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18619 PyObject
*resultobj
= 0;
18620 wxDC
*arg1
= (wxDC
*) 0 ;
18624 PyObject
*swig_obj
[1] ;
18626 if (!args
) SWIG_fail
;
18627 swig_obj
[0] = args
;
18628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18629 if (!SWIG_IsOK(res1
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18648 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18649 PyObject
*resultobj
= 0;
18650 wxDC
*arg1
= (wxDC
*) 0 ;
18654 PyObject
*swig_obj
[1] ;
18656 if (!args
) SWIG_fail
;
18657 swig_obj
[0] = args
;
18658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18659 if (!SWIG_IsOK(res1
)) {
18660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18678 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18679 PyObject
*resultobj
= 0;
18680 wxDC
*arg1
= (wxDC
*) 0 ;
18684 PyObject
*swig_obj
[1] ;
18686 if (!args
) SWIG_fail
;
18687 swig_obj
[0] = args
;
18688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18689 if (!SWIG_IsOK(res1
)) {
18690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= SWIG_From_int(static_cast< int >(result
));
18706 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18707 PyObject
*resultobj
= 0;
18708 wxDC
*arg1
= (wxDC
*) 0 ;
18712 PyObject
*swig_obj
[1] ;
18714 if (!args
) SWIG_fail
;
18715 swig_obj
[0] = args
;
18716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= ((wxDC
const *)arg1
)->GetPPI();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18734 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18735 PyObject
*resultobj
= 0;
18736 wxDC
*arg1
= (wxDC
*) 0 ;
18740 PyObject
*swig_obj
[1] ;
18742 if (!args
) SWIG_fail
;
18743 swig_obj
[0] = args
;
18744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18745 if (!SWIG_IsOK(res1
)) {
18746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (bool)((wxDC
const *)arg1
)->Ok();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18764 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18765 PyObject
*resultobj
= 0;
18766 wxDC
*arg1
= (wxDC
*) 0 ;
18770 PyObject
*swig_obj
[1] ;
18772 if (!args
) SWIG_fail
;
18773 swig_obj
[0] = args
;
18774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18775 if (!SWIG_IsOK(res1
)) {
18776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= SWIG_From_int(static_cast< int >(result
));
18792 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18793 PyObject
*resultobj
= 0;
18794 wxDC
*arg1
= (wxDC
*) 0 ;
18795 wxBrush
*result
= 0 ;
18798 PyObject
*swig_obj
[1] ;
18800 if (!args
) SWIG_fail
;
18801 swig_obj
[0] = args
;
18802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18803 if (!SWIG_IsOK(res1
)) {
18804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18811 result
= (wxBrush
*) &_result_ref
;
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18817 wxBrush
* resultptr
= new wxBrush(*result
);
18818 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18826 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18827 PyObject
*resultobj
= 0;
18828 wxDC
*arg1
= (wxDC
*) 0 ;
18829 wxBrush
*result
= 0 ;
18832 PyObject
*swig_obj
[1] ;
18834 if (!args
) SWIG_fail
;
18835 swig_obj
[0] = args
;
18836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18837 if (!SWIG_IsOK(res1
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18845 result
= (wxBrush
*) &_result_ref
;
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 wxBrush
* resultptr
= new wxBrush(*result
);
18852 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18860 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18861 PyObject
*resultobj
= 0;
18862 wxDC
*arg1
= (wxDC
*) 0 ;
18863 wxFont
*result
= 0 ;
18866 PyObject
*swig_obj
[1] ;
18868 if (!args
) SWIG_fail
;
18869 swig_obj
[0] = args
;
18870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18879 result
= (wxFont
*) &_result_ref
;
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 wxFont
* resultptr
= new wxFont(*result
);
18886 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18894 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18895 PyObject
*resultobj
= 0;
18896 wxDC
*arg1
= (wxDC
*) 0 ;
18897 wxPen
*result
= 0 ;
18900 PyObject
*swig_obj
[1] ;
18902 if (!args
) SWIG_fail
;
18903 swig_obj
[0] = args
;
18904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18905 if (!SWIG_IsOK(res1
)) {
18906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18913 result
= (wxPen
*) &_result_ref
;
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18919 wxPen
* resultptr
= new wxPen(*result
);
18920 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18928 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18929 PyObject
*resultobj
= 0;
18930 wxDC
*arg1
= (wxDC
*) 0 ;
18931 wxColour
*result
= 0 ;
18934 PyObject
*swig_obj
[1] ;
18936 if (!args
) SWIG_fail
;
18937 swig_obj
[0] = args
;
18938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18939 if (!SWIG_IsOK(res1
)) {
18940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18947 result
= (wxColour
*) &_result_ref
;
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18959 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18960 PyObject
*resultobj
= 0;
18961 wxDC
*arg1
= (wxDC
*) 0 ;
18962 wxColour
*result
= 0 ;
18965 PyObject
*swig_obj
[1] ;
18967 if (!args
) SWIG_fail
;
18968 swig_obj
[0] = args
;
18969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18978 result
= (wxColour
*) &_result_ref
;
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18990 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
= 0;
18992 wxDC
*arg1
= (wxDC
*) 0 ;
18993 wxColour
*arg2
= 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char * kwnames
[] = {
19000 (char *) "self",(char *) "colour", NULL
19003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19005 if (!SWIG_IsOK(res1
)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= SWIG_Py_Void();
19026 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
= 0;
19028 wxDC
*arg1
= (wxDC
*) 0 ;
19029 wxColour
*arg2
= 0 ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "colour", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 resultobj
= SWIG_Py_Void();
19062 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19063 PyObject
*resultobj
= 0;
19064 wxDC
*arg1
= (wxDC
*) 0 ;
19068 PyObject
*swig_obj
[1] ;
19070 if (!args
) SWIG_fail
;
19071 swig_obj
[0] = args
;
19072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_From_int(static_cast< int >(result
));
19090 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= 0;
19092 wxDC
*arg1
= (wxDC
*) 0 ;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 char * kwnames
[] = {
19101 (char *) "self",(char *) "mode", NULL
19104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19106 if (!SWIG_IsOK(res1
)) {
19107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19111 if (!SWIG_IsOK(ecode2
)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19114 arg2
= static_cast< int >(val2
);
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 (arg1
)->SetMapMode(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= SWIG_Py_Void();
19128 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19129 PyObject
*resultobj
= 0;
19130 wxDC
*arg1
= (wxDC
*) 0 ;
19131 double *arg2
= (double *) 0 ;
19132 double *arg3
= (double *) 0 ;
19136 int res2
= SWIG_TMPOBJ
;
19138 int res3
= SWIG_TMPOBJ
;
19139 PyObject
*swig_obj
[1] ;
19143 if (!args
) SWIG_fail
;
19144 swig_obj
[0] = args
;
19145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19146 if (!SWIG_IsOK(res1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_Py_Void();
19157 if (SWIG_IsTmpObj(res2
)) {
19158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19160 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19163 if (SWIG_IsTmpObj(res3
)) {
19164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19166 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19175 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
= 0;
19177 wxDC
*arg1
= (wxDC
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 PyObject
* obj2
= 0 ;
19189 char * kwnames
[] = {
19190 (char *) "self",(char *) "x",(char *) "y", NULL
19193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19199 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19200 if (!SWIG_IsOK(ecode2
)) {
19201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19203 arg2
= static_cast< double >(val2
);
19204 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19205 if (!SWIG_IsOK(ecode3
)) {
19206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19208 arg3
= static_cast< double >(val3
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetUserScale(arg2
,arg3
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19223 PyObject
*resultobj
= 0;
19224 wxDC
*arg1
= (wxDC
*) 0 ;
19225 double *arg2
= (double *) 0 ;
19226 double *arg3
= (double *) 0 ;
19230 int res2
= SWIG_TMPOBJ
;
19232 int res3
= SWIG_TMPOBJ
;
19233 PyObject
*swig_obj
[1] ;
19237 if (!args
) SWIG_fail
;
19238 swig_obj
[0] = args
;
19239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 (arg1
)->GetLogicalScale(arg2
,arg3
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_Py_Void();
19251 if (SWIG_IsTmpObj(res2
)) {
19252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19257 if (SWIG_IsTmpObj(res3
)) {
19258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19269 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
= 0;
19271 wxDC
*arg1
= (wxDC
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 PyObject
* obj2
= 0 ;
19283 char * kwnames
[] = {
19284 (char *) "self",(char *) "x",(char *) "y", NULL
19287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19289 if (!SWIG_IsOK(res1
)) {
19290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19293 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19294 if (!SWIG_IsOK(ecode2
)) {
19295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19297 arg2
= static_cast< double >(val2
);
19298 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19299 if (!SWIG_IsOK(ecode3
)) {
19300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19302 arg3
= static_cast< double >(val3
);
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 (arg1
)->SetLogicalScale(arg2
,arg3
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= SWIG_Py_Void();
19316 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19317 PyObject
*resultobj
= 0;
19318 wxDC
*arg1
= (wxDC
*) 0 ;
19322 PyObject
*swig_obj
[1] ;
19324 if (!args
) SWIG_fail
;
19325 swig_obj
[0] = args
;
19326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19327 if (!SWIG_IsOK(res1
)) {
19328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19344 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19345 PyObject
*resultobj
= 0;
19346 wxDC
*arg1
= (wxDC
*) 0 ;
19347 int *arg2
= (int *) 0 ;
19348 int *arg3
= (int *) 0 ;
19352 int res2
= SWIG_TMPOBJ
;
19354 int res3
= SWIG_TMPOBJ
;
19355 PyObject
*swig_obj
[1] ;
19359 if (!args
) SWIG_fail
;
19360 swig_obj
[0] = args
;
19361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19362 if (!SWIG_IsOK(res1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= SWIG_Py_Void();
19373 if (SWIG_IsTmpObj(res2
)) {
19374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19376 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19379 if (SWIG_IsTmpObj(res3
)) {
19380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19382 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19391 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxDC
*arg1
= (wxDC
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 PyObject
* obj2
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "x",(char *) "y", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19416 if (!SWIG_IsOK(ecode2
)) {
19417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19419 arg2
= static_cast< int >(val2
);
19420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19421 if (!SWIG_IsOK(ecode3
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19424 arg3
= static_cast< int >(val3
);
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_Py_Void();
19438 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxDC
*arg1
= (wxDC
*) 0 ;
19441 wxPoint
*arg2
= 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 char * kwnames
[] = {
19448 (char *) "self",(char *) "point", NULL
19451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19453 if (!SWIG_IsOK(res1
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= SWIG_Py_Void();
19474 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19475 PyObject
*resultobj
= 0;
19476 wxDC
*arg1
= (wxDC
*) 0 ;
19480 PyObject
*swig_obj
[1] ;
19482 if (!args
) SWIG_fail
;
19483 swig_obj
[0] = args
;
19484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19485 if (!SWIG_IsOK(res1
)) {
19486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19502 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19503 PyObject
*resultobj
= 0;
19504 wxDC
*arg1
= (wxDC
*) 0 ;
19505 int *arg2
= (int *) 0 ;
19506 int *arg3
= (int *) 0 ;
19510 int res2
= SWIG_TMPOBJ
;
19512 int res3
= SWIG_TMPOBJ
;
19513 PyObject
*swig_obj
[1] ;
19517 if (!args
) SWIG_fail
;
19518 swig_obj
[0] = args
;
19519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= SWIG_Py_Void();
19531 if (SWIG_IsTmpObj(res2
)) {
19532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19534 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19537 if (SWIG_IsTmpObj(res3
)) {
19538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19540 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19549 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
= 0;
19551 wxDC
*arg1
= (wxDC
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 char * kwnames
[] = {
19564 (char *) "self",(char *) "x",(char *) "y", NULL
19567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19569 if (!SWIG_IsOK(res1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19574 if (!SWIG_IsOK(ecode2
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19577 arg2
= static_cast< int >(val2
);
19578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19579 if (!SWIG_IsOK(ecode3
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19582 arg3
= static_cast< int >(val3
);
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_Py_Void();
19596 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= 0;
19598 wxDC
*arg1
= (wxDC
*) 0 ;
19599 wxPoint
*arg2
= 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 char * kwnames
[] = {
19606 (char *) "self",(char *) "point", NULL
19609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19611 if (!SWIG_IsOK(res1
)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19617 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_Py_Void();
19632 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
= 0;
19634 wxDC
*arg1
= (wxDC
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 PyObject
* obj2
= 0 ;
19646 char * kwnames
[] = {
19647 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19652 if (!SWIG_IsOK(res1
)) {
19653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19657 if (!SWIG_IsOK(ecode2
)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19660 arg2
= static_cast< bool >(val2
);
19661 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19662 if (!SWIG_IsOK(ecode3
)) {
19663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19665 arg3
= static_cast< bool >(val3
);
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_Py_Void();
19679 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19680 PyObject
*resultobj
= 0;
19681 wxDC
*arg1
= (wxDC
*) 0 ;
19685 PyObject
*swig_obj
[1] ;
19687 if (!args
) SWIG_fail
;
19688 swig_obj
[0] = args
;
19689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_From_int(static_cast< int >(result
));
19707 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
= 0;
19709 wxDC
*arg1
= (wxDC
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char * kwnames
[] = {
19718 (char *) "self",(char *) "function", NULL
19721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19723 if (!SWIG_IsOK(res1
)) {
19724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19728 if (!SWIG_IsOK(ecode2
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19731 arg2
= static_cast< int >(val2
);
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->SetLogicalFunction(arg2
);
19735 wxPyEndAllowThreads(__tstate
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= SWIG_Py_Void();
19745 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19746 PyObject
*resultobj
= 0;
19747 wxDC
*arg1
= (wxDC
*) 0 ;
19750 PyObject
*swig_obj
[1] ;
19752 if (!args
) SWIG_fail
;
19753 swig_obj
[0] = args
;
19754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19755 if (!SWIG_IsOK(res1
)) {
19756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->ComputeScaleAndOrigin();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_Py_Void();
19772 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
= 0;
19774 wxDC
*arg1
= (wxDC
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 PyObject
* obj2
= 0 ;
19786 char * kwnames
[] = {
19787 (char *) "self",(char *) "x",(char *) "y", NULL
19790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19792 if (!SWIG_IsOK(res1
)) {
19793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19797 if (!SWIG_IsOK(ecode2
)) {
19798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19800 arg2
= static_cast< int >(val2
);
19801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19802 if (!SWIG_IsOK(ecode3
)) {
19803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19805 arg3
= static_cast< int >(val3
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_Py_Void();
19819 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= 0;
19821 wxDC
*arg1
= (wxDC
*) 0 ;
19822 wxPoint
*arg2
= 0 ;
19826 PyObject
* obj0
= 0 ;
19827 PyObject
* obj1
= 0 ;
19828 char * kwnames
[] = {
19829 (char *) "self",(char *) "point", NULL
19832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19834 if (!SWIG_IsOK(res1
)) {
19835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= SWIG_Py_Void();
19855 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19856 PyObject
*resultobj
= 0;
19857 wxDC
*arg1
= (wxDC
*) 0 ;
19860 PyObject
*swig_obj
[1] ;
19862 if (!args
) SWIG_fail
;
19863 swig_obj
[0] = args
;
19864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 (arg1
)->ResetBoundingBox();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_Py_Void();
19882 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19883 PyObject
*resultobj
= 0;
19884 wxDC
*arg1
= (wxDC
*) 0 ;
19888 PyObject
*swig_obj
[1] ;
19890 if (!args
) SWIG_fail
;
19891 swig_obj
[0] = args
;
19892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (int)((wxDC
const *)arg1
)->MinX();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_From_int(static_cast< int >(result
));
19910 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19911 PyObject
*resultobj
= 0;
19912 wxDC
*arg1
= (wxDC
*) 0 ;
19916 PyObject
*swig_obj
[1] ;
19918 if (!args
) SWIG_fail
;
19919 swig_obj
[0] = args
;
19920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19921 if (!SWIG_IsOK(res1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (int)((wxDC
const *)arg1
)->MaxX();
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_From_int(static_cast< int >(result
));
19938 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19939 PyObject
*resultobj
= 0;
19940 wxDC
*arg1
= (wxDC
*) 0 ;
19944 PyObject
*swig_obj
[1] ;
19946 if (!args
) SWIG_fail
;
19947 swig_obj
[0] = args
;
19948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19949 if (!SWIG_IsOK(res1
)) {
19950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (int)((wxDC
const *)arg1
)->MinY();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_From_int(static_cast< int >(result
));
19966 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19967 PyObject
*resultobj
= 0;
19968 wxDC
*arg1
= (wxDC
*) 0 ;
19972 PyObject
*swig_obj
[1] ;
19974 if (!args
) SWIG_fail
;
19975 swig_obj
[0] = args
;
19976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19977 if (!SWIG_IsOK(res1
)) {
19978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 result
= (int)((wxDC
const *)arg1
)->MaxY();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_From_int(static_cast< int >(result
));
19994 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19995 PyObject
*resultobj
= 0;
19996 wxDC
*arg1
= (wxDC
*) 0 ;
19997 int *arg2
= (int *) 0 ;
19998 int *arg3
= (int *) 0 ;
19999 int *arg4
= (int *) 0 ;
20000 int *arg5
= (int *) 0 ;
20004 int res2
= SWIG_TMPOBJ
;
20006 int res3
= SWIG_TMPOBJ
;
20008 int res4
= SWIG_TMPOBJ
;
20010 int res5
= SWIG_TMPOBJ
;
20011 PyObject
*swig_obj
[1] ;
20017 if (!args
) SWIG_fail
;
20018 swig_obj
[0] = args
;
20019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20020 if (!SWIG_IsOK(res1
)) {
20021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_Py_Void();
20031 if (SWIG_IsTmpObj(res2
)) {
20032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20034 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20037 if (SWIG_IsTmpObj(res3
)) {
20038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20040 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20043 if (SWIG_IsTmpObj(res4
)) {
20044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20046 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20049 if (SWIG_IsTmpObj(res5
)) {
20050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20052 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20061 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxDC
*arg1
= (wxDC
*) 0 ;
20064 PyObject
*arg2
= (PyObject
*) 0 ;
20065 PyObject
*arg3
= (PyObject
*) 0 ;
20066 PyObject
*arg4
= (PyObject
*) 0 ;
20067 PyObject
*result
= 0 ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 PyObject
* obj2
= 0 ;
20073 PyObject
* obj3
= 0 ;
20074 char * kwnames
[] = {
20075 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20080 if (!SWIG_IsOK(res1
)) {
20081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= result
;
20100 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= 0;
20102 wxDC
*arg1
= (wxDC
*) 0 ;
20103 PyObject
*arg2
= (PyObject
*) 0 ;
20104 PyObject
*arg3
= (PyObject
*) 0 ;
20105 PyObject
*arg4
= (PyObject
*) 0 ;
20106 PyObject
*result
= 0 ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 PyObject
* obj2
= 0 ;
20112 PyObject
* obj3
= 0 ;
20113 char * kwnames
[] = {
20114 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20119 if (!SWIG_IsOK(res1
)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= result
;
20139 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
= 0;
20141 wxDC
*arg1
= (wxDC
*) 0 ;
20142 PyObject
*arg2
= (PyObject
*) 0 ;
20143 PyObject
*arg3
= (PyObject
*) 0 ;
20144 PyObject
*arg4
= (PyObject
*) 0 ;
20145 PyObject
*result
= 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 PyObject
* obj2
= 0 ;
20151 PyObject
* obj3
= 0 ;
20152 char * kwnames
[] = {
20153 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20158 if (!SWIG_IsOK(res1
)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= result
;
20178 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= 0;
20180 wxDC
*arg1
= (wxDC
*) 0 ;
20181 PyObject
*arg2
= (PyObject
*) 0 ;
20182 PyObject
*arg3
= (PyObject
*) 0 ;
20183 PyObject
*arg4
= (PyObject
*) 0 ;
20184 PyObject
*result
= 0 ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 PyObject
* obj3
= 0 ;
20191 char * kwnames
[] = {
20192 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20197 if (!SWIG_IsOK(res1
)) {
20198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
;
20217 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20220 PyObject
*arg2
= (PyObject
*) 0 ;
20221 PyObject
*arg3
= (PyObject
*) 0 ;
20222 PyObject
*arg4
= (PyObject
*) 0 ;
20223 PyObject
*result
= 0 ;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20228 PyObject
* obj2
= 0 ;
20229 PyObject
* obj3
= 0 ;
20230 char * kwnames
[] = {
20231 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20236 if (!SWIG_IsOK(res1
)) {
20237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 resultobj
= result
;
20256 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
= 0;
20258 wxDC
*arg1
= (wxDC
*) 0 ;
20259 PyObject
*arg2
= (PyObject
*) 0 ;
20260 PyObject
*arg3
= (PyObject
*) 0 ;
20261 PyObject
*arg4
= (PyObject
*) 0 ;
20262 PyObject
*arg5
= (PyObject
*) 0 ;
20263 PyObject
*result
= 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 PyObject
* obj2
= 0 ;
20269 PyObject
* obj3
= 0 ;
20270 PyObject
* obj4
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= result
;
20298 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20301 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20302 return SWIG_Py_Void();
20305 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20306 PyObject
*resultobj
= 0;
20307 wxMemoryDC
*result
= 0 ;
20309 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20311 if (!wxPyCheckForApp()) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 result
= (wxMemoryDC
*)new wxMemoryDC();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20324 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
= 0;
20326 wxDC
*arg1
= (wxDC
*) 0 ;
20327 wxMemoryDC
*result
= 0 ;
20330 PyObject
* obj0
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "oldDC", NULL
20335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20342 if (!wxPyCheckForApp()) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20355 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
= 0;
20357 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20358 wxBitmap
*arg2
= 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char * kwnames
[] = {
20366 (char *) "self",(char *) "bitmap", NULL
20369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20371 if (!SWIG_IsOK(res1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20374 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20376 if (!SWIG_IsOK(res2
)) {
20377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20382 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_Py_Void();
20396 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20399 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20400 return SWIG_Py_Void();
20403 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 return SWIG_Python_InitShadowInstance(args
);
20407 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20408 PyObject
*resultobj
= 0;
20409 wxDC
*arg1
= (wxDC
*) 0 ;
20410 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20411 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20412 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20413 wxBufferedDC
*result
= 0 ;
20421 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20423 if (!SWIG_IsOK(res1
)) {
20424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20428 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20429 if (!SWIG_IsOK(res2
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20435 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20438 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20439 if (!SWIG_IsOK(ecode3
)) {
20440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20442 arg3
= static_cast< int >(val3
);
20445 if (!wxPyCheckForApp()) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20458 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20459 PyObject
*resultobj
= 0;
20460 wxDC
*arg1
= (wxDC
*) 0 ;
20462 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20463 wxBufferedDC
*result
= 0 ;
20470 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20478 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20481 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20482 if (!SWIG_IsOK(ecode3
)) {
20483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20485 arg3
= static_cast< int >(val3
);
20488 if (!wxPyCheckForApp()) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20501 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20505 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20507 if ((argc
>= 1) && (argc
<= 3)) {
20511 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20512 _v
= SWIG_CheckState(res
);
20514 if (!_v
) goto check_1
;
20516 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20520 if ((argc
>= 2) && (argc
<= 3)) {
20521 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20525 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20530 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20531 PyObject
*resultobj
= 0;
20532 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20535 PyObject
*swig_obj
[1] ;
20537 if (!args
) SWIG_fail
;
20538 swig_obj
[0] = args
;
20539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20543 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_Py_Void();
20558 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20559 PyObject
*resultobj
= 0;
20560 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20563 PyObject
*swig_obj
[1] ;
20565 if (!args
) SWIG_fail
;
20566 swig_obj
[0] = args
;
20567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20568 if (!SWIG_IsOK(res1
)) {
20569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20571 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= SWIG_Py_Void();
20585 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20588 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20589 return SWIG_Py_Void();
20592 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20593 return SWIG_Python_InitShadowInstance(args
);
20596 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= 0;
20598 wxWindow
*arg1
= (wxWindow
*) 0 ;
20599 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20600 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20601 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20602 wxBufferedPaintDC
*result
= 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 PyObject
* obj2
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "window",(char *) "buffer",(char *) "style", NULL
20616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20618 if (!SWIG_IsOK(res1
)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20624 if (!SWIG_IsOK(res2
)) {
20625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20630 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20634 if (!SWIG_IsOK(ecode3
)) {
20635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20637 arg3
= static_cast< int >(val3
);
20640 if (!wxPyCheckForApp()) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20653 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20655 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20656 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20657 return SWIG_Py_Void();
20660 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20661 return SWIG_Python_InitShadowInstance(args
);
20664 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20665 PyObject
*resultobj
= 0;
20666 wxScreenDC
*result
= 0 ;
20668 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20670 if (!wxPyCheckForApp()) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (wxScreenDC
*)new wxScreenDC();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20683 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20686 wxWindow
*arg2
= (wxWindow
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char * kwnames
[] = {
20695 (char *) "self",(char *) "window", NULL
20698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20700 if (!SWIG_IsOK(res1
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20703 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20705 if (!SWIG_IsOK(res2
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20724 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= 0;
20726 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20727 wxRect
*arg2
= (wxRect
*) NULL
;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char * kwnames
[] = {
20736 (char *) "self",(char *) "rect", NULL
20739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20741 if (!SWIG_IsOK(res1
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20744 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20747 if (!SWIG_IsOK(res2
)) {
20748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20750 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20767 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20768 PyObject
*resultobj
= 0;
20769 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20773 PyObject
*swig_obj
[1] ;
20775 if (!args
) SWIG_fail
;
20776 swig_obj
[0] = args
;
20777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20778 if (!SWIG_IsOK(res1
)) {
20779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20781 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (bool)(arg1
)->EndDrawingOnTop();
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20797 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20800 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20801 return SWIG_Py_Void();
20804 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 return SWIG_Python_InitShadowInstance(args
);
20808 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
= 0;
20810 wxWindow
*arg1
= (wxWindow
*) 0 ;
20811 wxClientDC
*result
= 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char * kwnames
[] = {
20816 (char *) "win", NULL
20819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20821 if (!SWIG_IsOK(res1
)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20826 if (!wxPyCheckForApp()) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (wxClientDC
*)new wxClientDC(arg1
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20839 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20842 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20843 return SWIG_Py_Void();
20846 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20847 return SWIG_Python_InitShadowInstance(args
);
20850 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxWindow
*arg1
= (wxWindow
*) 0 ;
20853 wxPaintDC
*result
= 0 ;
20856 PyObject
* obj0
= 0 ;
20857 char * kwnames
[] = {
20858 (char *) "win", NULL
20861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20863 if (!SWIG_IsOK(res1
)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20868 if (!wxPyCheckForApp()) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20881 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20884 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20885 return SWIG_Py_Void();
20888 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 return SWIG_Python_InitShadowInstance(args
);
20892 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
= 0;
20894 wxWindow
*arg1
= (wxWindow
*) 0 ;
20895 wxWindowDC
*result
= 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char * kwnames
[] = {
20900 (char *) "win", NULL
20903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20910 if (!wxPyCheckForApp()) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20923 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20925 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20926 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20927 return SWIG_Py_Void();
20930 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20931 return SWIG_Python_InitShadowInstance(args
);
20934 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
= 0;
20938 wxMirrorDC
*result
= 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char * kwnames
[] = {
20946 (char *) "dc",(char *) "mirror", NULL
20949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20950 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20959 if (!SWIG_IsOK(ecode2
)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20962 arg2
= static_cast< bool >(val2
);
20964 if (!wxPyCheckForApp()) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20977 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20980 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20981 return SWIG_Py_Void();
20984 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20985 return SWIG_Python_InitShadowInstance(args
);
20988 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
= 0;
20990 wxPrintData
*arg1
= 0 ;
20991 wxPostScriptDC
*result
= 0 ;
20994 PyObject
* obj0
= 0 ;
20995 char * kwnames
[] = {
20996 (char *) "printData", NULL
20999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21000 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21001 if (!SWIG_IsOK(res1
)) {
21002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21007 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21009 if (!wxPyCheckForApp()) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21022 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21023 PyObject
*resultobj
= 0;
21024 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21025 wxPrintData
*result
= 0 ;
21028 PyObject
*swig_obj
[1] ;
21030 if (!args
) SWIG_fail
;
21031 swig_obj
[0] = args
;
21032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21033 if (!SWIG_IsOK(res1
)) {
21034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21036 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21041 result
= (wxPrintData
*) &_result_ref
;
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21053 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
= 0;
21055 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21056 wxPrintData
*arg2
= 0 ;
21061 PyObject
* obj0
= 0 ;
21062 PyObject
* obj1
= 0 ;
21063 char * kwnames
[] = {
21064 (char *) "self",(char *) "data", NULL
21067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21069 if (!SWIG_IsOK(res1
)) {
21070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21072 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21074 if (!SWIG_IsOK(res2
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21080 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_Py_Void();
21094 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
= 0;
21099 PyObject
* obj0
= 0 ;
21100 char * kwnames
[] = {
21101 (char *) "ppi", NULL
21104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21106 if (!SWIG_IsOK(ecode1
)) {
21107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21109 arg1
= static_cast< int >(val1
);
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 wxPostScriptDC::SetResolution(arg1
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= SWIG_Py_Void();
21123 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 PyObject
*resultobj
= 0;
21127 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (int)wxPostScriptDC::GetResolution();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_From_int(static_cast< int >(result
));
21141 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21144 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21145 return SWIG_Py_Void();
21148 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21149 return SWIG_Python_InitShadowInstance(args
);
21152 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
= 0;
21154 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21155 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21156 wxMetaFile
*result
= 0 ;
21157 bool temp1
= false ;
21158 PyObject
* obj0
= 0 ;
21159 char * kwnames
[] = {
21160 (char *) "filename", NULL
21163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21166 arg1
= wxString_in_helper(obj0
);
21167 if (arg1
== NULL
) SWIG_fail
;
21172 if (!wxPyCheckForApp()) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21193 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21194 PyObject
*resultobj
= 0;
21195 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21198 PyObject
*swig_obj
[1] ;
21200 if (!args
) SWIG_fail
;
21201 swig_obj
[0] = args
;
21202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21206 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_Py_Void();
21221 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 PyObject
*resultobj
= 0;
21223 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21227 PyObject
*swig_obj
[1] ;
21229 if (!args
) SWIG_fail
;
21230 swig_obj
[0] = args
;
21231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21232 if (!SWIG_IsOK(res1
)) {
21233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21235 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (bool)(arg1
)->Ok();
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21251 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
= 0;
21253 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21254 int arg2
= (int) 0 ;
21255 int arg3
= (int) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 PyObject
* obj2
= 0 ;
21266 char * kwnames
[] = {
21267 (char *) "self",(char *) "width",(char *) "height", NULL
21270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21272 if (!SWIG_IsOK(res1
)) {
21273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21275 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21278 if (!SWIG_IsOK(ecode2
)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21281 arg2
= static_cast< int >(val2
);
21284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21285 if (!SWIG_IsOK(ecode3
)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21288 arg3
= static_cast< int >(val3
);
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21305 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21306 PyObject
*resultobj
= 0;
21307 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21311 PyObject
*swig_obj
[1] ;
21313 if (!args
) SWIG_fail
;
21314 swig_obj
[0] = args
;
21315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21316 if (!SWIG_IsOK(res1
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21319 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (arg1
)->GetSize();
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21333 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21334 PyObject
*resultobj
= 0;
21335 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21339 PyObject
*swig_obj
[1] ;
21341 if (!args
) SWIG_fail
;
21342 swig_obj
[0] = args
;
21343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21344 if (!SWIG_IsOK(res1
)) {
21345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21347 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (int)(arg1
)->GetWidth();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_From_int(static_cast< int >(result
));
21361 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21362 PyObject
*resultobj
= 0;
21363 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21367 PyObject
*swig_obj
[1] ;
21369 if (!args
) SWIG_fail
;
21370 swig_obj
[0] = args
;
21371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21375 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (int)(arg1
)->GetHeight();
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_From_int(static_cast< int >(result
));
21389 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21392 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21393 return SWIG_Py_Void();
21396 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 return SWIG_Python_InitShadowInstance(args
);
21400 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= 0;
21402 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21403 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21404 int arg2
= (int) 0 ;
21405 int arg3
= (int) 0 ;
21406 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21407 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21408 wxMetaFileDC
*result
= 0 ;
21409 bool temp1
= false ;
21414 bool temp4
= false ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 PyObject
* obj2
= 0 ;
21418 PyObject
* obj3
= 0 ;
21419 char * kwnames
[] = {
21420 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21426 arg1
= wxString_in_helper(obj0
);
21427 if (arg1
== NULL
) SWIG_fail
;
21432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21433 if (!SWIG_IsOK(ecode2
)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21436 arg2
= static_cast< int >(val2
);
21439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21440 if (!SWIG_IsOK(ecode3
)) {
21441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21443 arg3
= static_cast< int >(val3
);
21447 arg4
= wxString_in_helper(obj3
);
21448 if (arg4
== NULL
) SWIG_fail
;
21453 if (!wxPyCheckForApp()) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21482 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 PyObject
*resultobj
= 0;
21484 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
21485 wxMetaFile
*result
= 0 ;
21488 PyObject
*swig_obj
[1] ;
21490 if (!args
) SWIG_fail
;
21491 swig_obj
[0] = args
;
21492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
21496 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (wxMetaFile
*)(arg1
)->Close();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21510 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21513 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21514 return SWIG_Py_Void();
21517 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21518 return SWIG_Python_InitShadowInstance(args
);
21521 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
= 0;
21523 wxPrintData
*arg1
= 0 ;
21524 wxPrinterDC
*result
= 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char * kwnames
[] = {
21529 (char *) "printData", NULL
21532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21533 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21540 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21542 if (!wxPyCheckForApp()) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21555 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21558 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21559 return SWIG_Py_Void();
21562 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21563 return SWIG_Python_InitShadowInstance(args
);
21566 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
= 0;
21570 int arg3
= (int) true ;
21571 int arg4
= (int) 1 ;
21572 wxImageList
*result
= 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 PyObject
* obj3
= 0 ;
21585 char * kwnames
[] = {
21586 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21591 if (!SWIG_IsOK(ecode1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21594 arg1
= static_cast< int >(val1
);
21595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21596 if (!SWIG_IsOK(ecode2
)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21599 arg2
= static_cast< int >(val2
);
21601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21602 if (!SWIG_IsOK(ecode3
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21605 arg3
= static_cast< int >(val3
);
21608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21609 if (!SWIG_IsOK(ecode4
)) {
21610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21612 arg4
= static_cast< int >(val4
);
21615 if (!wxPyCheckForApp()) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21630 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 PyObject
*resultobj
= 0;
21632 wxImageList
*arg1
= (wxImageList
*) 0 ;
21635 PyObject
*swig_obj
[1] ;
21637 if (!args
) SWIG_fail
;
21638 swig_obj
[0] = args
;
21639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21643 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_Py_Void();
21658 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxImageList
*arg1
= (wxImageList
*) 0 ;
21661 wxBitmap
*arg2
= 0 ;
21662 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21663 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 PyObject
* obj2
= 0 ;
21674 char * kwnames
[] = {
21675 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21680 if (!SWIG_IsOK(res1
)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21683 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21685 if (!SWIG_IsOK(res2
)) {
21686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21691 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21693 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21694 if (!SWIG_IsOK(res3
)) {
21695 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21700 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_From_int(static_cast< int >(result
));
21715 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
= 0;
21717 wxImageList
*arg1
= (wxImageList
*) 0 ;
21718 wxBitmap
*arg2
= 0 ;
21719 wxColour
*arg3
= 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 PyObject
* obj2
= 0 ;
21729 char * kwnames
[] = {
21730 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21735 if (!SWIG_IsOK(res1
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21738 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21740 if (!SWIG_IsOK(res2
)) {
21741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21746 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21749 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_From_int(static_cast< int >(result
));
21764 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
= 0;
21766 wxImageList
*arg1
= (wxImageList
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 char * kwnames
[] = {
21776 (char *) "self",(char *) "icon", NULL
21779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21781 if (!SWIG_IsOK(res1
)) {
21782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21784 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21786 if (!SWIG_IsOK(res2
)) {
21787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21792 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= SWIG_From_int(static_cast< int >(result
));
21806 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
= 0;
21808 wxImageList
*arg1
= (wxImageList
*) 0 ;
21810 SwigValueWrapper
<wxBitmap
> result
;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char * kwnames
[] = {
21818 (char *) "self",(char *) "index", NULL
21821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21826 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21828 if (!SWIG_IsOK(ecode2
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21831 arg2
= static_cast< int >(val2
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21845 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
= 0;
21847 wxImageList
*arg1
= (wxImageList
*) 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 char * kwnames
[] = {
21857 (char *) "self",(char *) "index", NULL
21860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21865 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21867 if (!SWIG_IsOK(ecode2
)) {
21868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21870 arg2
= static_cast< int >(val2
);
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21884 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
= 0;
21886 wxImageList
*arg1
= (wxImageList
*) 0 ;
21888 wxBitmap
*arg3
= 0 ;
21889 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
21890 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 PyObject
* obj2
= 0 ;
21903 PyObject
* obj3
= 0 ;
21904 char * kwnames
[] = {
21905 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
21908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21910 if (!SWIG_IsOK(res1
)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21913 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21915 if (!SWIG_IsOK(ecode2
)) {
21916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21918 arg2
= static_cast< int >(val2
);
21919 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21920 if (!SWIG_IsOK(res3
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21926 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21928 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21929 if (!SWIG_IsOK(res4
)) {
21930 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21935 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21952 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
= 0;
21954 wxImageList
*arg1
= (wxImageList
*) 0 ;
21959 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21960 bool arg7
= (bool) (bool)false ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 PyObject
* obj2
= 0 ;
21979 PyObject
* obj3
= 0 ;
21980 PyObject
* obj4
= 0 ;
21981 PyObject
* obj5
= 0 ;
21982 PyObject
* obj6
= 0 ;
21983 char * kwnames
[] = {
21984 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21989 if (!SWIG_IsOK(res1
)) {
21990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21992 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21994 if (!SWIG_IsOK(ecode2
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21997 arg2
= static_cast< int >(val2
);
21998 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21999 if (!SWIG_IsOK(res3
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22005 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22007 if (!SWIG_IsOK(ecode4
)) {
22008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22010 arg4
= static_cast< int >(val4
);
22011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22012 if (!SWIG_IsOK(ecode5
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22015 arg5
= static_cast< int >(val5
);
22017 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22018 if (!SWIG_IsOK(ecode6
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22021 arg6
= static_cast< int >(val6
);
22024 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22025 if (!SWIG_IsOK(ecode7
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22028 arg7
= static_cast< bool >(val7
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22045 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22046 PyObject
*resultobj
= 0;
22047 wxImageList
*arg1
= (wxImageList
*) 0 ;
22051 PyObject
*swig_obj
[1] ;
22053 if (!args
) SWIG_fail
;
22054 swig_obj
[0] = args
;
22055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22056 if (!SWIG_IsOK(res1
)) {
22057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22059 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (int)(arg1
)->GetImageCount();
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_From_int(static_cast< int >(result
));
22073 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
= 0;
22075 wxImageList
*arg1
= (wxImageList
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char * kwnames
[] = {
22085 (char *) "self",(char *) "index", NULL
22088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22090 if (!SWIG_IsOK(res1
)) {
22091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22093 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22095 if (!SWIG_IsOK(ecode2
)) {
22096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22098 arg2
= static_cast< int >(val2
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)(arg1
)->Remove(arg2
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22114 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22115 PyObject
*resultobj
= 0;
22116 wxImageList
*arg1
= (wxImageList
*) 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_wxImageList
, 0 | 0 );
22125 if (!SWIG_IsOK(res1
)) {
22126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22128 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (bool)(arg1
)->RemoveAll();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 wxImageList
*arg1
= (wxImageList
*) 0 ;
22155 int res3
= SWIG_TMPOBJ
;
22157 int res4
= SWIG_TMPOBJ
;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char * kwnames
[] = {
22161 (char *) "self",(char *) "index", NULL
22166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22168 if (!SWIG_IsOK(res1
)) {
22169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22171 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22173 if (!SWIG_IsOK(ecode2
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22176 arg2
= static_cast< int >(val2
);
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_Py_Void();
22184 if (SWIG_IsTmpObj(res3
)) {
22185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22187 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22190 if (SWIG_IsTmpObj(res4
)) {
22191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22193 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22202 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22205 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22206 return SWIG_Py_Void();
22209 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22210 return SWIG_Python_InitShadowInstance(args
);
22213 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22214 PyObject
*resultobj
= 0;
22215 wxStockGDI
*result
= 0 ;
22217 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (wxStockGDI
*)new wxStockGDI();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22231 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22236 PyObject
*swig_obj
[1] ;
22238 if (!args
) SWIG_fail
;
22239 swig_obj
[0] = args
;
22240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22241 if (!SWIG_IsOK(res1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22244 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_Py_Void();
22259 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22260 PyObject
*resultobj
= 0;
22262 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 wxStockGDI::DeleteAll();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= SWIG_Py_Void();
22276 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22277 PyObject
*resultobj
= 0;
22278 wxStockGDI
*result
= 0 ;
22280 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22285 result
= (wxStockGDI
*) &_result_ref
;
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22297 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
= 0;
22299 wxStockGDI::Item arg1
;
22300 wxBrush
*result
= 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char * kwnames
[] = {
22305 (char *) "item", NULL
22308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
22309 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22310 if (!SWIG_IsOK(ecode1
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22313 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22327 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
= 0;
22329 wxStockGDI::Item arg1
;
22330 wxColour
*result
= 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char * kwnames
[] = {
22335 (char *) "item", NULL
22338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22339 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22340 if (!SWIG_IsOK(ecode1
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22343 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22357 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
= 0;
22359 wxStockGDI::Item arg1
;
22360 wxCursor
*result
= 0 ;
22363 PyObject
* obj0
= 0 ;
22364 char * kwnames
[] = {
22365 (char *) "item", NULL
22368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22370 if (!SWIG_IsOK(ecode1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22373 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22387 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= 0;
22389 wxStockGDI::Item arg1
;
22390 wxPen
*result
= 0 ;
22393 PyObject
* obj0
= 0 ;
22394 char * kwnames
[] = {
22395 (char *) "item", NULL
22398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22400 if (!SWIG_IsOK(ecode1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22403 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22417 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
= 0;
22419 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22420 wxStockGDI::Item arg2
;
22421 wxFont
*result
= 0 ;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 char * kwnames
[] = {
22429 (char *) "self",(char *) "item", NULL
22432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22434 if (!SWIG_IsOK(res1
)) {
22435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22437 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22439 if (!SWIG_IsOK(ecode2
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22442 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22456 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22459 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22460 return SWIG_Py_Void();
22463 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 return SWIG_Python_InitShadowInstance(args
);
22467 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22468 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22473 SWIGINTERN PyObject
*NullBitmap_get(void) {
22474 PyObject
*pyobj
= 0;
22476 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22481 SWIGINTERN
int NullIcon_set(PyObject
*) {
22482 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22487 SWIGINTERN PyObject
*NullIcon_get(void) {
22488 PyObject
*pyobj
= 0;
22490 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22495 SWIGINTERN
int NullCursor_set(PyObject
*) {
22496 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22501 SWIGINTERN PyObject
*NullCursor_get(void) {
22502 PyObject
*pyobj
= 0;
22504 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22509 SWIGINTERN
int NullPen_set(PyObject
*) {
22510 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22515 SWIGINTERN PyObject
*NullPen_get(void) {
22516 PyObject
*pyobj
= 0;
22518 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22523 SWIGINTERN
int NullBrush_set(PyObject
*) {
22524 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22529 SWIGINTERN PyObject
*NullBrush_get(void) {
22530 PyObject
*pyobj
= 0;
22532 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22537 SWIGINTERN
int NullPalette_set(PyObject
*) {
22538 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22543 SWIGINTERN PyObject
*NullPalette_get(void) {
22544 PyObject
*pyobj
= 0;
22546 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22551 SWIGINTERN
int NullFont_set(PyObject
*) {
22552 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22557 SWIGINTERN PyObject
*NullFont_get(void) {
22558 PyObject
*pyobj
= 0;
22560 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22565 SWIGINTERN
int NullColour_set(PyObject
*) {
22566 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22571 SWIGINTERN PyObject
*NullColour_get(void) {
22572 PyObject
*pyobj
= 0;
22574 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22579 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22580 PyObject
*resultobj
= 0;
22581 wxGDIObjListBase
*result
= 0 ;
22583 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22597 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 PyObject
*resultobj
= 0;
22599 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22602 PyObject
*swig_obj
[1] ;
22604 if (!args
) SWIG_fail
;
22605 swig_obj
[0] = args
;
22606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22607 if (!SWIG_IsOK(res1
)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22610 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_Py_Void();
22625 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22628 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22629 return SWIG_Py_Void();
22632 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 return SWIG_Python_InitShadowInstance(args
);
22636 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
= 0;
22638 wxPenList
*arg1
= (wxPenList
*) 0 ;
22639 wxColour
*arg2
= 0 ;
22642 wxPen
*result
= 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 PyObject
* obj2
= 0 ;
22653 PyObject
* obj3
= 0 ;
22654 char * kwnames
[] = {
22655 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22663 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22666 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22669 if (!SWIG_IsOK(ecode3
)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22672 arg3
= static_cast< int >(val3
);
22673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22674 if (!SWIG_IsOK(ecode4
)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22677 arg4
= static_cast< int >(val4
);
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22691 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
= 0;
22693 wxPenList
*arg1
= (wxPenList
*) 0 ;
22694 wxPen
*arg2
= (wxPen
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 char * kwnames
[] = {
22702 (char *) "self",(char *) "pen", NULL
22705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22707 if (!SWIG_IsOK(res1
)) {
22708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22710 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22712 if (!SWIG_IsOK(res2
)) {
22713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22715 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->AddPen(arg2
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_Py_Void();
22729 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
= 0;
22731 wxPenList
*arg1
= (wxPenList
*) 0 ;
22732 wxPen
*arg2
= (wxPen
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 char * kwnames
[] = {
22740 (char *) "self",(char *) "pen", NULL
22743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22748 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22750 if (!SWIG_IsOK(res2
)) {
22751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22753 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->RemovePen(arg2
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_Py_Void();
22767 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22771 return SWIG_Py_Void();
22774 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
= 0;
22776 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22777 wxColour
*arg2
= 0 ;
22778 int arg3
= (int) wxSOLID
;
22779 wxBrush
*result
= 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 PyObject
* obj2
= 0 ;
22788 char * kwnames
[] = {
22789 (char *) "self",(char *) "colour",(char *) "style", NULL
22792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22794 if (!SWIG_IsOK(res1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22797 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22804 if (!SWIG_IsOK(ecode3
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22807 arg3
= static_cast< int >(val3
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22822 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22825 wxBrush
*arg2
= (wxBrush
*) 0 ;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "brush", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22841 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22843 if (!SWIG_IsOK(res2
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22846 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->AddBrush(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_Py_Void();
22860 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
= 0;
22862 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22863 wxBrush
*arg2
= (wxBrush
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char * kwnames
[] = {
22871 (char *) "self",(char *) "brush", NULL
22874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22879 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22881 if (!SWIG_IsOK(res2
)) {
22882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22884 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->RemoveBrush(arg2
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22898 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22901 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22902 return SWIG_Py_Void();
22905 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
= 0;
22907 wxFontList
*arg1
= (wxFontList
*) 0 ;
22912 bool arg6
= (bool) false ;
22913 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22914 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22915 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22916 wxFont
*result
= 0 ;
22929 bool temp7
= false ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 PyObject
* obj2
= 0 ;
22935 PyObject
* obj3
= 0 ;
22936 PyObject
* obj4
= 0 ;
22937 PyObject
* obj5
= 0 ;
22938 PyObject
* obj6
= 0 ;
22939 PyObject
* obj7
= 0 ;
22940 char * kwnames
[] = {
22941 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22946 if (!SWIG_IsOK(res1
)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22949 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22951 if (!SWIG_IsOK(ecode2
)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22954 arg2
= static_cast< int >(val2
);
22955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22956 if (!SWIG_IsOK(ecode3
)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22959 arg3
= static_cast< int >(val3
);
22960 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22961 if (!SWIG_IsOK(ecode4
)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22964 arg4
= static_cast< int >(val4
);
22965 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22966 if (!SWIG_IsOK(ecode5
)) {
22967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22969 arg5
= static_cast< int >(val5
);
22971 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22972 if (!SWIG_IsOK(ecode6
)) {
22973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22975 arg6
= static_cast< bool >(val6
);
22979 arg7
= wxString_in_helper(obj6
);
22980 if (arg7
== NULL
) SWIG_fail
;
22985 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22986 if (!SWIG_IsOK(ecode8
)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22989 arg8
= static_cast< wxFontEncoding
>(val8
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23012 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= 0;
23014 wxFontList
*arg1
= (wxFontList
*) 0 ;
23015 wxFont
*arg2
= (wxFont
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 char * kwnames
[] = {
23023 (char *) "self",(char *) "font", NULL
23026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23031 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23033 if (!SWIG_IsOK(res2
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23036 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->AddFont(arg2
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_Py_Void();
23050 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
= 0;
23052 wxFontList
*arg1
= (wxFontList
*) 0 ;
23053 wxFont
*arg2
= (wxFont
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 char * kwnames
[] = {
23061 (char *) "self",(char *) "font", NULL
23064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23066 if (!SWIG_IsOK(res1
)) {
23067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23069 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23071 if (!SWIG_IsOK(res2
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23074 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->RemoveFont(arg2
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_Py_Void();
23088 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23091 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23092 return SWIG_Py_Void();
23095 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23096 PyObject
*resultobj
= 0;
23097 wxColourDatabase
*result
= 0 ;
23099 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23101 if (!wxPyCheckForApp()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (wxColourDatabase
*)new wxColourDatabase();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23114 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23115 PyObject
*resultobj
= 0;
23116 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23119 PyObject
*swig_obj
[1] ;
23121 if (!args
) SWIG_fail
;
23122 swig_obj
[0] = args
;
23123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23124 if (!SWIG_IsOK(res1
)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23127 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_Py_Void();
23142 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
= 0;
23144 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23145 wxString
*arg2
= 0 ;
23149 bool temp2
= false ;
23150 PyObject
* obj0
= 0 ;
23151 PyObject
* obj1
= 0 ;
23152 char * kwnames
[] = {
23153 (char *) "self",(char *) "name", NULL
23156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23161 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23163 arg2
= wxString_in_helper(obj1
);
23164 if (arg2
== NULL
) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23188 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
= 0;
23190 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23191 wxColour
*arg2
= 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 char * kwnames
[] = {
23199 (char *) "self",(char *) "colour", NULL
23202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23207 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23210 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23231 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
= 0;
23233 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23234 wxString
*arg2
= 0 ;
23235 wxColour
*arg3
= 0 ;
23238 bool temp2
= false ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 PyObject
* obj2
= 0 ;
23243 char * kwnames
[] = {
23244 (char *) "self",(char *) "name",(char *) "colour", NULL
23247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23252 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23254 arg2
= wxString_in_helper(obj1
);
23255 if (arg2
== NULL
) SWIG_fail
;
23260 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_Py_Void();
23283 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
= 0;
23285 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23286 wxString
*arg2
= 0 ;
23292 bool temp2
= false ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 PyObject
* obj2
= 0 ;
23302 PyObject
* obj3
= 0 ;
23303 PyObject
* obj4
= 0 ;
23304 char * kwnames
[] = {
23305 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23310 if (!SWIG_IsOK(res1
)) {
23311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23313 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23315 arg2
= wxString_in_helper(obj1
);
23316 if (arg2
== NULL
) SWIG_fail
;
23319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23320 if (!SWIG_IsOK(ecode3
)) {
23321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23323 arg3
= static_cast< int >(val3
);
23324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23325 if (!SWIG_IsOK(ecode4
)) {
23326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23328 arg4
= static_cast< int >(val4
);
23329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23330 if (!SWIG_IsOK(ecode5
)) {
23331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23333 arg5
= static_cast< int >(val5
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_Py_Void();
23355 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23358 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23359 return SWIG_Py_Void();
23362 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23363 return SWIG_Python_InitShadowInstance(args
);
23366 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23367 PyObject
*resultobj
= 0;
23368 wxFontList
*result
= 0 ;
23370 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (wxFontList
*)_wxPyInitTheFontList();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23384 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23385 PyObject
*resultobj
= 0;
23386 wxPenList
*result
= 0 ;
23388 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (wxPenList
*)_wxPyInitThePenList();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23402 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23403 PyObject
*resultobj
= 0;
23404 wxBrushList
*result
= 0 ;
23406 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23420 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23421 PyObject
*resultobj
= 0;
23422 wxColourDatabase
*result
= 0 ;
23424 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23438 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23439 PyObject
*resultobj
= 0;
23440 wxEffects
*result
= 0 ;
23442 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (wxEffects
*)new wxEffects();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23456 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23457 PyObject
*resultobj
= 0;
23458 wxEffects
*arg1
= (wxEffects
*) 0 ;
23462 PyObject
*swig_obj
[1] ;
23464 if (!args
) SWIG_fail
;
23465 swig_obj
[0] = args
;
23466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23467 if (!SWIG_IsOK(res1
)) {
23468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23470 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23484 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23485 PyObject
*resultobj
= 0;
23486 wxEffects
*arg1
= (wxEffects
*) 0 ;
23490 PyObject
*swig_obj
[1] ;
23492 if (!args
) SWIG_fail
;
23493 swig_obj
[0] = args
;
23494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23498 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23512 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23513 PyObject
*resultobj
= 0;
23514 wxEffects
*arg1
= (wxEffects
*) 0 ;
23518 PyObject
*swig_obj
[1] ;
23520 if (!args
) SWIG_fail
;
23521 swig_obj
[0] = args
;
23522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23523 if (!SWIG_IsOK(res1
)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23526 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23540 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23541 PyObject
*resultobj
= 0;
23542 wxEffects
*arg1
= (wxEffects
*) 0 ;
23546 PyObject
*swig_obj
[1] ;
23548 if (!args
) SWIG_fail
;
23549 swig_obj
[0] = args
;
23550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23551 if (!SWIG_IsOK(res1
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23554 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23568 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23569 PyObject
*resultobj
= 0;
23570 wxEffects
*arg1
= (wxEffects
*) 0 ;
23574 PyObject
*swig_obj
[1] ;
23576 if (!args
) SWIG_fail
;
23577 swig_obj
[0] = args
;
23578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23579 if (!SWIG_IsOK(res1
)) {
23580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23582 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23596 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
= 0;
23598 wxEffects
*arg1
= (wxEffects
*) 0 ;
23599 wxColour
*arg2
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char * kwnames
[] = {
23606 (char *) "self",(char *) "c", NULL
23609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23614 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_Py_Void();
23632 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
= 0;
23634 wxEffects
*arg1
= (wxEffects
*) 0 ;
23635 wxColour
*arg2
= 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char * kwnames
[] = {
23642 (char *) "self",(char *) "c", NULL
23645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23650 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_Py_Void();
23668 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
= 0;
23670 wxEffects
*arg1
= (wxEffects
*) 0 ;
23671 wxColour
*arg2
= 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 char * kwnames
[] = {
23678 (char *) "self",(char *) "c", NULL
23681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23686 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_Py_Void();
23704 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= 0;
23706 wxEffects
*arg1
= (wxEffects
*) 0 ;
23707 wxColour
*arg2
= 0 ;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 char * kwnames
[] = {
23714 (char *) "self",(char *) "c", NULL
23717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23719 if (!SWIG_IsOK(res1
)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23722 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23725 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_Py_Void();
23740 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
= 0;
23742 wxEffects
*arg1
= (wxEffects
*) 0 ;
23743 wxColour
*arg2
= 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char * kwnames
[] = {
23750 (char *) "self",(char *) "c", NULL
23753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23755 if (!SWIG_IsOK(res1
)) {
23756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23758 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23761 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_Py_Void();
23776 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
= 0;
23778 wxEffects
*arg1
= (wxEffects
*) 0 ;
23779 wxColour
*arg2
= 0 ;
23780 wxColour
*arg3
= 0 ;
23781 wxColour
*arg4
= 0 ;
23782 wxColour
*arg5
= 0 ;
23783 wxColour
*arg6
= 0 ;
23791 PyObject
* obj0
= 0 ;
23792 PyObject
* obj1
= 0 ;
23793 PyObject
* obj2
= 0 ;
23794 PyObject
* obj3
= 0 ;
23795 PyObject
* obj4
= 0 ;
23796 PyObject
* obj5
= 0 ;
23797 char * kwnames
[] = {
23798 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23803 if (!SWIG_IsOK(res1
)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23806 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23809 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23813 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23817 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23821 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23825 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_Py_Void();
23840 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxEffects
*arg1
= (wxEffects
*) 0 ;
23845 int arg4
= (int) 1 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 PyObject
* obj2
= 0 ;
23856 PyObject
* obj3
= 0 ;
23857 char * kwnames
[] = {
23858 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23863 if (!SWIG_IsOK(res1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23866 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23868 if (!SWIG_IsOK(res2
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23874 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23877 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23881 if (!SWIG_IsOK(ecode4
)) {
23882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23884 arg4
= static_cast< int >(val4
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= SWIG_Py_Void();
23899 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23900 PyObject
*resultobj
= 0;
23901 wxEffects
*arg1
= (wxEffects
*) 0 ;
23904 wxBitmap
*arg4
= 0 ;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 PyObject
* obj2
= 0 ;
23916 PyObject
* obj3
= 0 ;
23917 char * kwnames
[] = {
23918 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23926 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23931 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23932 if (!SWIG_IsOK(res3
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23938 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23939 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23940 if (!SWIG_IsOK(res4
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23946 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23949 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23962 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23965 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23966 return SWIG_Py_Void();
23969 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23970 return SWIG_Python_InitShadowInstance(args
);
23973 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
= 0;
23978 wxSplitterRenderParams
*result
= 0 ;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 PyObject
* obj2
= 0 ;
23988 char * kwnames
[] = {
23989 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23994 if (!SWIG_IsOK(ecode1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23997 arg1
= static_cast< int >(val1
);
23998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23999 if (!SWIG_IsOK(ecode2
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24002 arg2
= static_cast< int >(val2
);
24003 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24004 if (!SWIG_IsOK(ecode3
)) {
24005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24007 arg3
= static_cast< bool >(val3
);
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24021 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24022 PyObject
*resultobj
= 0;
24023 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24026 PyObject
*swig_obj
[1] ;
24028 if (!args
) SWIG_fail
;
24029 swig_obj
[0] = args
;
24030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24034 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= SWIG_Py_Void();
24049 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24050 PyObject
*resultobj
= 0;
24051 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24055 PyObject
*swig_obj
[1] ;
24057 if (!args
) SWIG_fail
;
24058 swig_obj
[0] = args
;
24059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24060 if (!SWIG_IsOK(res1
)) {
24061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24063 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24064 result
= (int)(int) ((arg1
)->widthSash
);
24065 resultobj
= SWIG_From_int(static_cast< int >(result
));
24072 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24073 PyObject
*resultobj
= 0;
24074 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24078 PyObject
*swig_obj
[1] ;
24080 if (!args
) SWIG_fail
;
24081 swig_obj
[0] = args
;
24082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24086 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24087 result
= (int)(int) ((arg1
)->border
);
24088 resultobj
= SWIG_From_int(static_cast< int >(result
));
24095 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24096 PyObject
*resultobj
= 0;
24097 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24101 PyObject
*swig_obj
[1] ;
24103 if (!args
) SWIG_fail
;
24104 swig_obj
[0] = args
;
24105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24106 if (!SWIG_IsOK(res1
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24109 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24110 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24111 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24118 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24121 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24122 return SWIG_Py_Void();
24125 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 return SWIG_Python_InitShadowInstance(args
);
24129 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
= 0;
24133 wxRendererVersion
*result
= 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "version_",(char *) "age_", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24146 if (!SWIG_IsOK(ecode1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24149 arg1
= static_cast< int >(val1
);
24150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24151 if (!SWIG_IsOK(ecode2
)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24154 arg2
= static_cast< int >(val2
);
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24168 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24169 PyObject
*resultobj
= 0;
24170 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24173 PyObject
*swig_obj
[1] ;
24175 if (!args
) SWIG_fail
;
24176 swig_obj
[0] = args
;
24177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24181 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_Py_Void();
24196 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
= 0;
24198 wxRendererVersion
*arg1
= 0 ;
24202 PyObject
* obj0
= 0 ;
24203 char * kwnames
[] = {
24204 (char *) "ver", NULL
24207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24208 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24209 if (!SWIG_IsOK(res1
)) {
24210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24215 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24231 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 PyObject
*resultobj
= 0;
24233 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24237 PyObject
*swig_obj
[1] ;
24239 if (!args
) SWIG_fail
;
24240 swig_obj
[0] = args
;
24241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24245 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24246 result
= (int)(int) ((arg1
)->version
);
24247 resultobj
= SWIG_From_int(static_cast< int >(result
));
24254 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24255 PyObject
*resultobj
= 0;
24256 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24260 PyObject
*swig_obj
[1] ;
24262 if (!args
) SWIG_fail
;
24263 swig_obj
[0] = args
;
24264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24268 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24269 result
= (int)(int) ((arg1
)->age
);
24270 resultobj
= SWIG_From_int(static_cast< int >(result
));
24277 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24280 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24281 return SWIG_Py_Void();
24284 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24285 return SWIG_Python_InitShadowInstance(args
);
24288 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
= 0;
24290 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24291 wxWindow
*arg2
= (wxWindow
*) 0 ;
24294 int arg5
= (int) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 PyObject
* obj2
= 0 ;
24307 PyObject
* obj3
= 0 ;
24308 PyObject
* obj4
= 0 ;
24309 char * kwnames
[] = {
24310 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24315 if (!SWIG_IsOK(res1
)) {
24316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24318 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24320 if (!SWIG_IsOK(res2
)) {
24321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24325 if (!SWIG_IsOK(res3
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24331 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24334 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24337 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24338 if (!SWIG_IsOK(ecode5
)) {
24339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24341 arg5
= static_cast< int >(val5
);
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_Py_Void();
24356 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24359 wxWindow
*arg2
= (wxWindow
*) 0 ;
24362 int arg5
= (int) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 PyObject
* obj2
= 0 ;
24375 PyObject
* obj3
= 0 ;
24376 PyObject
* obj4
= 0 ;
24377 char * kwnames
[] = {
24378 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24383 if (!SWIG_IsOK(res1
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24386 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24388 if (!SWIG_IsOK(res2
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24392 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24393 if (!SWIG_IsOK(res3
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24399 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24402 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24406 if (!SWIG_IsOK(ecode5
)) {
24407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24409 arg5
= static_cast< int >(val5
);
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_Py_Void();
24424 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24427 wxWindow
*arg2
= (wxWindow
*) 0 ;
24430 int arg5
= (int) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 PyObject
* obj2
= 0 ;
24443 PyObject
* obj3
= 0 ;
24444 PyObject
* obj4
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24454 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24456 if (!SWIG_IsOK(res2
)) {
24457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24460 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24461 if (!SWIG_IsOK(res3
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24467 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24470 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24474 if (!SWIG_IsOK(ecode5
)) {
24475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24477 arg5
= static_cast< int >(val5
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_Py_Void();
24492 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24495 wxWindow
*arg2
= (wxWindow
*) 0 ;
24499 wxOrientation arg6
;
24500 int arg7
= (int) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 PyObject
* obj2
= 0 ;
24517 PyObject
* obj3
= 0 ;
24518 PyObject
* obj4
= 0 ;
24519 PyObject
* obj5
= 0 ;
24520 PyObject
* obj6
= 0 ;
24521 char * kwnames
[] = {
24522 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24527 if (!SWIG_IsOK(res1
)) {
24528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24530 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24532 if (!SWIG_IsOK(res2
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24536 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24537 if (!SWIG_IsOK(res3
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24543 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24549 if (!SWIG_IsOK(ecode5
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24552 arg5
= static_cast< int >(val5
);
24553 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24554 if (!SWIG_IsOK(ecode6
)) {
24555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24557 arg6
= static_cast< wxOrientation
>(val6
);
24559 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24560 if (!SWIG_IsOK(ecode7
)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24563 arg7
= static_cast< int >(val7
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_Py_Void();
24578 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
= 0;
24580 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24581 wxWindow
*arg2
= (wxWindow
*) 0 ;
24584 int arg5
= (int) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 PyObject
* obj3
= 0 ;
24598 PyObject
* obj4
= 0 ;
24599 char * kwnames
[] = {
24600 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24608 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24610 if (!SWIG_IsOK(res2
)) {
24611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24613 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24614 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24615 if (!SWIG_IsOK(res3
)) {
24616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24621 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24624 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24628 if (!SWIG_IsOK(ecode5
)) {
24629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24631 arg5
= static_cast< int >(val5
);
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= SWIG_Py_Void();
24646 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24649 wxWindow
*arg2
= (wxWindow
*) 0 ;
24652 int arg5
= (int) 0 ;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 PyObject
* obj2
= 0 ;
24665 PyObject
* obj3
= 0 ;
24666 PyObject
* obj4
= 0 ;
24667 char * kwnames
[] = {
24668 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24673 if (!SWIG_IsOK(res1
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24676 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24678 if (!SWIG_IsOK(res2
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24682 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24683 if (!SWIG_IsOK(res3
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24689 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24692 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24696 if (!SWIG_IsOK(ecode5
)) {
24697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24699 arg5
= static_cast< int >(val5
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_Py_Void();
24714 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24717 wxWindow
*arg2
= (wxWindow
*) 0 ;
24720 int arg5
= (int) 0 ;
24730 PyObject
* obj0
= 0 ;
24731 PyObject
* obj1
= 0 ;
24732 PyObject
* obj2
= 0 ;
24733 PyObject
* obj3
= 0 ;
24734 PyObject
* obj4
= 0 ;
24735 char * kwnames
[] = {
24736 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24744 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24746 if (!SWIG_IsOK(res2
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
24749 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24750 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24751 if (!SWIG_IsOK(res3
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24757 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24760 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24763 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24764 if (!SWIG_IsOK(ecode5
)) {
24765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
24767 arg5
= static_cast< int >(val5
);
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 resultobj
= SWIG_Py_Void();
24782 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24785 wxWindow
*arg2
= (wxWindow
*) 0 ;
24788 int arg5
= (int) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 PyObject
* obj2
= 0 ;
24801 PyObject
* obj3
= 0 ;
24802 PyObject
* obj4
= 0 ;
24803 char * kwnames
[] = {
24804 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24812 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24814 if (!SWIG_IsOK(res2
)) {
24815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24818 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24819 if (!SWIG_IsOK(res3
)) {
24820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24825 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24828 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24832 if (!SWIG_IsOK(ecode5
)) {
24833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
24835 arg5
= static_cast< int >(val5
);
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_Py_Void();
24850 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= 0;
24852 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24853 wxWindow
*arg2
= (wxWindow
*) 0 ;
24856 int arg5
= (int) 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 PyObject
* obj2
= 0 ;
24869 PyObject
* obj3
= 0 ;
24870 PyObject
* obj4
= 0 ;
24871 char * kwnames
[] = {
24872 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24877 if (!SWIG_IsOK(res1
)) {
24878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24880 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24882 if (!SWIG_IsOK(res2
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
24885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24886 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24887 if (!SWIG_IsOK(res3
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24893 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24896 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24900 if (!SWIG_IsOK(ecode5
)) {
24901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
24903 arg5
= static_cast< int >(val5
);
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= SWIG_Py_Void();
24918 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
= 0;
24920 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24921 wxWindow
*arg2
= (wxWindow
*) 0 ;
24922 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 char * kwnames
[] = {
24930 (char *) "self",(char *) "win", NULL
24933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24938 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24940 if (!SWIG_IsOK(res2
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24957 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24958 PyObject
*resultobj
= 0;
24959 wxRendererNative
*result
= 0 ;
24961 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24963 if (!wxPyCheckForApp()) SWIG_fail
;
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24967 result
= (wxRendererNative
*) &_result_ref
;
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24979 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24980 PyObject
*resultobj
= 0;
24981 wxRendererNative
*result
= 0 ;
24983 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24985 if (!wxPyCheckForApp()) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24989 result
= (wxRendererNative
*) &_result_ref
;
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25001 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 PyObject
*resultobj
= 0;
25003 wxRendererNative
*result
= 0 ;
25005 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25007 if (!wxPyCheckForApp()) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25011 result
= (wxRendererNative
*) &_result_ref
;
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25023 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25026 wxRendererNative
*result
= 0 ;
25029 PyObject
* obj0
= 0 ;
25030 char * kwnames
[] = {
25031 (char *) "renderer", NULL
25034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25036 if (!SWIG_IsOK(res1
)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25039 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25041 if (!wxPyCheckForApp()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25054 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25055 PyObject
*resultobj
= 0;
25056 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25057 SwigValueWrapper
<wxRendererVersion
> result
;
25060 PyObject
*swig_obj
[1] ;
25062 if (!args
) SWIG_fail
;
25063 swig_obj
[0] = args
;
25064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25068 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25082 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25085 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25086 return SWIG_Py_Void();
25089 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 PyObject
*resultobj
= 0;
25091 wxPseudoDC
*result
= 0 ;
25093 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (wxPseudoDC
*)new wxPseudoDC();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
25107 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25108 PyObject
*resultobj
= 0;
25109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25112 PyObject
*swig_obj
[1] ;
25114 if (!args
) SWIG_fail
;
25115 swig_obj
[0] = args
;
25116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25120 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 (arg1
)->BeginDrawing();
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_Py_Void();
25134 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25135 PyObject
*resultobj
= 0;
25136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25139 PyObject
*swig_obj
[1] ;
25141 if (!args
) SWIG_fail
;
25142 swig_obj
[0] = args
;
25143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25144 if (!SWIG_IsOK(res1
)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25147 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 (arg1
)->EndDrawing();
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= SWIG_Py_Void();
25161 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25162 PyObject
*resultobj
= 0;
25163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25166 PyObject
*swig_obj
[1] ;
25168 if (!args
) SWIG_fail
;
25169 swig_obj
[0] = args
;
25170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
25171 if (!SWIG_IsOK(res1
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_Py_Void();
25189 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 PyObject
*resultobj
= 0;
25191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25194 PyObject
*swig_obj
[1] ;
25196 if (!args
) SWIG_fail
;
25197 swig_obj
[0] = args
;
25198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25199 if (!SWIG_IsOK(res1
)) {
25200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25202 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->RemoveAll();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_Py_Void();
25216 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25217 PyObject
*resultobj
= 0;
25218 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25222 PyObject
*swig_obj
[1] ;
25224 if (!args
) SWIG_fail
;
25225 swig_obj
[0] = args
;
25226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25227 if (!SWIG_IsOK(res1
)) {
25228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25230 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (int)(arg1
)->GetLen();
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= SWIG_From_int(static_cast< int >(result
));
25244 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25245 PyObject
*resultobj
= 0;
25246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 char * kwnames
[] = {
25255 (char *) "self",(char *) "id", NULL
25258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25260 if (!SWIG_IsOK(res1
)) {
25261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25265 if (!SWIG_IsOK(ecode2
)) {
25266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
25268 arg2
= static_cast< int >(val2
);
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->SetId(arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_Py_Void();
25282 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
= 0;
25284 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 char * kwnames
[] = {
25293 (char *) "self",(char *) "id", NULL
25296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25303 if (!SWIG_IsOK(ecode2
)) {
25304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
25306 arg2
= static_cast< int >(val2
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->ClearId(arg2
);
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_Py_Void();
25320 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
= 0;
25322 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 char * kwnames
[] = {
25331 (char *) "self",(char *) "id", NULL
25334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25339 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25341 if (!SWIG_IsOK(ecode2
)) {
25342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
25344 arg2
= static_cast< int >(val2
);
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->RemoveId(arg2
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_Py_Void();
25358 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
= 0;
25360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 PyObject
* obj2
= 0 ;
25375 PyObject
* obj3
= 0 ;
25376 char * kwnames
[] = {
25377 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
25380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25387 if (!SWIG_IsOK(ecode2
)) {
25388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
25390 arg2
= static_cast< int >(val2
);
25391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25392 if (!SWIG_IsOK(ecode3
)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
25395 arg3
= static_cast< int >(val3
);
25396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25397 if (!SWIG_IsOK(ecode4
)) {
25398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
25400 arg4
= static_cast< int >(val4
);
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 resultobj
= SWIG_Py_Void();
25414 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25415 PyObject
*resultobj
= 0;
25416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25418 wxDC
*arg3
= (wxDC
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 PyObject
* obj2
= 0 ;
25428 char * kwnames
[] = {
25429 (char *) "self",(char *) "id",(char *) "dc", NULL
25432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25434 if (!SWIG_IsOK(res1
)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25439 if (!SWIG_IsOK(ecode2
)) {
25440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
25442 arg2
= static_cast< int >(val2
);
25443 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
25444 if (!SWIG_IsOK(res3
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
25447 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 (arg1
)->DrawIdToDC(arg2
,arg3
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_Py_Void();
25461 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
= 0;
25463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 PyObject
* obj2
= 0 ;
25474 char * kwnames
[] = {
25475 (char *) "self",(char *) "id",(char *) "rect", NULL
25478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25480 if (!SWIG_IsOK(res1
)) {
25481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25485 if (!SWIG_IsOK(ecode2
)) {
25486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
25488 arg2
= static_cast< int >(val2
);
25491 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 (arg1
)->SetIdBounds(arg2
,*arg3
);
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= SWIG_Py_Void();
25506 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
= 0;
25508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25515 PyObject
* obj0
= 0 ;
25516 PyObject
* obj1
= 0 ;
25517 char * kwnames
[] = {
25518 (char *) "self",(char *) "id", NULL
25521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25526 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25528 if (!SWIG_IsOK(ecode2
)) {
25529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
25531 arg2
= static_cast< int >(val2
);
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
25545 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
= 0;
25547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25548 wxDC
*arg2
= (wxDC
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 char * kwnames
[] = {
25559 (char *) "self",(char *) "dc",(char *) "rect", NULL
25562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25569 if (!SWIG_IsOK(res2
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
25572 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25575 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_Py_Void();
25590 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= 0;
25592 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25593 wxDC
*arg2
= (wxDC
*) 0 ;
25594 wxRegion
*arg3
= 0 ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 char * kwnames
[] = {
25605 (char *) "self",(char *) "dc",(char *) "region", NULL
25608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25610 if (!SWIG_IsOK(res1
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25613 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25615 if (!SWIG_IsOK(res2
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
25618 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25619 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
25620 if (!SWIG_IsOK(res3
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
25624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
25626 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_Py_Void();
25640 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
= 0;
25642 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25643 wxDC
*arg2
= (wxDC
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 char * kwnames
[] = {
25651 (char *) "self",(char *) "dc", NULL
25654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25659 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
25661 if (!SWIG_IsOK(res2
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
25664 arg2
= reinterpret_cast< wxDC
* >(argp2
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 (arg1
)->DrawToDC(arg2
);
25668 wxPyEndAllowThreads(__tstate
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= SWIG_Py_Void();
25678 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
= 0;
25680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25683 wxColour
*arg4
= 0 ;
25684 int arg5
= (int) wxFLOOD_SURFACE
;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 PyObject
* obj3
= 0 ;
25698 PyObject
* obj4
= 0 ;
25699 char * kwnames
[] = {
25700 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
25703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25708 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25710 if (!SWIG_IsOK(ecode2
)) {
25711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
25713 arg2
= static_cast< int >(val2
);
25714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25715 if (!SWIG_IsOK(ecode3
)) {
25716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
25718 arg3
= static_cast< int >(val3
);
25721 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
25724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25725 if (!SWIG_IsOK(ecode5
)) {
25726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
25728 arg5
= static_cast< int >(val5
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_Py_Void();
25743 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
= 0;
25745 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25746 wxPoint
*arg2
= 0 ;
25747 wxColour
*arg3
= 0 ;
25748 int arg4
= (int) wxFLOOD_SURFACE
;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 char * kwnames
[] = {
25760 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
25763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25765 if (!SWIG_IsOK(res1
)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25775 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25779 if (!SWIG_IsOK(ecode4
)) {
25780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
25782 arg4
= static_cast< int >(val4
);
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_Py_Void();
25797 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
= 0;
25799 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 PyObject
* obj2
= 0 ;
25817 PyObject
* obj3
= 0 ;
25818 PyObject
* obj4
= 0 ;
25819 char * kwnames
[] = {
25820 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25825 if (!SWIG_IsOK(res1
)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25830 if (!SWIG_IsOK(ecode2
)) {
25831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
25833 arg2
= static_cast< int >(val2
);
25834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25835 if (!SWIG_IsOK(ecode3
)) {
25836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
25838 arg3
= static_cast< int >(val3
);
25839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25840 if (!SWIG_IsOK(ecode4
)) {
25841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
25843 arg4
= static_cast< int >(val4
);
25844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25845 if (!SWIG_IsOK(ecode5
)) {
25846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
25848 arg5
= static_cast< int >(val5
);
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_Py_Void();
25862 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25863 PyObject
*resultobj
= 0;
25864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25865 wxPoint
*arg2
= 0 ;
25866 wxPoint
*arg3
= 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 char * kwnames
[] = {
25875 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
25878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25880 if (!SWIG_IsOK(res1
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25894 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_Py_Void();
25905 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
= 0;
25907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 PyObject
* obj2
= 0 ;
25919 char * kwnames
[] = {
25920 (char *) "self",(char *) "x",(char *) "y", NULL
25923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25928 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25930 if (!SWIG_IsOK(ecode2
)) {
25931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
25933 arg2
= static_cast< int >(val2
);
25934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25935 if (!SWIG_IsOK(ecode3
)) {
25936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
25938 arg3
= static_cast< int >(val3
);
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->CrossHair(arg2
,arg3
);
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_Py_Void();
25952 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
= 0;
25954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
25955 wxPoint
*arg2
= 0 ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 char * kwnames
[] = {
25962 (char *) "self",(char *) "pt", NULL
25965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
25967 if (!SWIG_IsOK(res1
)) {
25968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
25970 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
25973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_Py_Void();
25988 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
= 0;
25990 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 PyObject
* obj2
= 0 ;
26014 PyObject
* obj3
= 0 ;
26015 PyObject
* obj4
= 0 ;
26016 PyObject
* obj5
= 0 ;
26017 PyObject
* obj6
= 0 ;
26018 char * kwnames
[] = {
26019 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
26022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26024 if (!SWIG_IsOK(res1
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26027 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26029 if (!SWIG_IsOK(ecode2
)) {
26030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
26032 arg2
= static_cast< int >(val2
);
26033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26034 if (!SWIG_IsOK(ecode3
)) {
26035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
26037 arg3
= static_cast< int >(val3
);
26038 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26039 if (!SWIG_IsOK(ecode4
)) {
26040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
26042 arg4
= static_cast< int >(val4
);
26043 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26044 if (!SWIG_IsOK(ecode5
)) {
26045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
26047 arg5
= static_cast< int >(val5
);
26048 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
26049 if (!SWIG_IsOK(ecode6
)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
26052 arg6
= static_cast< int >(val6
);
26053 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
26054 if (!SWIG_IsOK(ecode7
)) {
26055 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
26057 arg7
= static_cast< int >(val7
);
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_Py_Void();
26071 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26074 wxPoint
*arg2
= 0 ;
26075 wxPoint
*arg3
= 0 ;
26076 wxPoint
*arg4
= 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 PyObject
* obj2
= 0 ;
26085 PyObject
* obj3
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26110 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= SWIG_Py_Void();
26121 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26122 PyObject
*resultobj
= 0;
26123 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 PyObject
* obj2
= 0 ;
26141 PyObject
* obj3
= 0 ;
26142 PyObject
* obj4
= 0 ;
26143 char * kwnames
[] = {
26144 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26149 if (!SWIG_IsOK(res1
)) {
26150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26152 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26154 if (!SWIG_IsOK(ecode2
)) {
26155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
26157 arg2
= static_cast< int >(val2
);
26158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26159 if (!SWIG_IsOK(ecode3
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
26162 arg3
= static_cast< int >(val3
);
26163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26164 if (!SWIG_IsOK(ecode4
)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
26167 arg4
= static_cast< int >(val4
);
26168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26169 if (!SWIG_IsOK(ecode5
)) {
26170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
26172 arg5
= static_cast< int >(val5
);
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= SWIG_Py_Void();
26186 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
= 0;
26188 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char * kwnames
[] = {
26196 (char *) "self",(char *) "rect", NULL
26199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26201 if (!SWIG_IsOK(res1
)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 PyObject
* obj2
= 0 ;
26248 PyObject
* obj3
= 0 ;
26249 PyObject
* obj4
= 0 ;
26250 PyObject
* obj5
= 0 ;
26251 PyObject
* obj6
= 0 ;
26252 char * kwnames
[] = {
26253 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
26256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26258 if (!SWIG_IsOK(res1
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26261 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26263 if (!SWIG_IsOK(ecode2
)) {
26264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
26266 arg2
= static_cast< int >(val2
);
26267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26268 if (!SWIG_IsOK(ecode3
)) {
26269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
26271 arg3
= static_cast< int >(val3
);
26272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26273 if (!SWIG_IsOK(ecode4
)) {
26274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
26276 arg4
= static_cast< int >(val4
);
26277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26278 if (!SWIG_IsOK(ecode5
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
26281 arg5
= static_cast< int >(val5
);
26282 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26283 if (!SWIG_IsOK(ecode6
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
26286 arg6
= static_cast< double >(val6
);
26287 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26288 if (!SWIG_IsOK(ecode7
)) {
26289 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
26291 arg7
= static_cast< double >(val7
);
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= SWIG_Py_Void();
26305 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26306 PyObject
*resultobj
= 0;
26307 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26308 wxPoint
*arg2
= 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 PyObject
* obj2
= 0 ;
26323 PyObject
* obj3
= 0 ;
26324 PyObject
* obj4
= 0 ;
26325 char * kwnames
[] = {
26326 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
26329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26331 if (!SWIG_IsOK(res1
)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26341 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26343 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26344 if (!SWIG_IsOK(ecode4
)) {
26345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
26347 arg4
= static_cast< double >(val4
);
26348 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26349 if (!SWIG_IsOK(ecode5
)) {
26350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
26352 arg5
= static_cast< double >(val5
);
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_Py_Void();
26366 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
= 0;
26368 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 PyObject
* obj2
= 0 ;
26380 char * kwnames
[] = {
26381 (char *) "self",(char *) "x",(char *) "y", NULL
26384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26391 if (!SWIG_IsOK(ecode2
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
26394 arg2
= static_cast< int >(val2
);
26395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26396 if (!SWIG_IsOK(ecode3
)) {
26397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
26399 arg3
= static_cast< int >(val3
);
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 (arg1
)->DrawPoint(arg2
,arg3
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_Py_Void();
26413 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
= 0;
26415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26416 wxPoint
*arg2
= 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char * kwnames
[] = {
26423 (char *) "self",(char *) "pt", NULL
26426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_Py_Void();
26449 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
= 0;
26451 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 PyObject
* obj2
= 0 ;
26469 PyObject
* obj3
= 0 ;
26470 PyObject
* obj4
= 0 ;
26471 char * kwnames
[] = {
26472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26477 if (!SWIG_IsOK(res1
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26480 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26482 if (!SWIG_IsOK(ecode2
)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
26485 arg2
= static_cast< int >(val2
);
26486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26487 if (!SWIG_IsOK(ecode3
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
26490 arg3
= static_cast< int >(val3
);
26491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26492 if (!SWIG_IsOK(ecode4
)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
26495 arg4
= static_cast< int >(val4
);
26496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26497 if (!SWIG_IsOK(ecode5
)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
26500 arg5
= static_cast< int >(val5
);
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
= 0;
26516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 char * kwnames
[] = {
26524 (char *) "self",(char *) "rect", NULL
26527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26535 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= SWIG_Py_Void();
26550 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
= 0;
26552 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26553 wxPoint
*arg2
= 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 PyObject
* obj2
= 0 ;
26562 char * kwnames
[] = {
26563 (char *) "self",(char *) "pt",(char *) "sz", NULL
26566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26578 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_Py_Void();
26593 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= 0;
26595 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 PyObject
* obj2
= 0 ;
26616 PyObject
* obj3
= 0 ;
26617 PyObject
* obj4
= 0 ;
26618 PyObject
* obj5
= 0 ;
26619 char * kwnames
[] = {
26620 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
26623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26625 if (!SWIG_IsOK(res1
)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26628 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26630 if (!SWIG_IsOK(ecode2
)) {
26631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
26633 arg2
= static_cast< int >(val2
);
26634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26635 if (!SWIG_IsOK(ecode3
)) {
26636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
26638 arg3
= static_cast< int >(val3
);
26639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26640 if (!SWIG_IsOK(ecode4
)) {
26641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
26643 arg4
= static_cast< int >(val4
);
26644 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26645 if (!SWIG_IsOK(ecode5
)) {
26646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
26648 arg5
= static_cast< int >(val5
);
26649 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26650 if (!SWIG_IsOK(ecode6
)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
26653 arg6
= static_cast< double >(val6
);
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_Py_Void();
26667 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
= 0;
26669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 PyObject
* obj2
= 0 ;
26680 char * kwnames
[] = {
26681 (char *) "self",(char *) "r",(char *) "radius", NULL
26684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26686 if (!SWIG_IsOK(res1
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26695 if (!SWIG_IsOK(ecode3
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
26698 arg3
= static_cast< double >(val3
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26715 wxPoint
*arg2
= 0 ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26727 PyObject
* obj3
= 0 ;
26728 char * kwnames
[] = {
26729 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
26732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26737 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26744 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26746 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26747 if (!SWIG_IsOK(ecode4
)) {
26748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
26750 arg4
= static_cast< double >(val4
);
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= SWIG_Py_Void();
26764 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
= 0;
26766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 PyObject
* obj2
= 0 ;
26781 PyObject
* obj3
= 0 ;
26782 char * kwnames
[] = {
26783 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
26786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26788 if (!SWIG_IsOK(res1
)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26793 if (!SWIG_IsOK(ecode2
)) {
26794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
26796 arg2
= static_cast< int >(val2
);
26797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26798 if (!SWIG_IsOK(ecode3
)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
26801 arg3
= static_cast< int >(val3
);
26802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26803 if (!SWIG_IsOK(ecode4
)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
26806 arg4
= static_cast< int >(val4
);
26808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26809 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_Py_Void();
26820 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
= 0;
26822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26823 wxPoint
*arg2
= 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 PyObject
* obj2
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "pt",(char *) "radius", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26848 if (!SWIG_IsOK(ecode3
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
26851 arg3
= static_cast< int >(val3
);
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_Py_Void();
26865 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
= 0;
26867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 PyObject
* obj2
= 0 ;
26885 PyObject
* obj3
= 0 ;
26886 PyObject
* obj4
= 0 ;
26887 char * kwnames
[] = {
26888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
26891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26896 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26898 if (!SWIG_IsOK(ecode2
)) {
26899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
26901 arg2
= static_cast< int >(val2
);
26902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26903 if (!SWIG_IsOK(ecode3
)) {
26904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
26906 arg3
= static_cast< int >(val3
);
26907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26908 if (!SWIG_IsOK(ecode4
)) {
26909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
26911 arg4
= static_cast< int >(val4
);
26912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26913 if (!SWIG_IsOK(ecode5
)) {
26914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
26916 arg5
= static_cast< int >(val5
);
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= SWIG_Py_Void();
26930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
= 0;
26932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char * kwnames
[] = {
26940 (char *) "self",(char *) "rect", NULL
26943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26951 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_Py_Void();
26966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
= 0;
26968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
26969 wxPoint
*arg2
= 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 PyObject
* obj2
= 0 ;
26978 char * kwnames
[] = {
26979 (char *) "self",(char *) "pt",(char *) "sz", NULL
26982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
26984 if (!SWIG_IsOK(res1
)) {
26985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
26987 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
26990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26994 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 PyObject
* obj2
= 0 ;
27026 PyObject
* obj3
= 0 ;
27027 char * kwnames
[] = {
27028 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
27031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27036 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27038 if (!SWIG_IsOK(res2
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27044 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27046 if (!SWIG_IsOK(ecode3
)) {
27047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
27049 arg3
= static_cast< int >(val3
);
27050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27051 if (!SWIG_IsOK(ecode4
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
27054 arg4
= static_cast< int >(val4
);
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= SWIG_Py_Void();
27068 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
= 0;
27070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27072 wxPoint
*arg3
= 0 ;
27078 PyObject
* obj0
= 0 ;
27079 PyObject
* obj1
= 0 ;
27080 PyObject
* obj2
= 0 ;
27081 char * kwnames
[] = {
27082 (char *) "self",(char *) "icon",(char *) "pt", NULL
27085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27087 if (!SWIG_IsOK(res1
)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27090 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27092 if (!SWIG_IsOK(res2
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
27096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
27098 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27105 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_Py_Void();
27116 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
= 0;
27118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27119 wxBitmap
*arg2
= 0 ;
27122 bool arg5
= (bool) false ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 PyObject
* obj2
= 0 ;
27136 PyObject
* obj3
= 0 ;
27137 PyObject
* obj4
= 0 ;
27138 char * kwnames
[] = {
27139 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
27142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27144 if (!SWIG_IsOK(res1
)) {
27145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27147 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27149 if (!SWIG_IsOK(res2
)) {
27150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27155 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27157 if (!SWIG_IsOK(ecode3
)) {
27158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
27160 arg3
= static_cast< int >(val3
);
27161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27162 if (!SWIG_IsOK(ecode4
)) {
27163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
27165 arg4
= static_cast< int >(val4
);
27167 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
27168 if (!SWIG_IsOK(ecode5
)) {
27169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
27171 arg5
= static_cast< bool >(val5
);
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
= 0;
27188 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27189 wxBitmap
*arg2
= 0 ;
27190 wxPoint
*arg3
= 0 ;
27191 bool arg4
= (bool) false ;
27199 PyObject
* obj0
= 0 ;
27200 PyObject
* obj1
= 0 ;
27201 PyObject
* obj2
= 0 ;
27202 PyObject
* obj3
= 0 ;
27203 char * kwnames
[] = {
27204 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
27207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27209 if (!SWIG_IsOK(res1
)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27214 if (!SWIG_IsOK(res2
)) {
27215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27220 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27226 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27227 if (!SWIG_IsOK(ecode4
)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
27230 arg4
= static_cast< bool >(val4
);
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_Py_Void();
27245 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
= 0;
27247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27248 wxString
*arg2
= 0 ;
27253 bool temp2
= false ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 PyObject
* obj2
= 0 ;
27261 PyObject
* obj3
= 0 ;
27262 char * kwnames
[] = {
27263 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
27266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27268 if (!SWIG_IsOK(res1
)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27271 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27273 arg2
= wxString_in_helper(obj1
);
27274 if (arg2
== NULL
) SWIG_fail
;
27277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27278 if (!SWIG_IsOK(ecode3
)) {
27279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
27281 arg3
= static_cast< int >(val3
);
27282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27283 if (!SWIG_IsOK(ecode4
)) {
27284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
27286 arg4
= static_cast< int >(val4
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_Py_Void();
27308 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
= 0;
27310 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27311 wxString
*arg2
= 0 ;
27312 wxPoint
*arg3
= 0 ;
27315 bool temp2
= false ;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 PyObject
* obj2
= 0 ;
27320 char * kwnames
[] = {
27321 (char *) "self",(char *) "text",(char *) "pt", NULL
27324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27329 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27331 arg2
= wxString_in_helper(obj1
);
27332 if (arg2
== NULL
) SWIG_fail
;
27337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_Py_Void();
27360 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
= 0;
27362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27363 wxString
*arg2
= 0 ;
27369 bool temp2
= false ;
27376 PyObject
* obj0
= 0 ;
27377 PyObject
* obj1
= 0 ;
27378 PyObject
* obj2
= 0 ;
27379 PyObject
* obj3
= 0 ;
27380 PyObject
* obj4
= 0 ;
27381 char * kwnames
[] = {
27382 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
27385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27392 arg2
= wxString_in_helper(obj1
);
27393 if (arg2
== NULL
) SWIG_fail
;
27396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27397 if (!SWIG_IsOK(ecode3
)) {
27398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
27400 arg3
= static_cast< int >(val3
);
27401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27402 if (!SWIG_IsOK(ecode4
)) {
27403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
27405 arg4
= static_cast< int >(val4
);
27406 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27407 if (!SWIG_IsOK(ecode5
)) {
27408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
27410 arg5
= static_cast< double >(val5
);
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_Py_Void();
27432 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
= 0;
27434 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27435 wxString
*arg2
= 0 ;
27436 wxPoint
*arg3
= 0 ;
27440 bool temp2
= false ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 PyObject
* obj2
= 0 ;
27447 PyObject
* obj3
= 0 ;
27448 char * kwnames
[] = {
27449 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
27452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27454 if (!SWIG_IsOK(res1
)) {
27455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27457 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27459 arg2
= wxString_in_helper(obj1
);
27460 if (arg2
== NULL
) SWIG_fail
;
27465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27467 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27468 if (!SWIG_IsOK(ecode4
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
27471 arg4
= static_cast< double >(val4
);
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_Py_Void();
27493 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
= 0;
27495 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27497 wxPoint
*arg3
= (wxPoint
*) 0 ;
27498 int arg4
= (int) 0 ;
27499 int arg5
= (int) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 PyObject
* obj1
= 0 ;
27508 PyObject
* obj2
= 0 ;
27509 PyObject
* obj3
= 0 ;
27510 char * kwnames
[] = {
27511 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
27514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27516 if (!SWIG_IsOK(res1
)) {
27517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27521 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
27522 if (arg3
== NULL
) SWIG_fail
;
27525 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27526 if (!SWIG_IsOK(ecode4
)) {
27527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
27529 arg4
= static_cast< int >(val4
);
27532 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
27533 if (!SWIG_IsOK(ecode5
)) {
27534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
27536 arg5
= static_cast< int >(val5
);
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= SWIG_Py_Void();
27546 if (arg3
) delete [] arg3
;
27551 if (arg3
) delete [] arg3
;
27557 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
= 0;
27559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27561 wxPoint
*arg3
= (wxPoint
*) 0 ;
27562 int arg4
= (int) 0 ;
27563 int arg5
= (int) 0 ;
27564 int arg6
= (int) wxODDEVEN_RULE
;
27573 PyObject
* obj0
= 0 ;
27574 PyObject
* obj1
= 0 ;
27575 PyObject
* obj2
= 0 ;
27576 PyObject
* obj3
= 0 ;
27577 PyObject
* obj4
= 0 ;
27578 char * kwnames
[] = {
27579 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
27582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27587 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27589 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
27590 if (arg3
== NULL
) SWIG_fail
;
27593 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27594 if (!SWIG_IsOK(ecode4
)) {
27595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
27597 arg4
= static_cast< int >(val4
);
27600 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
27601 if (!SWIG_IsOK(ecode5
)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
27604 arg5
= static_cast< int >(val5
);
27607 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
27608 if (!SWIG_IsOK(ecode6
)) {
27609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
27611 arg6
= static_cast< int >(val6
);
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= SWIG_Py_Void();
27621 if (arg3
) delete [] arg3
;
27626 if (arg3
) delete [] arg3
;
27632 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
= 0;
27634 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27635 wxString
*arg2
= 0 ;
27637 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
27638 int arg5
= (int) -1 ;
27641 bool temp2
= false ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 PyObject
* obj2
= 0 ;
27650 PyObject
* obj3
= 0 ;
27651 PyObject
* obj4
= 0 ;
27652 char * kwnames
[] = {
27653 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
27656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27658 if (!SWIG_IsOK(res1
)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27663 arg2
= wxString_in_helper(obj1
);
27664 if (arg2
== NULL
) SWIG_fail
;
27669 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27673 if (!SWIG_IsOK(ecode4
)) {
27674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
27676 arg4
= static_cast< int >(val4
);
27679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27680 if (!SWIG_IsOK(ecode5
)) {
27681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
27683 arg5
= static_cast< int >(val5
);
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_Py_Void();
27706 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= 0;
27708 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27709 wxString
*arg2
= 0 ;
27710 wxBitmap
*arg3
= 0 ;
27712 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
27713 int arg6
= (int) -1 ;
27716 bool temp2
= false ;
27724 PyObject
* obj0
= 0 ;
27725 PyObject
* obj1
= 0 ;
27726 PyObject
* obj2
= 0 ;
27727 PyObject
* obj3
= 0 ;
27728 PyObject
* obj4
= 0 ;
27729 PyObject
* obj5
= 0 ;
27730 char * kwnames
[] = {
27731 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
27734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27736 if (!SWIG_IsOK(res1
)) {
27737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27741 arg2
= wxString_in_helper(obj1
);
27742 if (arg2
== NULL
) SWIG_fail
;
27745 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27746 if (!SWIG_IsOK(res3
)) {
27747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27752 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27755 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27758 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27759 if (!SWIG_IsOK(ecode5
)) {
27760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
27762 arg5
= static_cast< int >(val5
);
27765 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27766 if (!SWIG_IsOK(ecode6
)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
27769 arg6
= static_cast< int >(val6
);
27772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27773 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_Py_Void();
27792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
= 0;
27794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27796 wxPoint
*arg3
= (wxPoint
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char * kwnames
[] = {
27802 (char *) "self",(char *) "points", NULL
27805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27807 if (!SWIG_IsOK(res1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27812 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
27813 if (arg3
== NULL
) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->DrawSpline(arg2
,arg3
);
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_Py_Void();
27823 if (arg3
) delete [] arg3
;
27828 if (arg3
) delete [] arg3
;
27834 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27835 PyObject
*resultobj
= 0;
27836 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27839 PyObject
*swig_obj
[1] ;
27841 if (!args
) SWIG_fail
;
27842 swig_obj
[0] = args
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27847 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= SWIG_Py_Void();
27861 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
= 0;
27863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 char * kwnames
[] = {
27872 (char *) "self",(char *) "font", NULL
27875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27880 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27882 if (!SWIG_IsOK(res2
)) {
27883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27888 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->SetFont((wxFont
const &)*arg2
);
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= SWIG_Py_Void();
27902 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
= 0;
27904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27910 PyObject
* obj0
= 0 ;
27911 PyObject
* obj1
= 0 ;
27912 char * kwnames
[] = {
27913 (char *) "self",(char *) "pen", NULL
27916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27918 if (!SWIG_IsOK(res1
)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27921 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27923 if (!SWIG_IsOK(res2
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
27927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
27929 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 (arg1
)->SetPen((wxPen
const &)*arg2
);
27933 wxPyEndAllowThreads(__tstate
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= SWIG_Py_Void();
27943 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27944 PyObject
*resultobj
= 0;
27945 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27946 wxBrush
*arg2
= 0 ;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 char * kwnames
[] = {
27954 (char *) "self",(char *) "brush", NULL
27957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27959 if (!SWIG_IsOK(res1
)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27962 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27964 if (!SWIG_IsOK(res2
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27970 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= SWIG_Py_Void();
27984 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
= 0;
27986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27987 wxBrush
*arg2
= 0 ;
27992 PyObject
* obj0
= 0 ;
27993 PyObject
* obj1
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "brush", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28005 if (!SWIG_IsOK(res2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
28009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
28011 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_Py_Void();
28025 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
= 0;
28027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 char * kwnames
[] = {
28036 (char *) "self",(char *) "mode", NULL
28039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28044 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28046 if (!SWIG_IsOK(ecode2
)) {
28047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
28049 arg2
= static_cast< int >(val2
);
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 (arg1
)->SetBackgroundMode(arg2
);
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_Py_Void();
28063 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
= 0;
28065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28066 wxPalette
*arg2
= 0 ;
28071 PyObject
* obj0
= 0 ;
28072 PyObject
* obj1
= 0 ;
28073 char * kwnames
[] = {
28074 (char *) "self",(char *) "palette", NULL
28077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28082 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
28084 if (!SWIG_IsOK(res2
)) {
28085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
28088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
28090 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= SWIG_Py_Void();
28104 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
= 0;
28106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28107 wxColour
*arg2
= 0 ;
28111 PyObject
* obj0
= 0 ;
28112 PyObject
* obj1
= 0 ;
28113 char * kwnames
[] = {
28114 (char *) "self",(char *) "colour", NULL
28117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28119 if (!SWIG_IsOK(res1
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 resultobj
= SWIG_Py_Void();
28140 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
= 0;
28142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28143 wxColour
*arg2
= 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char * kwnames
[] = {
28150 (char *) "self",(char *) "colour", NULL
28153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28158 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_Py_Void();
28176 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
= 0;
28178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28184 PyObject
* obj0
= 0 ;
28185 PyObject
* obj1
= 0 ;
28186 char * kwnames
[] = {
28187 (char *) "self",(char *) "function", NULL
28190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28197 if (!SWIG_IsOK(ecode2
)) {
28198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28200 arg2
= static_cast< int >(val2
);
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 (arg1
)->SetLogicalFunction(arg2
);
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_Py_Void();
28214 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28217 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
28218 return SWIG_Py_Void();
28221 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28222 return SWIG_Python_InitShadowInstance(args
);
28225 static PyMethodDef SwigMethods
[] = {
28226 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
28227 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
28228 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
28229 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
28230 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
28231 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
28235 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
28236 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
28237 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
28238 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
28239 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
28244 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
28247 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
28248 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
28249 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
28250 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
28252 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
28255 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
28256 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
28257 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
28258 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
28260 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
28261 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
28262 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
28263 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
28264 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
28265 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
28266 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
28273 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
28277 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
28278 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
28281 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
28285 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
28286 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
28287 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
28288 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
28289 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
28290 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
28292 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
28293 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
28295 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
28301 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
28302 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
28303 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
28304 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
28305 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
28306 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
28307 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
28313 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
28321 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
28322 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
28324 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
28325 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
28326 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
28328 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
28329 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
28333 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
28334 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
28335 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
28336 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
28341 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
28342 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
28344 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
28345 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
28347 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
28349 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
28350 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
28351 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
28352 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
28355 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
28359 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
28360 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
28362 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
28365 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
28366 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
28367 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
28372 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
28373 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
28379 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
28383 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
28393 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
28396 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
28397 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
28399 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
28400 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
28401 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
28402 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
28403 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
28404 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
28405 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
28406 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
28407 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
28408 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
28409 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
28410 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
28411 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
28412 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
28413 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
28414 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
28415 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
28417 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
28418 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
28419 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
28420 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
28421 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
28422 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
28423 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
28432 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
28433 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
28435 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
28436 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
28437 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
28438 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
28439 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
28440 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
28441 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
28442 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
28443 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
28445 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
28446 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
28447 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
28450 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
28451 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
28452 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
28455 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
28461 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
28466 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
28467 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
28469 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28474 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
28475 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
28478 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
28479 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
28480 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
28481 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
28482 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
28483 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
28484 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
28485 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
28486 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
28487 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
28488 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
28489 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
28490 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
28502 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
28503 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
28504 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28505 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
28506 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
28507 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
28509 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
28510 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
28511 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
28512 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28513 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28514 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
28516 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
28517 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
28519 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
28520 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
28521 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
28522 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
28523 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
28524 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
28525 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
28526 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
28527 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
28529 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
28532 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
28533 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
28534 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
28535 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
28536 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
28537 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
28538 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
28539 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28543 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28545 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
28548 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
28549 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
28550 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
28551 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
28552 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
28553 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
28554 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
28560 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
28561 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
28562 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28578 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28579 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28581 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28582 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28583 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28584 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28585 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28586 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28587 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28588 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28598 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28602 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28603 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28605 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28607 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28609 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28610 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
28611 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28612 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
28613 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
28614 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
28615 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28616 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28617 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28618 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28619 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28620 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28621 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
28622 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
28623 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
28624 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
28625 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
28626 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28627 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28628 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28629 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28630 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
28631 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
28632 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
28633 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
28634 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28635 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28636 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28639 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28640 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28642 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
28643 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
28644 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
28645 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
28646 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
28647 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
28648 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
28649 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
28650 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
28651 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
28652 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
28653 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
28654 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
28657 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
28659 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
28661 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28662 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
28663 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
28664 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
28667 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
28668 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28669 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28670 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
28672 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28673 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
28674 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28676 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
28677 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
28678 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
28679 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
28680 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
28681 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
28682 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28683 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
28689 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
28690 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28691 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
28693 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
28694 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
28695 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
28696 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
28697 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
28698 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
28699 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28700 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
28701 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
28702 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
28703 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28704 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28705 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
28706 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
28707 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
28708 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28709 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
28710 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
28711 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28712 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
28713 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
28714 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28715 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
28716 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
28717 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28718 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
28719 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
28720 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28721 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
28722 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28723 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28724 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
28725 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
28726 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
28727 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28728 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
28729 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
28730 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28731 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
28732 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
28733 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
28734 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
28735 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
28736 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28737 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
28738 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
28739 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
28740 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28741 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
28742 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
28743 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28744 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
28745 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28746 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28747 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28748 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28749 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28750 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28751 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28752 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
28753 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28754 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
28755 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28756 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
28757 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
28758 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
28759 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
28760 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
28761 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
28762 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28763 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28764 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28765 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28766 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28767 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
28768 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
28769 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
28770 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
28771 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
28772 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
28773 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28774 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28775 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28776 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
28777 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28778 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28779 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28780 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
28781 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28782 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28783 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28784 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
28785 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
28786 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
28787 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28788 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28789 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28790 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28791 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
28792 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
28793 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
28794 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
28795 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
28796 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
28797 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
28798 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
28799 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
28800 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
28801 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
28802 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
28803 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28804 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28805 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28806 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28807 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28808 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28809 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28810 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28811 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
28812 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
28813 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28814 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
28815 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
28816 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
28817 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
28818 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
28819 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
28820 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28821 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
28822 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28823 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
28824 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
28825 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
28826 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
28827 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28828 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28829 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28830 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28831 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28832 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28833 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28834 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28835 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28836 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28837 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
28838 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
28839 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
28840 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28841 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
28842 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
28843 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
28844 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
28845 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
28846 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
28847 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
28848 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
28849 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28850 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28851 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28852 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28853 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28854 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28855 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28856 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28857 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28858 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28859 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28860 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28861 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28862 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28863 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28864 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28865 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28866 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28867 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28868 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28869 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28870 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28871 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28872 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28873 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28874 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28875 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28876 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28877 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28878 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28879 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28880 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28881 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28882 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28883 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28884 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28885 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28886 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28887 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28888 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28889 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28890 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28891 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28892 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28893 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28894 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28895 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28896 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28897 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
28898 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28899 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28900 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28901 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28902 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28903 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28904 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28905 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28906 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28907 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
28908 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
28909 { NULL
, NULL
, 0, NULL
}
28913 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28915 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
28916 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
28918 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
28919 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28921 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
28922 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
28924 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
28925 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
28927 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
28928 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
28930 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
28931 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
28933 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
28934 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
28936 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
28937 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
28939 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
28940 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
28942 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
28943 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
28945 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
28946 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
28948 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
28949 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
28951 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
28952 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
28954 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
28955 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
28957 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
28958 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
28960 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
28961 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
28963 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
28964 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28966 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
28967 return (void *)((wxDC
*) ((wxClientDC
*) x
));
28969 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
28970 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
28972 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
28973 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
28975 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
28976 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
28978 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
28979 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
28981 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
28982 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
28984 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
28985 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
28987 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
28988 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
28990 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28993 static void *_p_wxPenTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
28996 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
28999 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29002 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29005 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29008 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29011 static void *_p_wxIconTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
29014 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29017 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29020 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) ((wxSizer
*) x
));
29023 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29026 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29029 static void *_p_wxEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) ((wxEvent
*) x
));
29032 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29035 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29038 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29041 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
29044 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
29047 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29050 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29053 static void *_p_wxDCTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) ((wxDC
*) x
));
29056 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29059 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29062 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29065 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29068 static void *_p_wxControlTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29071 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29074 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
29077 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29080 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
29083 static void *_p_wxRegionTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
29086 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29089 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
29092 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
29095 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) ((wxEffects
*) x
));
29098 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29101 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29104 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
29107 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29110 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29113 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
29116 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29119 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29122 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29125 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29128 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29131 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29134 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29137 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29140 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29143 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29146 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29149 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29152 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29155 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29158 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29161 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29164 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29167 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
29170 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29173 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29176 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29179 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29182 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
29185 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
29188 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
29191 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
29194 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29197 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29200 static void *_p_wxImageTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) ((wxImage
*) x
));
29203 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29206 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
29209 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
29212 static void *_p_wxImageListTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) ((wxImageList
*) x
));
29215 static void *_p_wxCursorTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
29218 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
29221 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
29224 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29227 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29230 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29233 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29236 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29239 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29242 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
29245 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29248 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
29251 static void *_p_wxMaskTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) ((wxMask
*) x
));
29254 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29257 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29258 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29260 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29261 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29263 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29264 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29266 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29269 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29272 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29275 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29278 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29281 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29282 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29284 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29287 static void *_p_wxFontTo_p_wxObject(void *x
) {
29288 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
29290 static void *_p_wxBrushTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
29293 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
29296 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29299 static void *_p_wxColourTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) ((wxColour
*) x
));
29302 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29305 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29308 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29309 return (void *)((wxWindow
*) ((wxControl
*) x
));
29311 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29312 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29314 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29315 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29317 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
29318 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
29319 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};
29320 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
29321 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
29322 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
29323 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
29324 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
29325 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
29326 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
29327 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
29328 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
29329 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
29330 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
29331 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
29332 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
29333 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
29334 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
29335 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
29336 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
29337 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
29338 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
29339 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
29340 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
29341 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
29342 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
29343 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
29344 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
29345 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
29346 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
29347 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
29348 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
29349 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
29350 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
29351 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
29352 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
29353 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
29354 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
29355 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
29356 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
29357 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
29358 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
29359 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
29360 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
29361 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
29362 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
29363 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
29364 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
29365 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
29366 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
29367 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
29368 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
29369 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
29370 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
29371 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
29372 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
29373 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
29374 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
29375 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
29376 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
29377 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
29378 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
29379 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
29380 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
29381 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
29382 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
29383 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
29384 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
29385 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
29386 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
29387 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
29388 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
29389 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
29390 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
29391 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
29392 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
29393 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
29394 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
29395 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
29396 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
29397 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
29398 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
29399 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
29400 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
29401 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
29402 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
29403 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
29404 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
29405 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
29406 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
29407 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
29408 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
29409 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
29410 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
29411 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
29412 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
29413 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
29414 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
29415 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
29416 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
29417 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
29418 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
29419 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
29420 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
29421 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
29422 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
29423 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
29424 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
29425 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
29426 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
29427 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
29428 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
29429 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
29430 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
29431 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
29432 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
29433 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
29434 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
29435 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
29436 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
29437 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
29438 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
29439 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
29440 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
29441 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
29442 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
29443 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
29444 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
29445 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
29446 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
29447 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
29448 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
29449 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
29450 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
29451 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
29452 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
29453 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
29454 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
29455 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
29457 static swig_type_info
*swig_type_initial
[] = {
29460 &_swigt__p_form_ops_t
,
29462 &_swigt__p_unsigned_char
,
29463 &_swigt__p_unsigned_int
,
29464 &_swigt__p_unsigned_long
,
29465 &_swigt__p_wxANIHandler
,
29466 &_swigt__p_wxAcceleratorTable
,
29467 &_swigt__p_wxActivateEvent
,
29468 &_swigt__p_wxBMPHandler
,
29469 &_swigt__p_wxBitmap
,
29470 &_swigt__p_wxBoxSizer
,
29471 &_swigt__p_wxBrush
,
29472 &_swigt__p_wxBrushList
,
29473 &_swigt__p_wxBufferedDC
,
29474 &_swigt__p_wxBufferedPaintDC
,
29475 &_swigt__p_wxCURHandler
,
29476 &_swigt__p_wxChildFocusEvent
,
29477 &_swigt__p_wxClientDC
,
29478 &_swigt__p_wxClipboardTextEvent
,
29479 &_swigt__p_wxCloseEvent
,
29480 &_swigt__p_wxColour
,
29481 &_swigt__p_wxColourDatabase
,
29482 &_swigt__p_wxCommandEvent
,
29483 &_swigt__p_wxContextMenuEvent
,
29484 &_swigt__p_wxControl
,
29485 &_swigt__p_wxControlWithItems
,
29486 &_swigt__p_wxCursor
,
29489 &_swigt__p_wxDateEvent
,
29490 &_swigt__p_wxDisplayChangedEvent
,
29491 &_swigt__p_wxDropFilesEvent
,
29492 &_swigt__p_wxDuplexMode
,
29493 &_swigt__p_wxEffects
,
29494 &_swigt__p_wxEncodingConverter
,
29495 &_swigt__p_wxEraseEvent
,
29496 &_swigt__p_wxEvent
,
29497 &_swigt__p_wxEvtHandler
,
29498 &_swigt__p_wxFSFile
,
29499 &_swigt__p_wxFileSystem
,
29500 &_swigt__p_wxFlexGridSizer
,
29501 &_swigt__p_wxFocusEvent
,
29503 &_swigt__p_wxFontList
,
29504 &_swigt__p_wxFontMapper
,
29505 &_swigt__p_wxGBSizerItem
,
29506 &_swigt__p_wxGDIObjListBase
,
29507 &_swigt__p_wxGDIObject
,
29508 &_swigt__p_wxGIFHandler
,
29509 &_swigt__p_wxGridBagSizer
,
29510 &_swigt__p_wxGridSizer
,
29511 &_swigt__p_wxICOHandler
,
29513 &_swigt__p_wxIconBundle
,
29514 &_swigt__p_wxIconLocation
,
29515 &_swigt__p_wxIconizeEvent
,
29516 &_swigt__p_wxIdleEvent
,
29517 &_swigt__p_wxImage
,
29518 &_swigt__p_wxImageHandler
,
29519 &_swigt__p_wxImageList
,
29520 &_swigt__p_wxIndividualLayoutConstraint
,
29521 &_swigt__p_wxInitDialogEvent
,
29522 &_swigt__p_wxJPEGHandler
,
29523 &_swigt__p_wxKeyEvent
,
29524 &_swigt__p_wxLanguageInfo
,
29525 &_swigt__p_wxLayoutConstraints
,
29526 &_swigt__p_wxLocale
,
29528 &_swigt__p_wxMaximizeEvent
,
29529 &_swigt__p_wxMemoryDC
,
29531 &_swigt__p_wxMenuBar
,
29532 &_swigt__p_wxMenuEvent
,
29533 &_swigt__p_wxMenuItem
,
29534 &_swigt__p_wxMetaFile
,
29535 &_swigt__p_wxMetaFileDC
,
29536 &_swigt__p_wxMirrorDC
,
29537 &_swigt__p_wxMouseCaptureChangedEvent
,
29538 &_swigt__p_wxMouseEvent
,
29539 &_swigt__p_wxMoveEvent
,
29540 &_swigt__p_wxNativeEncodingInfo
,
29541 &_swigt__p_wxNativeFontInfo
,
29542 &_swigt__p_wxNavigationKeyEvent
,
29543 &_swigt__p_wxNcPaintEvent
,
29544 &_swigt__p_wxNotifyEvent
,
29545 &_swigt__p_wxObject
,
29546 &_swigt__p_wxPCXHandler
,
29547 &_swigt__p_wxPNGHandler
,
29548 &_swigt__p_wxPNMHandler
,
29549 &_swigt__p_wxPaintDC
,
29550 &_swigt__p_wxPaintEvent
,
29551 &_swigt__p_wxPalette
,
29552 &_swigt__p_wxPaletteChangedEvent
,
29553 &_swigt__p_wxPaperSize
,
29555 &_swigt__p_wxPenList
,
29556 &_swigt__p_wxPoint
,
29557 &_swigt__p_wxPostScriptDC
,
29558 &_swigt__p_wxPrintData
,
29559 &_swigt__p_wxPrinterDC
,
29560 &_swigt__p_wxPseudoDC
,
29561 &_swigt__p_wxPyApp
,
29562 &_swigt__p_wxPyCommandEvent
,
29563 &_swigt__p_wxPyEvent
,
29564 &_swigt__p_wxPyFontEnumerator
,
29565 &_swigt__p_wxPyImageHandler
,
29566 &_swigt__p_wxPySizer
,
29567 &_swigt__p_wxPyValidator
,
29568 &_swigt__p_wxQueryNewPaletteEvent
,
29570 &_swigt__p_wxRegion
,
29571 &_swigt__p_wxRegionIterator
,
29572 &_swigt__p_wxRendererNative
,
29573 &_swigt__p_wxRendererVersion
,
29574 &_swigt__p_wxScreenDC
,
29575 &_swigt__p_wxScrollEvent
,
29576 &_swigt__p_wxScrollWinEvent
,
29577 &_swigt__p_wxSetCursorEvent
,
29578 &_swigt__p_wxShowEvent
,
29580 &_swigt__p_wxSizeEvent
,
29581 &_swigt__p_wxSizer
,
29582 &_swigt__p_wxSizerItem
,
29583 &_swigt__p_wxSplitterRenderParams
,
29584 &_swigt__p_wxStaticBoxSizer
,
29585 &_swigt__p_wxStdDialogButtonSizer
,
29586 &_swigt__p_wxStockGDI
,
29587 &_swigt__p_wxString
,
29588 &_swigt__p_wxSysColourChangedEvent
,
29589 &_swigt__p_wxTIFFHandler
,
29590 &_swigt__p_wxUpdateUIEvent
,
29591 &_swigt__p_wxValidator
,
29592 &_swigt__p_wxWindow
,
29593 &_swigt__p_wxWindowCreateEvent
,
29594 &_swigt__p_wxWindowDC
,
29595 &_swigt__p_wxWindowDestroyEvent
,
29596 &_swigt__p_wxXPMHandler
,
29599 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29600 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
29601 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29602 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29603 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29604 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29605 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29606 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29607 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
29608 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
29609 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}};
29610 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
29611 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
29612 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29613 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
29614 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
29615 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
29616 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
29617 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29618 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
29619 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
29620 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29621 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
29622 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
29623 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}};
29624 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}};
29625 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29626 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29627 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
29628 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29629 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
29630 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
29631 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
29632 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
29633 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}};
29634 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
29635 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
29636 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
29637 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
29638 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
29639 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29640 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29641 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29642 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29643 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29644 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29645 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29646 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29647 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29648 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29649 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29650 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
29651 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29652 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29653 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29654 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
29655 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29656 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29657 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29658 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29659 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29660 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29661 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29662 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29663 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29664 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29665 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29666 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29667 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29668 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29669 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29670 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29671 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29672 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29673 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29674 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29675 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29676 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29677 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29678 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29679 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29680 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29681 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29682 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29683 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29684 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29685 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29686 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
29687 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29688 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29689 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29690 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29691 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29692 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29693 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29694 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29695 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29696 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29697 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29698 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29699 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29700 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29701 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29702 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29703 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29704 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29705 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29706 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29707 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29708 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29709 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29714 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_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_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_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_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_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_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_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}};
29715 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
29722 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29727 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29728 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
29729 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
29730 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
29731 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
29732 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29736 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}};
29737 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info
*swig_cast_initial
[] = {
29742 _swigc__p_form_ops_t
,
29744 _swigc__p_unsigned_char
,
29745 _swigc__p_unsigned_int
,
29746 _swigc__p_unsigned_long
,
29747 _swigc__p_wxANIHandler
,
29748 _swigc__p_wxAcceleratorTable
,
29749 _swigc__p_wxActivateEvent
,
29750 _swigc__p_wxBMPHandler
,
29751 _swigc__p_wxBitmap
,
29752 _swigc__p_wxBoxSizer
,
29754 _swigc__p_wxBrushList
,
29755 _swigc__p_wxBufferedDC
,
29756 _swigc__p_wxBufferedPaintDC
,
29757 _swigc__p_wxCURHandler
,
29758 _swigc__p_wxChildFocusEvent
,
29759 _swigc__p_wxClientDC
,
29760 _swigc__p_wxClipboardTextEvent
,
29761 _swigc__p_wxCloseEvent
,
29762 _swigc__p_wxColour
,
29763 _swigc__p_wxColourDatabase
,
29764 _swigc__p_wxCommandEvent
,
29765 _swigc__p_wxContextMenuEvent
,
29766 _swigc__p_wxControl
,
29767 _swigc__p_wxControlWithItems
,
29768 _swigc__p_wxCursor
,
29771 _swigc__p_wxDateEvent
,
29772 _swigc__p_wxDisplayChangedEvent
,
29773 _swigc__p_wxDropFilesEvent
,
29774 _swigc__p_wxDuplexMode
,
29775 _swigc__p_wxEffects
,
29776 _swigc__p_wxEncodingConverter
,
29777 _swigc__p_wxEraseEvent
,
29779 _swigc__p_wxEvtHandler
,
29780 _swigc__p_wxFSFile
,
29781 _swigc__p_wxFileSystem
,
29782 _swigc__p_wxFlexGridSizer
,
29783 _swigc__p_wxFocusEvent
,
29785 _swigc__p_wxFontList
,
29786 _swigc__p_wxFontMapper
,
29787 _swigc__p_wxGBSizerItem
,
29788 _swigc__p_wxGDIObjListBase
,
29789 _swigc__p_wxGDIObject
,
29790 _swigc__p_wxGIFHandler
,
29791 _swigc__p_wxGridBagSizer
,
29792 _swigc__p_wxGridSizer
,
29793 _swigc__p_wxICOHandler
,
29795 _swigc__p_wxIconBundle
,
29796 _swigc__p_wxIconLocation
,
29797 _swigc__p_wxIconizeEvent
,
29798 _swigc__p_wxIdleEvent
,
29800 _swigc__p_wxImageHandler
,
29801 _swigc__p_wxImageList
,
29802 _swigc__p_wxIndividualLayoutConstraint
,
29803 _swigc__p_wxInitDialogEvent
,
29804 _swigc__p_wxJPEGHandler
,
29805 _swigc__p_wxKeyEvent
,
29806 _swigc__p_wxLanguageInfo
,
29807 _swigc__p_wxLayoutConstraints
,
29808 _swigc__p_wxLocale
,
29810 _swigc__p_wxMaximizeEvent
,
29811 _swigc__p_wxMemoryDC
,
29813 _swigc__p_wxMenuBar
,
29814 _swigc__p_wxMenuEvent
,
29815 _swigc__p_wxMenuItem
,
29816 _swigc__p_wxMetaFile
,
29817 _swigc__p_wxMetaFileDC
,
29818 _swigc__p_wxMirrorDC
,
29819 _swigc__p_wxMouseCaptureChangedEvent
,
29820 _swigc__p_wxMouseEvent
,
29821 _swigc__p_wxMoveEvent
,
29822 _swigc__p_wxNativeEncodingInfo
,
29823 _swigc__p_wxNativeFontInfo
,
29824 _swigc__p_wxNavigationKeyEvent
,
29825 _swigc__p_wxNcPaintEvent
,
29826 _swigc__p_wxNotifyEvent
,
29827 _swigc__p_wxObject
,
29828 _swigc__p_wxPCXHandler
,
29829 _swigc__p_wxPNGHandler
,
29830 _swigc__p_wxPNMHandler
,
29831 _swigc__p_wxPaintDC
,
29832 _swigc__p_wxPaintEvent
,
29833 _swigc__p_wxPalette
,
29834 _swigc__p_wxPaletteChangedEvent
,
29835 _swigc__p_wxPaperSize
,
29837 _swigc__p_wxPenList
,
29839 _swigc__p_wxPostScriptDC
,
29840 _swigc__p_wxPrintData
,
29841 _swigc__p_wxPrinterDC
,
29842 _swigc__p_wxPseudoDC
,
29844 _swigc__p_wxPyCommandEvent
,
29845 _swigc__p_wxPyEvent
,
29846 _swigc__p_wxPyFontEnumerator
,
29847 _swigc__p_wxPyImageHandler
,
29848 _swigc__p_wxPySizer
,
29849 _swigc__p_wxPyValidator
,
29850 _swigc__p_wxQueryNewPaletteEvent
,
29852 _swigc__p_wxRegion
,
29853 _swigc__p_wxRegionIterator
,
29854 _swigc__p_wxRendererNative
,
29855 _swigc__p_wxRendererVersion
,
29856 _swigc__p_wxScreenDC
,
29857 _swigc__p_wxScrollEvent
,
29858 _swigc__p_wxScrollWinEvent
,
29859 _swigc__p_wxSetCursorEvent
,
29860 _swigc__p_wxShowEvent
,
29862 _swigc__p_wxSizeEvent
,
29864 _swigc__p_wxSizerItem
,
29865 _swigc__p_wxSplitterRenderParams
,
29866 _swigc__p_wxStaticBoxSizer
,
29867 _swigc__p_wxStdDialogButtonSizer
,
29868 _swigc__p_wxStockGDI
,
29869 _swigc__p_wxString
,
29870 _swigc__p_wxSysColourChangedEvent
,
29871 _swigc__p_wxTIFFHandler
,
29872 _swigc__p_wxUpdateUIEvent
,
29873 _swigc__p_wxValidator
,
29874 _swigc__p_wxWindow
,
29875 _swigc__p_wxWindowCreateEvent
,
29876 _swigc__p_wxWindowDC
,
29877 _swigc__p_wxWindowDestroyEvent
,
29878 _swigc__p_wxXPMHandler
,
29882 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29884 static swig_const_info swig_const_table
[] = {
29885 {0, 0, 0, 0.0, 0, 0}};
29890 /* -----------------------------------------------------------------------------
29891 * Type initialization:
29892 * This problem is tough by the requirement that no dynamic
29893 * memory is used. Also, since swig_type_info structures store pointers to
29894 * swig_cast_info structures and swig_cast_info structures store pointers back
29895 * to swig_type_info structures, we need some lookup code at initialization.
29896 * The idea is that swig generates all the structures that are needed.
29897 * The runtime then collects these partially filled structures.
29898 * The SWIG_InitializeModule function takes these initial arrays out of
29899 * swig_module, and does all the lookup, filling in the swig_module.types
29900 * array with the correct data and linking the correct swig_cast_info
29901 * structures together.
29903 * The generated swig_type_info structures are assigned staticly to an initial
29904 * array. We just loop though that array, and handle each type individually.
29905 * First we lookup if this type has been already loaded, and if so, use the
29906 * loaded structure instead of the generated one. Then we have to fill in the
29907 * cast linked list. The cast data is initially stored in something like a
29908 * two-dimensional array. Each row corresponds to a type (there are the same
29909 * number of rows as there are in the swig_type_initial array). Each entry in
29910 * a column is one of the swig_cast_info structures for that type.
29911 * The cast_initial array is actually an array of arrays, because each row has
29912 * a variable number of columns. So to actually build the cast linked list,
29913 * we find the array of casts associated with the type, and loop through it
29914 * adding the casts to the list. The one last trick we need to do is making
29915 * sure the type pointer in the swig_cast_info struct is correct.
29917 * First off, we lookup the cast->type name to see if it is already loaded.
29918 * There are three cases to handle:
29919 * 1) If the cast->type has already been loaded AND the type we are adding
29920 * casting info to has not been loaded (it is in this module), THEN we
29921 * replace the cast->type pointer with the type pointer that has already
29923 * 2) If BOTH types (the one we are adding casting info to, and the
29924 * cast->type) are loaded, THEN the cast info has already been loaded by
29925 * the previous module so we just ignore it.
29926 * 3) Finally, if cast->type has not already been loaded, then we add that
29927 * swig_cast_info to the linked list (because the cast->type) pointer will
29929 * ----------------------------------------------------------------------------- */
29939 #define SWIGRUNTIME_DEBUG
29943 SWIG_InitializeModule(void *clientdata
) {
29945 swig_module_info
*module_head
;
29946 static int init_run
= 0;
29948 clientdata
= clientdata
;
29950 if (init_run
) return;
29953 /* Initialize the swig_module */
29954 swig_module
.type_initial
= swig_type_initial
;
29955 swig_module
.cast_initial
= swig_cast_initial
;
29957 /* Try and load any already created modules */
29958 module_head
= SWIG_GetModule(clientdata
);
29960 swig_module
.next
= module_head
->next
;
29961 module_head
->next
= &swig_module
;
29963 /* This is the first module loaded */
29964 swig_module
.next
= &swig_module
;
29965 SWIG_SetModule(clientdata
, &swig_module
);
29968 /* Now work on filling in swig_module.types */
29969 #ifdef SWIGRUNTIME_DEBUG
29970 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
29972 for (i
= 0; i
< swig_module
.size
; ++i
) {
29973 swig_type_info
*type
= 0;
29974 swig_type_info
*ret
;
29975 swig_cast_info
*cast
;
29977 #ifdef SWIGRUNTIME_DEBUG
29978 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29981 /* if there is another module already loaded */
29982 if (swig_module
.next
!= &swig_module
) {
29983 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
29986 /* Overwrite clientdata field */
29987 #ifdef SWIGRUNTIME_DEBUG
29988 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
29990 if (swig_module
.type_initial
[i
]->clientdata
) {
29991 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
29992 #ifdef SWIGRUNTIME_DEBUG
29993 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
29997 type
= swig_module
.type_initial
[i
];
30000 /* Insert casting types */
30001 cast
= swig_module
.cast_initial
[i
];
30002 while (cast
->type
) {
30003 /* Don't need to add information already in the list */
30005 #ifdef SWIGRUNTIME_DEBUG
30006 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30008 if (swig_module
.next
!= &swig_module
) {
30009 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30010 #ifdef SWIGRUNTIME_DEBUG
30011 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30015 if (type
== swig_module
.type_initial
[i
]) {
30016 #ifdef SWIGRUNTIME_DEBUG
30017 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30022 /* Check for casting already in the list */
30023 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30024 #ifdef SWIGRUNTIME_DEBUG
30025 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30027 if (!ocast
) ret
= 0;
30032 #ifdef SWIGRUNTIME_DEBUG
30033 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30036 type
->cast
->prev
= cast
;
30037 cast
->next
= type
->cast
;
30043 /* Set entry in modules->types array equal to the type */
30044 swig_module
.types
[i
] = type
;
30046 swig_module
.types
[i
] = 0;
30048 #ifdef SWIGRUNTIME_DEBUG
30049 printf("**** SWIG_InitializeModule: Cast List ******\n");
30050 for (i
= 0; i
< swig_module
.size
; ++i
) {
30052 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30053 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30054 while (cast
->type
) {
30055 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30059 printf("---- Total casts: %d\n",j
);
30061 printf("**** SWIG_InitializeModule: Cast List ******\n");
30065 /* This function will propagate the clientdata field of type to
30066 * any new swig_type_info structures that have been added into the list
30067 * of equivalent types. It is like calling
30068 * SWIG_TypeClientData(type, clientdata) a second time.
30071 SWIG_PropagateClientData(void) {
30073 swig_cast_info
*equiv
;
30074 static int init_run
= 0;
30076 if (init_run
) return;
30079 for (i
= 0; i
< swig_module
.size
; i
++) {
30080 if (swig_module
.types
[i
]->clientdata
) {
30081 equiv
= swig_module
.types
[i
]->cast
;
30083 if (!equiv
->converter
) {
30084 if (equiv
->type
&& !equiv
->type
->clientdata
)
30085 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30087 equiv
= equiv
->next
;
30107 /* Python-specific SWIG API */
30108 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30109 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30110 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30112 /* -----------------------------------------------------------------------------
30113 * global variable support code.
30114 * ----------------------------------------------------------------------------- */
30116 typedef struct swig_globalvar
{
30117 char *name
; /* Name of global variable */
30118 PyObject
*(*get_attr
)(void); /* Return the current value */
30119 int (*set_attr
)(PyObject
*); /* Set the value */
30120 struct swig_globalvar
*next
;
30123 typedef struct swig_varlinkobject
{
30125 swig_globalvar
*vars
;
30126 } swig_varlinkobject
;
30128 SWIGINTERN PyObject
*
30129 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
30130 return PyString_FromString("<Swig global variables>");
30133 SWIGINTERN PyObject
*
30134 swig_varlink_str(swig_varlinkobject
*v
) {
30135 PyObject
*str
= PyString_FromString("(");
30136 swig_globalvar
*var
;
30137 for (var
= v
->vars
; var
; var
=var
->next
) {
30138 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
30139 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
30141 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
30146 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
30147 PyObject
*str
= swig_varlink_str(v
);
30148 fprintf(fp
,"Swig global variables ");
30149 fprintf(fp
,"%s\n", PyString_AsString(str
));
30155 swig_varlink_dealloc(swig_varlinkobject
*v
) {
30156 swig_globalvar
*var
= v
->vars
;
30158 swig_globalvar
*n
= var
->next
;
30165 SWIGINTERN PyObject
*
30166 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30167 PyObject
*res
= NULL
;
30168 swig_globalvar
*var
= v
->vars
;
30170 if (strcmp(var
->name
,n
) == 0) {
30171 res
= (*var
->get_attr
)();
30176 if (res
== NULL
&& !PyErr_Occurred()) {
30177 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30183 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30185 swig_globalvar
*var
= v
->vars
;
30187 if (strcmp(var
->name
,n
) == 0) {
30188 res
= (*var
->set_attr
)(p
);
30193 if (res
== 1 && !PyErr_Occurred()) {
30194 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30199 SWIGINTERN PyTypeObject
*
30200 swig_varlink_type(void) {
30201 static char varlink__doc__
[] = "Swig var link object";
30202 static PyTypeObject varlink_type
;
30203 static int type_init
= 0;
30205 const PyTypeObject tmp
30207 PyObject_HEAD_INIT(NULL
)
30208 0, /* Number of items in variable part (ob_size) */
30209 (char *)"swigvarlink", /* Type name (tp_name) */
30210 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30211 0, /* Itemsize (tp_itemsize) */
30212 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
30213 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30214 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30215 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30216 0, /* tp_compare */
30217 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30218 0, /* tp_as_number */
30219 0, /* tp_as_sequence */
30220 0, /* tp_as_mapping */
30223 (reprfunc
)swig_varlink_str
, /* tp_str */
30224 0, /* tp_getattro */
30225 0, /* tp_setattro */
30226 0, /* tp_as_buffer */
30228 varlink__doc__
, /* tp_doc */
30229 0, /* tp_traverse */
30231 0, /* tp_richcompare */
30232 0, /* tp_weaklistoffset */
30233 #if PY_VERSION_HEX >= 0x02020000
30234 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30236 #if PY_VERSION_HEX >= 0x02030000
30239 #ifdef COUNT_ALLOCS
30240 0,0,0,0 /* tp_alloc -> tp_next */
30243 varlink_type
= tmp
;
30244 varlink_type
.ob_type
= &PyType_Type
;
30247 return &varlink_type
;
30250 /* Create a variable linking object for use later */
30251 SWIGINTERN PyObject
*
30252 SWIG_Python_newvarlink(void) {
30253 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30257 return ((PyObject
*) result
);
30261 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30262 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30263 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30265 size_t size
= strlen(name
)+1;
30266 gv
->name
= (char *)malloc(size
);
30268 strncpy(gv
->name
,name
,size
);
30269 gv
->get_attr
= get_attr
;
30270 gv
->set_attr
= set_attr
;
30271 gv
->next
= v
->vars
;
30277 SWIGINTERN PyObject
*
30279 static PyObject
*_SWIG_globals
= 0;
30280 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
30281 return _SWIG_globals
;
30284 /* -----------------------------------------------------------------------------
30285 * constants/methods manipulation
30286 * ----------------------------------------------------------------------------- */
30288 /* Install Constants */
30290 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30293 for (i
= 0; constants
[i
].type
; ++i
) {
30294 switch(constants
[i
].type
) {
30295 case SWIG_PY_POINTER
:
30296 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30298 case SWIG_PY_BINARY
:
30299 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30306 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
30312 /* -----------------------------------------------------------------------------*/
30313 /* Fix SwigMethods to carry the callback ptrs when needed */
30314 /* -----------------------------------------------------------------------------*/
30317 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30318 swig_const_info
*const_table
,
30319 swig_type_info
**types
,
30320 swig_type_info
**types_initial
) {
30322 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30323 const char *c
= methods
[i
].ml_doc
;
30324 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30326 swig_const_info
*ci
= 0;
30327 const char *name
= c
+ 10;
30328 for (j
= 0; const_table
[j
].type
; ++j
) {
30329 if (strncmp(const_table
[j
].name
, name
,
30330 strlen(const_table
[j
].name
)) == 0) {
30331 ci
= &(const_table
[j
]);
30336 size_t shift
= (ci
->ptype
) - types
;
30337 swig_type_info
*ty
= types_initial
[shift
];
30338 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30339 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30340 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30343 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30345 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30347 strncpy(buff
, "swig_ptr: ", 10);
30349 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30350 methods
[i
].ml_doc
= ndoc
;
30362 /* -----------------------------------------------------------------------------*
30363 * Partial Init method
30364 * -----------------------------------------------------------------------------*/
30369 SWIGEXPORT
void SWIG_init(void) {
30372 /* Fix SwigMethods to carry the callback ptrs when needed */
30373 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30375 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30376 d
= PyModule_GetDict(m
);
30378 SWIG_InitializeModule(0);
30379 SWIG_InstallConstants(d
,swig_const_table
);
30382 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
30383 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
30384 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
30385 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
30386 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
30387 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
30388 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
30389 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
30390 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
30391 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
30392 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
30393 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
30394 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
30395 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
30396 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
30397 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
30398 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
30399 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
30400 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
30401 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
30402 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
30403 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
30404 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
30405 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
30406 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
30407 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
30408 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
30409 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
30410 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
30411 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
30412 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
30413 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
30414 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
30415 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
30416 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
30417 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
30418 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
30419 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
30420 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
30421 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
30422 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
30423 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
30424 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
30425 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
30426 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
30427 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
30428 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
30429 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
30430 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
30431 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
30432 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
30433 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
30434 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
30435 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
30436 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
30437 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
30438 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
30439 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
30440 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
30441 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
30442 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
30443 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
30444 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
30445 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
30446 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
30447 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
30448 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
30449 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
30450 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
30451 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
30452 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
30453 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
30454 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
30455 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
30456 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
30457 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
30458 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
30459 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
30460 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
30461 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
30462 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
30463 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
30464 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
30465 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
30466 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
30467 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
30468 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
30469 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
30470 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
30471 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
30472 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
30473 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
30474 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
30475 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
30476 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
30477 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
30478 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
30479 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
30480 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
30481 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
30482 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
30483 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
30484 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
30485 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
30486 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
30487 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
30488 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
30489 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
30490 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
30491 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
30492 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
30493 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
30494 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
30495 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
30496 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
30497 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
30498 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
30499 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
30500 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
30501 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
30502 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
30503 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
30504 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
30505 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
30506 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
30507 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
30508 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
30509 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
30510 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
30511 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
30513 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
30515 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
30516 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
30517 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
30518 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
30519 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
30520 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
30521 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
30522 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
30523 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
30524 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
30525 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
30526 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
30527 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
30528 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
30529 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
30530 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
30531 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
30532 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
30533 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
30534 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
30535 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
30536 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
30537 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
30538 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
30539 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
30540 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
30541 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
30542 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
30543 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
30544 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
30545 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
30546 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
30547 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
30548 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
30549 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
30550 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
30551 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
30552 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
30553 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
30554 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
30555 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
30556 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
30557 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
30558 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
30559 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
30560 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
30561 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
30562 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
30563 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
30564 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
30565 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
30566 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
30567 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
30568 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
30569 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
30570 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
30571 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
30572 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
30573 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
30574 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
30575 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
30576 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
30577 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
30578 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
30579 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
30580 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
30581 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
30582 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
30583 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
30584 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
30585 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
30586 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
30587 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
30588 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
30589 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
30590 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
30591 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
30592 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
30593 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
30594 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
30595 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
30596 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
30597 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
30598 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
30599 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
30600 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
30601 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
30602 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
30603 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
30604 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
30605 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
30606 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
30607 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
30608 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
30609 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
30610 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
30611 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
30612 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
30613 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
30614 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
30615 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
30616 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
30617 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
30618 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
30619 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
30620 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
30621 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
30622 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
30623 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
30624 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
30625 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
30626 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
30627 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
30628 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
30629 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
30630 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
30631 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
30632 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
30633 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
30634 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
30635 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
30636 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
30637 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
30638 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
30639 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
30640 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
30641 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
30642 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
30643 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
30644 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
30645 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
30646 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
30647 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
30648 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
30649 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
30650 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
30651 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
30652 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
30653 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
30654 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
30655 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
30656 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
30657 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
30658 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
30659 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
30660 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
30661 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
30662 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
30663 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
30664 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
30665 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
30666 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
30667 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
30668 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
30669 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
30670 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
30671 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
30672 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
30673 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
30674 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
30675 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
30676 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
30677 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
30678 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
30679 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
30680 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
30681 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
30682 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
30683 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
30684 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
30685 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
30686 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
30687 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
30688 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
30689 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
30690 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
30691 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
30692 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
30693 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
30694 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
30695 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
30696 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
30697 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
30698 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
30699 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
30700 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
30701 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
30702 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
30703 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
30704 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
30705 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
30706 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
30707 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
30708 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
30709 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
30710 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
30711 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
30712 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
30713 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
30714 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
30715 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
30716 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
30717 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
30718 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
30719 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
30720 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
30721 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
30722 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
30723 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
30724 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
30725 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
30726 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
30727 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
30728 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
30729 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
30730 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
30731 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
30732 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
30733 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
30734 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
30735 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
30736 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
30737 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
30738 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
30739 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
30740 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
30741 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
30742 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
30743 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
30744 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
30745 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
30746 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
30747 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
30748 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
30749 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
30750 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
30751 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
30752 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
30753 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
30754 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
30755 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
30756 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
30757 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
30758 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
30759 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
30760 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
30761 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
30762 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
30763 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
30764 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
30765 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
30766 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
30767 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
30768 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
30769 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
30770 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
30771 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
30772 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
30773 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
30774 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
30775 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
30776 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
30777 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
30778 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
30779 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
30780 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
30781 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
30782 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
30783 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
30784 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
30785 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
30786 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
30787 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
30788 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
30789 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
30790 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
30791 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
30792 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
30793 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
30794 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
30795 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
30796 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
30797 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
30798 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
30799 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
30800 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
30801 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
30802 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
30803 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
30804 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
30805 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
30806 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
30807 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
30808 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
30809 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
30810 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
30811 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
30812 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
30813 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
30814 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
30815 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
30816 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
30817 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
30818 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
30819 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
30820 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
30821 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
30822 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
30823 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
30824 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
30825 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
30826 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
30827 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
30828 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
30830 // Work around a chicken/egg problem in drawlist.cpp
30831 wxPyDrawList_SetAPIPtr();